summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5.h
diff options
context:
space:
mode:
authorMoti Haimovsky <motih@mellanox.com>2019-07-01 12:34:22 +0300
committerFerruh Yigit <ferruh.yigit@intel.com>2019-07-05 01:52:02 +0200
commit5291c601bb93e8461ee0c51a6a3385d83825f88b (patch)
treea89a71feb97024e774a3fa95588f4ed8a229b7cd /drivers/net/mlx5/mlx5.h
parent8f0fa0c0adf5dac18641af89143eabea0662f5a2 (diff)
downloaddpdk-5291c601bb93e8461ee0c51a6a3385d83825f88b.zip
dpdk-5291c601bb93e8461ee0c51a6a3385d83825f88b.tar.gz
dpdk-5291c601bb93e8461ee0c51a6a3385d83825f88b.tar.xz
net/mlx5: remove TCF support
This commit removes the support of configuring the device E-switch using TCF since it is now possible to configure it via DR (direct verbs rules), and by that to also remove the PMD dependency in libmnl. Signed-off-by: Moti Haimovsky <motih@mellanox.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5.h')
-rw-r--r--drivers/net/mlx5/mlx5.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h
index aa88464..5af3f41 100644
--- a/drivers/net/mlx5/mlx5.h
+++ b/drivers/net/mlx5/mlx5.h
@@ -248,8 +248,6 @@ struct mlx5_drop {
struct mlx5_rxq_ibv *rxq; /* Verbs Rx queue. */
};
-struct mlx5_flow_tcf_context;
-
/* Per port data of shared IB device. */
struct mlx5_ibv_shared_port {
uint32_t ih_port_id;
@@ -393,7 +391,6 @@ struct mlx5_priv {
rte_spinlock_t uar_lock[MLX5_UAR_PAGE_NUM_MAX];
/* UAR same-page access control required in 32bit implementations. */
#endif
- struct mlx5_flow_tcf_context *tcf_context; /* TC flower context. */
};
#define PORT_ID(priv) ((priv)->dev_data->port_id)