switchdev: Add extack argument to call_switchdev_notifiers()
A follow-up patch will enable vetoing of FDB entries. Make it possible to communicate details of why an FDB entry is not acceptable back to the user. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
4c59b7d160
commit
6685987c29
@@ -196,7 +196,7 @@ The switch device will learn/forget source MAC address/VLAN on ingress packets
|
||||
and notify the switch driver of the mac/vlan/port tuples. The switch driver,
|
||||
in turn, will notify the bridge driver using the switchdev notifier call:
|
||||
|
||||
err = call_switchdev_notifiers(val, dev, info);
|
||||
err = call_switchdev_notifiers(val, dev, info, extack);
|
||||
|
||||
Where val is SWITCHDEV_FDB_ADD when learning and SWITCHDEV_FDB_DEL when
|
||||
forgetting, and info points to a struct switchdev_notifier_fdb_info. On
|
||||
|
Reference in New Issue
Block a user