[dpdk-dev] [PATCH] net/mlx5: tunnel offload code cleanup
Raslan Darawsheh
rasland at nvidia.com
Tue Oct 27 18:16:05 CET 2020
Hi,
> -----Original Message-----
> From: Gregory Etelson <getelson at nvidia.com>
> Sent: Tuesday, October 27, 2020 6:12 PM
> To: dev at dpdk.org
> Cc: Gregory Etelson <getelson at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Raslan Darawsheh <rasland at nvidia.com>; Eli Britstein
> <elibr at nvidia.com>; Oz Shlomo <ozsh at nvidia.com>; Shahaf Shuler
> <shahafs at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>
> Subject: [PATCH] net/mlx5: tunnel offload code cleanup
>
> Remove unused reference to rte_hash structure from PMD tunnel offload
> code.
>
Added missing fixes line:
Fixes: dc67aa65c698 ("net/mlx5: implement tunnel offload API")
> 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
Patch applied to next-net-mlx,
@ferruh.yigit at intel.com,
Can you kindly squash it into relevant commit in next-net ?
Kindest regards
Raslan Darawsheh
More information about the dev
mailing list