[dpdk-dev] [PATCH] net/mlx5: tunnel offload code cleanup
Gregory Etelson
getelson at nvidia.com
Tue Oct 27 17:12:26 CET 2020
Remove unused reference to rte_hash structure from PMD tunnel offload
code.
Signed-off-by: Gregory Etelson <getelson at nvidia.com>
---
drivers/net/mlx5/mlx5.h | 1 -
drivers/net/mlx5/mlx5_flow.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h
index 09026288fc..88bbd316f0 100644
--- a/drivers/net/mlx5/mlx5.h
+++ b/drivers/net/mlx5/mlx5.h
@@ -648,7 +648,6 @@ struct mlx5_dev_ctx_shared {
/* UAR same-page access control required in 32bit implementations. */
#endif
struct mlx5_hlist *flow_tbls;
- struct rte_hash *flow_tbl_map; /* app group-to-flow table map */
struct mlx5_flow_tunnel_hub *tunnel_hub;
/* Direct Rules tables for FDB, NIC TX+RX */
void *esw_drop_action; /* Pointer to DR E-Switch drop action. */
diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c
index 02e19e83ae..082d886c74 100644
--- a/drivers/net/mlx5/mlx5_flow.c
+++ b/drivers/net/mlx5/mlx5_flow.c
@@ -19,7 +19,6 @@
#include <rte_flow_driver.h>
#include <rte_malloc.h>
#include <rte_ip.h>
-#include <rte_hash.h>
#include <mlx5_glue.h>
#include <mlx5_devx_cmds.h>
--
2.28.0
More information about the dev
mailing list