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 <[email protected]>
- Loading branch information