]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: Export address checking functions
authorIdo Schimmel <idosch@mellanox.com>
Wed, 17 Oct 2018 08:53:10 +0000 (08:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2018 00:45:07 +0000 (17:45 -0700)
commitf31cf6ee1efe35d637380ad22ff9ca36d5c58085
tree613005c07e9fbaac55946ebc6063024c5dc1bc52
parent1defa7cbf2dd3feea1745181dd3f900aae990762
vxlan: Export address checking functions

Drivers that support VxLAN offload need to be able to sanitize the
configuration of the VxLAN device and accept / reject its offload.

For example, mlxsw requires that the local IP of the VxLAN device be set
and that packets be flooded to unicast IP(s) and not to a multicast
group.

Expose the functions that perform such checks.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
include/net/vxlan.h