diff options
author | Jiri Pirko <jiri@mellanox.com> | 2018-11-13 23:22:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-16 19:51:08 -0800 |
commit | 32764c66faba8fff950346776eb46801b67c610f (patch) | |
tree | 47026733b2c5c8b35ece9a4dfb195f4103ad2683 /net/8021q/vlan_dev.c | |
parent | 99310e732a75c40fc9843f52b306fc9943bcce9d (diff) | |
download | linux-32764c66faba8fff950346776eb46801b67c610f.tar.gz linux-32764c66faba8fff950346776eb46801b67c610f.tar.bz2 linux-32764c66faba8fff950346776eb46801b67c610f.zip |
net: 8021q: move vlan offload registrations into vlan_core
Currently, the vlan packet offloads are registered only upon 8021q module
load. However, even without this module loaded, the offloads could be
utilized, for example by openvswitch datapath. As reported by Michael,
that causes 2x to 5x performance improvement, depending on a testcase.
So move the vlan offload registrations into vlan_core and make this
available even without 8021q module loaded.
Reported-by: Michael Shteinbok <michaelsh86@gmail.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Tested-by: Michael Shteinbok <michaelsh86@gmail.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan_dev.c')
0 files changed, 0 insertions, 0 deletions