]> 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)
commit93b7b3be269d021210fa049a335c707472a93b23
tree613005c07e9fbaac55946ebc6063024c5dc1bc52
parentb39f7c9aa6fb3163f5ffd38588031456bfec5cbd
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