mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
geneve: break dependency with netdev drivers
Equivalent to "vxlan: break dependency with netdev drivers", don't autoload geneve module in case the driver is loaded. Instead make the coupling weaker by using netdevice notifiers as proxy. Cc: Jesse Gross <jesse@kernel.org> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b7aade1548
commit
681e683ff3
3 changed files with 31 additions and 7 deletions
|
@ -2245,6 +2245,7 @@ struct netdev_lag_lower_state_info {
|
|||
#define NETDEV_PRECHANGEUPPER 0x001A
|
||||
#define NETDEV_CHANGELOWERSTATE 0x001B
|
||||
#define NETDEV_OFFLOAD_PUSH_VXLAN 0x001C
|
||||
#define NETDEV_OFFLOAD_PUSH_GENEVE 0x001D
|
||||
|
||||
int register_netdevice_notifier(struct notifier_block *nb);
|
||||
int unregister_netdevice_notifier(struct notifier_block *nb);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue