linux-stable/drivers/infiniband/hw/bnxt_re
Selvin Xavier c56b593d2a RDMA/bnxt_re: Honor vlan_id in GID entry comparison
A GID entry consists of GID, vlan, netdev and smac.  Extend GID duplicate
check comparisons to consider vlan_id as well to support IPv6 VLAN based
link local addresses. Introduce a new structure (bnxt_qplib_gid_info) to
hold gid and vlan_id information.

The issue is discussed in the following thread
https://lore.kernel.org/r/AM0PR05MB4866CFEDCDF3CDA1D7D18AA5D1F20@AM0PR05MB4866.eurprd05.prod.outlook.com

Fixes: 823b23da71 ("IB/core: Allow vlan link local address based RoCE GIDs")
Cc: <stable@vger.kernel.org> # v5.2+
Link: https://lore.kernel.org/r/20190715091913.15726-1-selvin.xavier@broadcom.com
Reported-by: Yi Zhang <yi.zhang@redhat.com>
Co-developed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Tested-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-07-22 15:04:04 -03:00
..
bnxt_re.h RDMA/bnxt_re: Add chip context to identify 57500 series 2019-02-07 13:24:48 -07:00
hw_counters.c RDMA/bnxt_re: Report out of sequence hw counters 2018-10-16 00:03:50 -06:00
hw_counters.h RDMA/bnxt_re: Report out of sequence hw counters 2018-10-16 00:03:50 -06:00
ib_verbs.c RDMA/bnxt_re: Honor vlan_id in GID entry comparison 2019-07-22 15:04:04 -03:00
ib_verbs.h RDMA: Convert CQ allocations to be under core responsibility 2019-06-11 16:39:49 -04:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
main.c RDMA: Convert CQ allocations to be under core responsibility 2019-06-11 16:39:49 -04:00
Makefile infiniband: prefix header search paths with $(srctree)/ 2019-01-25 15:28:50 -07:00
qplib_fp.c RDMA: Handle SRQ allocations by IB/core 2019-04-08 13:05:25 -03:00
qplib_fp.h RDMA: Handle SRQ allocations by IB/core 2019-04-08 13:05:25 -03:00
qplib_rcfw.c RDMA/bnxt_re: Use correct sizing on buffers holding page DMA addresses 2019-03-28 14:13:27 -03:00
qplib_rcfw.h RDMA/bnxt_re: Add 64bit doorbells for 57500 series 2019-02-07 13:24:48 -07:00
qplib_res.c RDMA/bnxt_re: Honor vlan_id in GID entry comparison 2019-07-22 15:04:04 -03:00
qplib_res.h RDMA/bnxt_re: Honor vlan_id in GID entry comparison 2019-07-22 15:04:04 -03:00
qplib_sp.c RDMA/bnxt_re: Honor vlan_id in GID entry comparison 2019-07-22 15:04:04 -03:00
qplib_sp.h RDMA/bnxt_re: Honor vlan_id in GID entry comparison 2019-07-22 15:04:04 -03:00
roce_hsi.h RDMA/bnxt_re: Add extended psn structure for 57500 adapters 2019-02-07 13:24:48 -07:00