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

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:47:14 +01:00
..
core RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string 2021-11-02 19:46:14 +01:00
hw RDMA/bnxt_re: Check if the vlan is valid before reporting 2021-11-26 10:47:14 +01:00
sw RDMA/rxe: Fix wrong port_cap_flags 2021-11-17 09:48:41 +01:00
ulp RDMA/ipoib: Fix warning caused by destroying non-initial netns 2021-06-16 11:59:44 +02:00
Kconfig
Makefile