diff options
author | Selvin Xavier <[email protected]> | 2019-07-15 05:19:13 -0400 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-07-22 15:04:04 -0300 |
commit | c56b593d2af4cbd189c6af5fd6790728fade80cc (patch) | |
tree | 7387d26a061e0b432dfc456a068fe84525bf7dff /net/switchdev/switchdev.c | |
parent | f4d46119f214f9a7620b0d18b153d7e0e8c90b4f (diff) |
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: 823b23da7113 ("IB/core: Allow vlan link local address based RoCE GIDs")
Cc: <[email protected]> # v5.2+
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Yi Zhang <[email protected]>
Co-developed-by: Parav Pandit <[email protected]>
Signed-off-by: Parav Pandit <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Tested-by: Yi Zhang <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions