net: Introduce L3 Master device abstraction

L3 master devices allow users of the abstraction to influence FIB lookups
for enslaved devices. Current API provides a means for the master device
to return a specific FIB table for an enslaved device, to return an
rtable/custom dst and influence the OIF used for fib lookups.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David Ahern
2015-09-29 20:07:11 -07:00
committed by David S. Miller
parent 007979eaf9
commit 1b69c6d0ae
8 changed files with 246 additions and 0 deletions

10
net/l3mdev/Kconfig Normal file
View File

@@ -0,0 +1,10 @@
#
# Configuration for L3 master device support
#
config NET_L3_MASTER_DEV
bool "L3 Master device support"
depends on INET || IPV6
---help---
This module provides glue between core networking code and device
drivers to support L3 master devices like VRF.