diff options
author | Alexander Lobakin <alobakin@pm.me> | 2021-03-18 18:42:34 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-18 19:51:12 -0700 |
commit | 4a6e7ec93a602b1e386704aeb0ce76bfc1ba8030 (patch) | |
tree | a0ec1b5cbf18e9d0a1b906ba522e84490f3bd3a5 /net/ethernet | |
parent | 86af2c82c28499b4b509d6b15637a96bd829201b (diff) |
vlan/8021q: avoid retpoline overhead on GRO
The two most popular headers going after VLAN are IPv4 and IPv6.
Retpoline overhead for them is addressed only in dev_gro_receive(),
when they lie right after the outermost Ethernet header.
Use the indirect call wrappers in VLAN GRO receive code to reduce
the penalty on receiving tagged frames (when hardware stripping is
off or not available).
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions