]> 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)
commit1191aaef5cfd832149baffcc4001d1f1dd651dda
tree83a344b9c8954008b590f68d45df069b8afa013d
parent1a47ff53357b7feb9c4073760f09c7ababa626f7
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