Skip to content

Commit de2be98

Browse files
cjubranrleon
authored andcommitted
net/mlx5: Remove VLAN insertion fields from WQE Ether segment
Now that the driver no longer uses VLAN TX insertion via the WQE Ethernet segment, the related fields and flags can be removed. Signed-off-by: Carolina Jubran <cjubran@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/1757574619-604874-2-git-send-email-tariqt@nvidia.com Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Leon Romanovsky <leon@kernel.org>
1 parent ff97bc3 commit de2be98

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • include/linux/mlx5

include/linux/mlx5/qp.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,11 @@ enum {
237237
};
238238

239239
enum {
240-
MLX5_ETH_WQE_SVLAN = 1 << 0,
241240
MLX5_ETH_WQE_TRAILER_HDR_OUTER_IP_ASSOC = 1 << 26,
242241
MLX5_ETH_WQE_TRAILER_HDR_OUTER_L4_ASSOC = 1 << 27,
243242
MLX5_ETH_WQE_TRAILER_HDR_INNER_IP_ASSOC = 3 << 26,
244243
MLX5_ETH_WQE_TRAILER_HDR_INNER_L4_ASSOC = 1 << 28,
245244
MLX5_ETH_WQE_INSERT_TRAILER = 1 << 30,
246-
MLX5_ETH_WQE_INSERT_VLAN = 1 << 15,
247245
};
248246

249247
enum {
@@ -275,10 +273,6 @@ struct mlx5_wqe_eth_seg {
275273
DECLARE_FLEX_ARRAY(u8, data);
276274
};
277275
} inline_hdr;
278-
struct {
279-
__be16 type;
280-
__be16 vlan_tci;
281-
} insert;
282276
__be32 trailer;
283277
};
284278
};

0 commit comments

Comments
 (0)