aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/common.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2022-11-09 09:57:59 +0000
committerJakub Kicinski <[email protected]>2022-11-12 02:18:05 +0000
commitbe3ed48683f0d7ed808783fd7d919459b58b5b6b (patch)
tree542a8919dcb1b09d58af22b33bb805435420e18a /tools/bpf/bpftool/common.c
parentnet: remove skb->vlan_present (diff)
downloadkernel-be3ed48683f0d7ed808783fd7d919459b58b5b6b.tar.gz
kernel-be3ed48683f0d7ed808783fd7d919459b58b5b6b.zip
net: gro: no longer use skb_vlan_tag_present()
We can remove a conditional test in gro_list_prepare() by comparing vlan_all fields of the two skbs. Notes: While comparing the vlan_proto is not strictly needed, because part of the following compare_ether_header() call, using 32bit word is actually faster than using 16bit values. napi_reuse_skb() makes sure to clear skb->vlan_all, as it already calls __vlan_hwaccel_clear_tag() Signed-off-by: Eric Dumazet <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/common.c')
0 files changed, 0 insertions, 0 deletions