summaryrefslogtreecommitdiffstats
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-01-17 15:18:47 -0800
committerDavid S. Miller <davem@davemloft.net>2019-01-17 15:18:47 -0800
commit039d52e15e2a7340a30286dd196772f64fa25ed9 (patch)
treef65fddb7ccac1b9cb4de642a59935cfa2bd44107 /drivers/net/wan
parent12ff91c8bac0b4650f6bb60c4477bd33bbe74b07 (diff)
parent7e1046fd1fcb9e4450ff15c896c9e927fe9a823f (diff)
downloadlinux-039d52e15e2a7340a30286dd196772f64fa25ed9.tar.bz2
Merge branch 'vxlan-FDB-veto'
Petr Machata says: ==================== vxlan: Allow vetoing FDB operations mlxsw does not implement handling of the more advanced types of VXLAN FDB entries. In order to provide visibility to users, it is important to be able to reject such FDB entries, ideally with an explanation passed in extended ack. This patch set implements this. In patches #1-#4, vxlan is gradually transformed to support vetoing of FDB entries added (or modified) through vxlan_fdb_update(), and the default FDB entry added in __vxlan_dev_create(). Patches #5-#7 deal with vxlan_changelink(). The existing code recognizes that vxlan_fdb_update() may fail, but doesn't attempt to keep things intact if it does. These patches change the function in several steps to gracefully handle vetoes (or other failures). Then in patches #8-#11, extack arguments are added, respectively, to ndo_fdb_add(), mlxsw's mlxsw_sp_nve_ops.fdb_replay, the functions that connect to the VXLAN vetoing code, and call_switchdev_notifiers(). Note that call_switchdev_blocking_notifiers() already does support extack. Finally in patch #12, mlxsw is extended to add extack messages to rejected FDB entries. In patch #13, the functionality is tested. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan')
0 files changed, 0 insertions, 0 deletions