aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMaxime Chevallier <[email protected]>2018-10-05 07:04:40 +0000
committerDavid S. Miller <[email protected]>2018-10-05 21:52:43 +0000
commit35f3625c21852ad839f20c91c7d81c4c1101e207 (patch)
treeb6e41c36935045703f589f169f1f6a3554adc272 /tools/perf/scripts/python/event_analyzing_sample.py
parentipv6: take rcu lock in rawv6_send_hdrinc() (diff)
downloadkernel-35f3625c21852ad839f20c91c7d81c4c1101e207.tar.gz
kernel-35f3625c21852ad839f20c91c7d81c4c1101e207.zip
net: mvpp2: Extract the correct ethtype from the skb for tx csum offload
When offloading the L3 and L4 csum computation on TX, we need to extract the l3_proto from the ethtype, independently of the presence of a vlan tag. The actual driver uses skb->protocol as-is, resulting in packets with the wrong L4 checksum being sent when there's a vlan tag in the packet header and checksum offloading is enabled. This commit makes use of vlan_protocol_get() to get the correct ethtype regardless the presence of a vlan tag. Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375 network unit") Signed-off-by: Maxime Chevallier <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions