diff options
author | Nir Dotan <nird@mellanox.com> | 2018-12-06 17:44:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-06 13:31:08 -0800 |
commit | da93d2913fdf43d5cde3c5a53ac9cc29684d5c7c (patch) | |
tree | f0f7e10c61165ba56de9332158f40ff4a2d5d810 /drivers/scsi/libsas/sas_internal.h | |
parent | f58a83c207b791c6586b9675a589db5c6ac7909e (diff) |
mlxsw: spectrum_router: Relax GRE decap matching check
GRE decap offload is configured when local routes prefix correspond to the
local address of one of the offloaded GRE tunnels. The matching check was
found to be too strict, such that for a flat GRE configuration, in which
the overlay and underlay traffic share the same non-default VRF, decap flow
was not offloaded.
Relax the check for decap flow offloading. A match occurs if the local
address of the tunnel matches the local route address while both share the
same VRF table.
Fixes: 4607f6d26950 ("mlxsw: spectrum_router: Support IPv4 underlay decap")
Signed-off-by: Nir Dotan <nird@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/libsas/sas_internal.h')
0 files changed, 0 insertions, 0 deletions