aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorMichael Chan <[email protected]>2023-11-13 16:16:21 -0800
committerDavid S. Miller <[email protected]>2023-11-15 10:07:40 +0000
commitc1056a59aee1d352c7113c2cba4d214bf5f195af (patch)
tree16fc4e7a3632b24d004e040fd557152ce754a2d7 /tools/perf/scripts/python/intel-pt-events.py
parentba098017791eb8a0782b373d4cee0d82eb2f660e (diff)
bnxt_en: Optimize xmit_more TX path
Now that we use the cumulative consumer index scheme for TX completion, we don't need to have one TX completion per TX packet in the xmit_more code path. Set the TX_BD_FLAGS_NO_CMPL flag if xmit_more is true. Fallback to one interrupt per packet if the ring is filled beyond bp->tx_wake_thresh. Also, move the wmb() to bnxt_txr_db_kick(). When xmit_more is true, we'll skip the bnxt_txr_db_kick() call and there is no need to call wmb() to sync. the TX BD data. Reviewed-by: Somnath Kotur <[email protected]> Reviewed-by: Pavan Chebbi <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions