net/mlx5e: Drop cqe_bcnt32 from mlx5e_skb_from_cqe_mpwrq_linear
authorMaxim Mikityanskiy <maximmi@nvidia.com>
Mon, 14 Feb 2022 18:57:56 +0000 (20:57 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 17 Mar 2022 18:51:56 +0000 (11:51 -0700)
commit998923932f13d5694a0b6e73f9a350cc6949ac2f
treeee57b84f4c4c83fdff24e231e3f35f8e282ba1db
parent064990d0b65fd99c6fb59006f928a8b631db5816
net/mlx5e: Drop cqe_bcnt32 from mlx5e_skb_from_cqe_mpwrq_linear

The packet size in mlx5e_skb_from_cqe_mpwrq_linear can't overflow u16,
since the maximum packet size in linear striding RQ is 2^13 bytes. Drop
the unneeded u32 variable.

Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c