diff options
author | Mahesh Bandewar <maheshb@google.com> | 2017-10-26 15:09:25 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-29 18:39:57 +0900 |
commit | fe89aa6b250c1011ccf425fbb7998e96bd54263f (patch) | |
tree | 35d21de9cf2d9e240a999597379d040aa9d1397f /include/uapi/linux/if_link.h | |
parent | a190d04db93710ae166749055b6985397c6d13f5 (diff) | |
download | talos-obmc-linux-fe89aa6b250c1011ccf425fbb7998e96bd54263f.tar.gz talos-obmc-linux-fe89aa6b250c1011ccf425fbb7998e96bd54263f.zip |
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>
Diffstat (limited to 'include/uapi/linux/if_link.h')
-rw-r--r-- | include/uapi/linux/if_link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index 052e32cd584c..81f26473d728 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -479,6 +479,7 @@ enum ipvlan_mode { }; #define IPVLAN_F_PRIVATE 0x01 +#define IPVLAN_F_VEPA 0x02 /* VXLAN section */ enum { |