vxlan: add new fdb alloc and create helpers
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Fri, 20 Jul 2018 20:21:02 +0000 (13:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jul 2018 17:52:37 +0000 (10:52 -0700)
commit7431016b107c95cb5b2014aa1901fcb115f746bc
treeee1a1c54f2e5cc8c75238c863a6600db583adcc7
parent5025f7f7d506fba9b39e7fe8ca10f6f34cb9bc2d
vxlan: add new fdb alloc and create helpers

- Add new vxlan_fdb_alloc helper
- rename existing vxlan_fdb_create into vxlan_fdb_update:
        because it really creates or updates an existing
        fdb entry
- move new fdb creation into a separate vxlan_fdb_create

Main motivation for this change is to introduce the ability
to decouple vxlan fdb creation and notify, used in a later patch.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c