This small series adds a netdev_atomic notifier chain so that drivers can
callback to the core network stack requesting to reprogram the offloads
without depending on the geneve or vxlan modules.
* Result:
$ cd drivers/net/ethernet/
$ find . -name '*.ko' | xargs modinfo | egrep '^depends:.*(vxlan|geneve)' |
wc -l
0
Hannes Frederic Sowa (3):
netdev: add atomic netdev callback chain
vxlan: use netdev_atomic notifier chain to remove dependency from
drivers
geneve: use netdev_atomic notifier chain to remove dependency from
drivers
drivers/net/geneve.c | 30 +++++++++++++++++++++++++++---
drivers/net/vxlan.c | 35 ++++++++++++++++++++++++++++++-----
include/linux/netdevice.h | 10 ++++++++++
include/net/geneve.h | 6 ++----
include/net/vxlan.h | 6 ++----
net/core/dev.c | 24 ++++++++++++++++++++++++
6 files changed, 95 insertions(+), 16 deletions(-)
--
2.5.0
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html