linux/drivers/infiniband
Selvin Xavier dcd6eefcee RDMA/bnxt_re: Check if the vlan is valid before reporting
[ Upstream commit 6bda39149d ]

When VF is configured with default vlan, HW strips the vlan from the
packet and driver receives it in Rx completion. VLAN needs to be reported
for UD work completion only if the vlan is configured on the host. Add a
check for valid vlan in the UD receive path.

Link: https://lore.kernel.org/r/1631709163-2287-12-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 10:39:08 +01:00
..
core RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string 2021-11-02 19:48:22 +01:00
hw RDMA/bnxt_re: Check if the vlan is valid before reporting 2021-11-26 10:39:08 +01:00
sw RDMA/rxe: Fix wrong port_cap_flags 2021-11-18 14:04:14 +01:00
ulp IB/isert: Align target max I/O size to initiator size 2021-07-19 09:44:53 +02:00
Kconfig RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 2020-11-12 13:27:41 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00