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)
committerJakub Kicinski <kuba@kernel.org>
Wed, 19 Jul 2023 01:00:18 +0000 (18:00 -0700)
commitf5e39b57124fd4715d7f0e2f841b8609b38f3e40
tree01bd44542cebc3c86153296fd38ef1cb0f6594df
parentda4e8648079eb6f26f3a88d8c34270a057e2bfe6
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>
drivers/net/ethernet/microsoft/mana/gdma_main.c