vxlan: Expose vxlan_xmit_one()
authorIdo Schimmel <idosch@nvidia.com>
Wed, 15 Mar 2023 13:11:50 +0000 (15:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Mar 2023 08:05:49 +0000 (08:05 +0000)
commit6ab271aaad25351ea8587d67c6837678b875eb2c
tree34032d821602d47d33328734252b14cfedf40a3d
parentf307c8bf37a346ed3e8b6090b64b4ca8d61e1bcd
vxlan: Expose vxlan_xmit_one()

Given a packet and a remote destination, the function will take care of
encapsulating the packet and transmitting it to the destination.

Expose it so that it could be used in subsequent patches by the MDB code
to transmit a packet to the remote destination(s) stored in the MDB
entry.

It will allow us to keep the MDB code self-contained, not exposing its
data structures to the rest of the VXLAN driver.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan/vxlan_core.c
drivers/net/vxlan/vxlan_private.h