summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorSelvin Xavier <selvin.xavier@broadcom.com>2019-07-15 05:19:13 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-06 19:08:20 +0200
commitc6d57e4e2821522e524b7404355f65756f8edaab (patch)
tree89969dd397fc73179fc12caccd7cb9f2f88fa405 /include/rdma
parent946c3d239f32820b0d08f82d4f86b4873c0456fe (diff)
downloadlinux-stable-c6d57e4e2821522e524b7404355f65756f8edaab.tar.gz
linux-stable-c6d57e4e2821522e524b7404355f65756f8edaab.tar.bz2
linux-stable-c6d57e4e2821522e524b7404355f65756f8edaab.zip
RDMA/bnxt_re: Honor vlan_id in GID entry comparison
commit c56b593d2af4cbd189c6af5fd6790728fade80cc upstream. 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: 823b23da7113 ("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions