diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2018-08-10 09:12:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-11 12:11:36 -0700 |
commit | 63ae7949e94aad607c24d00b8ce3f5661c0a1e9d (patch) | |
tree | 7be4a38062a08e091631a1ad2ec9d2e962bf3b9b /tools/perf/scripts/python/intel-pt-events.py | |
parent | 78aca3bbee880ea4d6f30d603c057058b03bdc77 (diff) |
net: socionext: Use descriptor info instead of MMIO reads on Rx
MMIO reads for remaining packets in queue occur (at least)twice per
invocation of netsec_process_rx(). We can use the packet descriptor to
identify if it's owned by the hardware and break out, avoiding the more
expensive MMIO read operations. This has a ~2% increase on the pps of the
Rx path when tested with 64byte packets
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions