Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bnxt_re/lib: Fix doorbell fifo register read #1479

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

selvintxavier
Copy link
Contributor

Doorbell FIFO information register is a 32 bit register. Reading it as a 64bit from the BAR area may give wrong values. So change the variable pointer to 32 bit.

Fixes: ef9d1cd ("bnxt_re/lib: Implement doorbell pacing algorithm")

Doorbell FIFO information register is a 32 bit register. Reading
it as a 64bit from the BAR area may give wrong values. So change the
variable pointer to 32 bit.

Fixes: ef9d1cd ("bnxt_re/lib: Implement doorbell pacing algorithm")
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
@rleon rleon merged commit 194c37c into linux-rdma:master Jul 7, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants