Revision df30f7408b187929dbde72661c7f7c615268f1d0 authored by pravin shelar on 26 December 2016, 16:31:27 UTC, committed by David S. Miller on 27 December 2016, 17:28:07 UTC
Networking stack accelerate vlan tag handling by
keeping topmost vlan header in skb. This works as
long as packet remains in OVS datapath. But during
OVS upcall vlan header is pushed on to the packet.
When such packet is sent back to OVS datapath, core
networking stack might not handle it correctly. Following
patch avoids this issue by accelerating the vlan tag
during flow key extract. This simplifies datapath by
bringing uniform packet processing for packets from
all code paths.

Fixes: 5108bbaddc ("openvswitch: add processing of L3 packets").
CC: Jarno Rajahalme <jarno@ovn.org>
CC: Jiri Benc <jbenc@redhat.com>
Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 56ab6b9
History
File Mode Size
internal
ablk_helper.h -rw-r--r-- 734 bytes
acompress.h -rw-r--r-- 7.8 KB
aead.h -rw-r--r-- 18.0 KB
aes.h -rw-r--r-- 1019 bytes
akcipher.h -rw-r--r-- 11.5 KB
algapi.h -rw-r--r-- 10.1 KB
authenc.h -rw-r--r-- 845 bytes
b128ops.h -rw-r--r-- 2.4 KB
blowfish.h -rw-r--r-- 376 bytes
cast5.h -rw-r--r-- 551 bytes
cast6.h -rw-r--r-- 597 bytes
cast_common.h -rw-r--r-- 193 bytes
cbc.h -rw-r--r-- 3.5 KB
chacha20.h -rw-r--r-- 642 bytes
cryptd.h -rw-r--r-- 2.5 KB
crypto_wq.h -rw-r--r-- 122 bytes
ctr.h -rw-r--r-- 524 bytes
des.h -rw-r--r-- 503 bytes
dh.h -rw-r--r-- 2.6 KB
drbg.h -rw-r--r-- 9.0 KB
ecdh.h -rw-r--r-- 2.7 KB
engine.h -rw-r--r-- 4.0 KB
gf128mul.h -rw-r--r-- 7.9 KB
ghash.h -rw-r--r-- 342 bytes
hash.h -rw-r--r-- 30.8 KB
hash_info.h -rw-r--r-- 1.1 KB
if_alg.h -rw-r--r-- 2.5 KB
kpp.h -rw-r--r-- 9.2 KB
lrw.h -rw-r--r-- 1.2 KB
mcryptd.h -rw-r--r-- 2.3 KB
md5.h -rw-r--r-- 458 bytes
null.h -rw-r--r-- 530 bytes
padlock.h -rw-r--r-- 649 bytes
pcrypt.h -rw-r--r-- 1.4 KB
pkcs7.h -rw-r--r-- 1.2 KB
poly1305.h -rw-r--r-- 977 bytes
public_key.h -rw-r--r-- 1.7 KB
rng.h -rw-r--r-- 6.6 KB
scatterwalk.h -rw-r--r-- 3.7 KB
serpent.h -rw-r--r-- 673 bytes
sha.h -rw-r--r-- 2.8 KB
sha1_base.h -rw-r--r-- 2.5 KB
sha256_base.h -rw-r--r-- 3.0 KB
sha3.h -rw-r--r-- 665 bytes
sha512_base.h -rw-r--r-- 3.2 KB
skcipher.h -rw-r--r-- 19.6 KB
twofish.h -rw-r--r-- 716 bytes
vmac.h -rw-r--r-- 2.1 KB
xts.h -rw-r--r-- 1.8 KB

back to top