[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1452111630-16322-1-git-send-email-hannes@stressinduktion.org>
Date: Wed, 6 Jan 2016 21:20:27 +0100
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
To: netdev@...r.kernel.org
Cc: jesse@...nel.org
Subject: [PATCH net-next v2 0/3] netdev: add netdev atomic callchain to avoid driver depending on vxlan/geneve
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists