diff options
| author | Björn Töpel <bjorn.topel@intel.com> | 2020-08-25 13:35:56 +0200 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2020-09-14 09:45:35 -0700 |
| commit | 8cbf74149903382cf422c653d4ee8fb2f44e3ec8 (patch) | |
| tree | 021529c5a5361a96babba174b0588174f35bb79b /tools/perf/scripts/python | |
| parent | i40e: use 16B HW descriptors instead of 32B (diff) | |
| download | linux-8cbf74149903382cf422c653d4ee8fb2f44e3ec8.tar.gz linux-8cbf74149903382cf422c653d4ee8fb2f44e3ec8.zip | |
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 <bjorn.topel@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
