aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMaciej Fijalkowski <[email protected]>2019-10-24 01:11:23 -0700
committerJeff Kirsher <[email protected]>2019-11-04 13:09:50 -0800
commit59bb08080557589aaf577a99d329ccea38b55c95 (patch)
tree77a74a96f80a5efa89ac3b70f08d018de8a5880b /tools/perf/scripts/python
parent7237f5b0dba443756e190bdbecd83f9b1377a912 (diff)
ice: introduce frame padding computation logic
Take into account the underlying architecture specific settings and based on that calculate the possible padding that can be supplied. Typically, for x86 and standard MTU size we will end up with 192 bytes of headroom. This is the same behavior as our other drivers have and we can dedicate it for XDP purposes. Furthermore, introduce the Rx ring flag for indicating whether build_skb is used on particular. Based on that invoke the routines for padding calculation. Signed-off-by: Maciej Fijalkowski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions