[dpdk-dev] [PATCH v8 2/3] net/ice: change one member type of the pattern structure

Ye Xiaolong xiaolong.ye at intel.com
Mon Oct 21 16:16:21 CEST 2019


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 at 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 at intel.com>


More information about the dev mailing list