diff options
author | Jiri Benc <jbenc@redhat.com> | 2016-11-10 16:28:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-13 00:51:02 -0500 |
commit | 91820da6ae85904d95ed53bf3a83f9ec44a6b80a (patch) | |
tree | 64557e9fd6e8514c3e6cf185d19977f2f3e13ee6 /net/openvswitch/vport-netdev.c | |
parent | 0a6410fbde597ebcf82dda4a0b0e889e82242678 (diff) | |
download | linux-91820da6ae85904d95ed53bf3a83f9ec44a6b80a.tar.gz linux-91820da6ae85904d95ed53bf3a83f9ec44a6b80a.tar.bz2 linux-91820da6ae85904d95ed53bf3a83f9ec44a6b80a.zip |
openvswitch: add Ethernet push and pop actions
It's not allowed to push Ethernet header in front of another Ethernet
header.
It's not allowed to pop Ethernet header if there's a vlan tag. This
preserves the invariant that L3 packet never has a vlan tag.
Based on previous versions by Lorand Jakab and Simon Horman.
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/vport-netdev.c')
0 files changed, 0 insertions, 0 deletions