aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-11-27 22:24:52 -0800
committerDavid S. Miller <[email protected]>2018-11-30 13:30:44 -0800
commitd7cc8252252f9e5b72975a3d498ba2ee08245740 (patch)
tree968d6a3c8be538cc37c1d59d1b685a8eb1227b59 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentb54ad0eaad8e5defcc48b224a7c7deb3f162cb99 (diff)
nfp: avoid oversized TSO headers with metadata prepend
In preparation for TSO over representors make sure the port id prepend will always fit in the frame. The current max header length is 255, which is ample, so assume worst case scenario of 8 byte prepend and save ourselves the conditionals. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Dirk van der Merwe <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions