diff options
| author | Björn Töpel <[email protected]> | 2020-08-25 13:35:56 +0200 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2020-09-14 09:45:35 -0700 |
| commit | 8cbf74149903382cf422c653d4ee8fb2f44e3ec8 (patch) | |
| tree | 021529c5a5361a96babba174b0588174f35bb79b /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f0064bfd969bea0d65ef20d191bea8b7494b4ec8 (diff) | |
i40e, xsk: move buffer allocation out of the Rx processing loop
Instead of checking in each iteration of the Rx packet processing
loop, move the allocation out of the loop and do it once for each napi
activation.
For AF_XDP the rx_drop benchmark was improved by 6%.
Signed-off-by: Björn Töpel <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions