]> git.baikalelectronics.ru Git - kernel.git/commit
ipvlan: implement VEPA mode
authorMahesh Bandewar <maheshb@google.com>
Thu, 26 Oct 2017 22:09:25 +0000 (15:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Oct 2017 09:39:57 +0000 (18:39 +0900)
commit3da0ab1d12813617e688b23341e3e179d108b8b0
tree35d21de9cf2d9e240a999597379d040aa9d1397f
parentdf04cf47c4493e29edbc512249887ea0fe711cb2
ipvlan: implement VEPA mode

This is very similar to the Macvlan VEPA mode, however, there is some
difference. IPvlan uses the mac-address of the lower device, so the VEPA
mode has implications of ICMP-redirects for packets destined for its
immediate neighbors sharing same master since the packets will have same
source and dest mac. The external switch/router will send redirect msg.

Having said that, this will be useful tool in terms of debugging
since IPvlan will not switch packets within its slaves and rely completely
on the external entity as intended in 802.1Qbg.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ipvlan.txt
drivers/net/ipvlan/ipvlan.h
drivers/net/ipvlan/ipvlan_core.c
drivers/net/ipvlan/ipvlan_main.c
include/uapi/linux/if_link.h