[PATCH 27/44] net: mana: Use the correct WQE count for ringing RQ doorbell
authorLong Li <longli@microsoft.com>
Mon, 17 Jul 2023 19:35:39 +0000 (12:35 -0700)
committerSalvatore Bonaccorso <carnil@debian.org>
Fri, 25 Apr 2025 19:51:43 +0000 (21:51 +0200)
commit591bbb9621959f1b167ef0b0f45b09697ad0f476
treee1656e4de055ee626428c0782abe90fb86a4a9b2
parent1e3b47241bc94ae99ab1880ccbc9f76fbfa7147c
[PATCH 27/44] net: mana: Use the correct WQE count for ringing RQ doorbell

The hardware specification specifies that WQE_COUNT should set to 0 for
the Receive Queue. Although currently the hardware doesn't enforce the
check, in the future releases it may check on this value.

Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Long Li <longli@microsoft.com>
Link: https://lore.kernel.org/r/1689622539-5334-3-git-send-email-longli@linuxonhyperv.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
(cherry picked from commit f5e39b57124fd4715d7f0e2f841b8609b38f3e40)
Signed-off-by: Bastian Blank <waldi@debian.org>
Gbp-Pq: Topic features/all/ethernet-microsoft
Gbp-Pq: Name 0027-net-mana-Use-the-correct-WQE-count-for-ringing-RQ-do.patch
drivers/net/ethernet/microsoft/mana/gdma_main.c