[v8,2/3] net/ice: change one member type of the pattern structure
Checks
Commit Message
This patch changes a variable type from uint64_t to void pointer
to avoid compilation issues for converting a point to uint64_t
in i686 environment.
Signed-off-by: Simei Su <simei.su@intel.com>
---
drivers/net/ice/ice_generic_flow.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 10/21, Simei Su wrote:
>This patch changes a variable type from uint64_t to void pointer
>to avoid compilation issues for converting a point to uint64_t
>in i686 environment.
>
>Signed-off-by: Simei Su <simei.su@intel.com>
>---
> drivers/net/ice/ice_generic_flow.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/net/ice/ice_generic_flow.h b/drivers/net/ice/ice_generic_flow.h
>index 098a687..b6e4ed0 100644
>--- a/drivers/net/ice/ice_generic_flow.h
>+++ b/drivers/net/ice/ice_generic_flow.h
>@@ -411,7 +411,7 @@ struct ice_pattern_match_item {
> enum rte_flow_item_type *pattern_list;
> /* pattern_list must end with RTE_FLOW_ITEM_TYPE_END */
> uint64_t input_set_mask;
>- uint64_t meta;
>+ void *meta;
> };
>
> typedef int (*engine_init_t)(struct ice_adapter *ad);
>--
>1.8.3.1
>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
On 10/21/2019 1:06 PM, Simei Su wrote:
> This patch changes a variable type from uint64_t to void pointer
> to avoid compilation issues for converting a point to uint64_t
> in i686 environment.
>
> Signed-off-by: Simei Su <simei.su@intel.com>
Squashed into relevant commit in next-net, thanks.
@@ -411,7 +411,7 @@ struct ice_pattern_match_item {
enum rte_flow_item_type *pattern_list;
/* pattern_list must end with RTE_FLOW_ITEM_TYPE_END */
uint64_t input_set_mask;
- uint64_t meta;
+ void *meta;
};
typedef int (*engine_init_t)(struct ice_adapter *ad);