diff options
author | Mike Marciniszyn <[email protected]> | 2021-09-13 09:28:42 -0400 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2021-09-27 20:06:42 -0300 |
commit | f5dc70a0e1420fa95c9f3f0dd65e27a89a5c787d (patch) | |
tree | b0c33bbdec2b53646d5bcb98a605ee7ed6c059a4 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | a7125869b2c3f495666bccb7c58567eddffaef59 (diff) |
IB/hfi1: Tune netdev xmit cachelines
This patch moves fields in the ring and creates a line for the producer
and the consumer.
The adds a consumer side variable that tracks the ring avail so that the
code doesn't have the read the other cacheline to get a count for every
packet. A read now only occurs when the avail is at 0.
Fixes: d99dc602e2a5 ("IB/hfi1: Add functions to transmit datagram ipoib packets")
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions