]> 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)
commit43feadf4b55ad7716f0395cc41538ea8d62e3ee8
tree35d21de9cf2d9e240a999597379d040aa9d1397f
parent5e8cdb3e794cffc51127dfc928576c28c604ce3a
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