-
Notifications
You must be signed in to change notification settings - Fork 690
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: Track and maintain CQ doorbell epoch during CQ resize
During CQ resize, it is expected that the CQ doorbell 'epoch' needs to be maintained when switching from the old CQ to the new resized CQ. On the first CQ doorbell excecuted on the new CQ, we need to check if the index we are writing is less than the last index written for the old CQ. If that is the case, we need to flip the 'epoch' so the ASIC does not get confused and thinks the CQ doorbell is out of order and therefore drops the doorbell. Note the logic in the ASIC that checks CQ doorbell ordering is not aware of the CQ resize. Fixes: 4a85843 ("bnxt_re/lib: Fix the toggle bit changes in resize cq path") Signed-off-by: Ray Jui <ray.jui@broadcom.com> Reviewed-by: Chandramohan Akula <chandramohan.akula@broadcom.com> Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
- Loading branch information
1 parent
ec106a3
commit 2bc950a
Showing
3 changed files
with
35 additions
and
2 deletions.
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
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