aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYevgeny Kliteynik <kliteyn@nvidia.com>2021-03-23 03:08:56 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-05-27 11:54:37 -0700
commitb72ce870f57ea7ddd1c03b000b31bb20ab52f44b (patch)
tree7b97d608b9cb983da6799170f6f89c20f1de6f73
parentnet/mlx5e: RX, Remove unnecessary check in RX CQE compression handling (diff)
downloadlinux-dev-b72ce870f57ea7ddd1c03b000b31bb20ab52f44b.tar.xz
linux-dev-b72ce870f57ea7ddd1c03b000b31bb20ab52f44b.zip
net/mlx5: DR, Remove unused field of send_ring struct
Remove unused field of struct mlx5dr_send_ring Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h b/drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h
index 67460c42a99b..7600004d79a8 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h
@@ -1252,7 +1252,6 @@ struct mlx5dr_send_ring {
u32 tx_head;
void *buf;
u32 buf_size;
- struct ib_wc wc[MAX_SEND_CQE];
u8 sync_buff[MIN_READ_SYNC];
struct mlx5dr_mr *sync_mr;
spinlock_t lock; /* Protect the data path of the send ring */