summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5.h
diff options
context:
space:
mode:
authorOri Kam <orika@mellanox.com>2019-05-01 20:40:45 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2019-05-03 18:45:23 +0200
commitd1e64fbf6345cc74cd016f8fe152393ed72c39e2 (patch)
treeefd065b3c374288baf774f65466d3846085b0c7a /drivers/net/mlx5/mlx5.h
parent9cc42c58931a428a94e9adf7019eb97faa8fddb1 (diff)
downloaddpdk-d1e64fbf6345cc74cd016f8fe152393ed72c39e2.zip
dpdk-d1e64fbf6345cc74cd016f8fe152393ed72c39e2.tar.gz
dpdk-d1e64fbf6345cc74cd016f8fe152393ed72c39e2.tar.xz
net/mlx5: fix Direct Rules API
The RDMA-CORE Direct Rules API was changed in latest upstream code This commit update the API accordingly. Fixes: 4f84a19779ca ("net/mlx5: add Direct Rules API") Signed-off-by: Ori Kam <orika@mellanox.com> Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5.h')
-rw-r--r--drivers/net/mlx5/mlx5.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h
index 82fcb29..3eaaafd 100644
--- a/drivers/net/mlx5/mlx5.h
+++ b/drivers/net/mlx5/mlx5.h
@@ -288,13 +288,13 @@ struct mlx5_ibv_shared {
/* Shared DV/DR flow data section. */
pthread_mutex_t dv_mutex; /* DV context mutex. */
uint32_t dv_refcnt; /* DV/DR data reference counter. */
- void *fdb_ns; /* FDB Direct Rules name space handle. */
+ void *fdb_domain; /* FDB Direct Rules name space handle. */
struct mlx5_flow_tbl_resource fdb_tbl[MLX5_MAX_TABLES_FDB];
/* FDB Direct Rules tables. */
- void *rx_ns; /* RX Direct Rules name space handle. */
+ void *rx_domain; /* RX Direct Rules name space handle. */
struct mlx5_flow_tbl_resource rx_tbl[MLX5_MAX_TABLES];
/* RX Direct Rules tables. */
- void *tx_ns; /* TX Direct Rules name space handle. */
+ void *tx_domain; /* TX Direct Rules name space handle. */
struct mlx5_flow_tbl_resource tx_tbl[MLX5_MAX_TABLES];
void *esw_drop_action; /* Pointer to DR E-Switch drop action. */
/* TX Direct Rules tables/ */