summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimei Su <simei.su@intel.com>2019-10-21 20:06:51 +0800
committerXiaolong Ye <xiaolong.ye@intel.com>2019-10-21 22:18:00 +0800
commit3a9e4e425ec04673074d2a710952ff0c2e9e4dce (patch)
treeef28cb5d6aa663af8ed6b378627a3221fb508a3d
parentc7a7887eff15ccc09b3960095f178b551c86bec1 (diff)
downloaddpdk-next-net-intel-3a9e4e425ec04673074d2a710952ff0c2e9e4dce.zip
dpdk-next-net-intel-3a9e4e425ec04673074d2a710952ff0c2e9e4dce.tar.gz
dpdk-next-net-intel-3a9e4e425ec04673074d2a710952ff0c2e9e4dce.tar.xz
net/ice: change one member type of the pattern structure
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> Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
-rw-r--r--drivers/net/ice/ice_generic_flow.h2
1 files changed, 1 insertions, 1 deletions
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);