summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDekel Peled <dekelp@mellanox.com>2019-08-13 17:07:24 +0300
committerFerruh Yigit <ferruh.yigit@intel.com>2019-09-06 17:15:14 +0200
commit48c91c8f3fc7edb3e90eef682d535af294ed7eec (patch)
tree1f5858c2d07b74ca7ec8bb318b30e10a2ba72ef1
parent725a4284f7fc9272d929e1df63185a68597012c3 (diff)
downloaddpdk-next-eventdev-48c91c8f3fc7edb3e90eef682d535af294ed7eec.zip
dpdk-next-eventdev-48c91c8f3fc7edb3e90eef682d535af294ed7eec.tar.gz
dpdk-next-eventdev-48c91c8f3fc7edb3e90eef682d535af294ed7eec.tar.xz
net/mlx5: fix comment
In struct mlx5_ibv_shared, member esw_drop_action was added between existing member tx_tbl and the comment line describing it. This patch moves the comment line to its original location, and fixes a typo in the comment. Fixes: 34fa7c0268e7 ("net/mlx5: add drop action to Direct Verbs E-Switch") Cc: stable@dpdk.org Signed-off-by: Dekel Peled <dekelp@mellanox.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
-rw-r--r--drivers/net/mlx5/mlx5.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h
index f559f83..1f279dc 100644
--- a/drivers/net/mlx5/mlx5.h
+++ b/drivers/net/mlx5/mlx5.h
@@ -569,8 +569,8 @@ struct mlx5_ibv_shared {
/* RX Direct Rules tables. */
void *tx_domain; /* TX Direct Rules name space handle. */
struct mlx5_flow_tbl_resource tx_tbl[MLX5_MAX_TABLES];
+ /* TX Direct Rules tables. */
void *esw_drop_action; /* Pointer to DR E-Switch drop action. */
- /* TX Direct Rules tables/ */
LIST_HEAD(matchers, mlx5_flow_dv_matcher) matchers;
LIST_HEAD(encap_decap, mlx5_flow_dv_encap_decap_resource) encaps_decaps;
LIST_HEAD(modify_cmd, mlx5_flow_dv_modify_hdr_resource) modify_cmds;