Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bnxt_re/lib: Doorbell moderation in poll_cq
Lib needs to ring CQ doorbell to update the consumer index. Reducing the number of DBs can help in the round trip latency time measured by the benchmark tools. This patch aims to reduce the CQ DBs in the data path. This patch ring the doorbell only once the CQ is half occupied. So for a queue of size n, instead of n doorbells, we will ring only 2 doorbells. This is improving the latency by more than 100ns. To avoid the queue full condition, create the CQs of double the size of what user has requested. Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
- Loading branch information
1 parent
84f4951
commit bac8bc7
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters