summaryrefslogtreecommitdiff
path: root/net/ethernet
diff options
context:
space:
mode:
authorAlexander Lobakin <alobakin@pm.me>2021-03-18 18:42:34 +0000
committerDavid S. Miller <davem@davemloft.net>2021-03-18 19:51:12 -0700
commit4a6e7ec93a602b1e386704aeb0ce76bfc1ba8030 (patch)
treea0ec1b5cbf18e9d0a1b906ba522e84490f3bd3a5 /net/ethernet
parent86af2c82c28499b4b509d6b15637a96bd829201b (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