]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_nve_vxlan: Make VxLAN flags check per address family
authorAmit Cohen <amcohen@nvidia.com>
Tue, 14 Dec 2021 14:25:46 +0000 (16:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Dec 2021 15:05:44 +0000 (15:05 +0000)
commit394d2649e77dbf63c9e9bcee2e35579abad11571
tree83a344b9c8954008b590f68d45df069b8afa013d
parent25c386006c0a8c00109d31ff5a3c132b6c6e9316
mlxsw: spectrum_nve_vxlan: Make VxLAN flags check per address family

As part of 'can_offload' checks, there is a check of VxLAN flags.

The supported flags for IPv6 VxLAN will be different from the existing
flags because of some limitations.

As preparation for IPv6 underlay support, make this check per address
family.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_nve_vxlan.c