aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorNick Child <[email protected]>2024-08-07 16:18:04 -0500
committerJakub Kicinski <[email protected]>2024-08-09 22:09:18 -0700
commitb41b45ecee6ba74bd590b113be9f349c6b818b46 (patch)
tree322c70aada747f5a0cd7916d290d632b2c55067a /tools/perf/scripts/python/futex-contention.py
parentdda10fc801a9d81829e624ef75ecdfc94f39b310 (diff)
ibmvnic: Use header len helper functions on tx
Use the header length helper functions rather than trying to calculate it within the driver. There are defined functions for mac and network headers (skb_mac_header_len and skb_network_header_len) but no such function exists for the transport header length. Also, hdr_data was memset during allocation to all 0's so no need to memset again. Signed-off-by: Nick Child <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions