RE: [PATCH v2] net: mana: Batch ringing RX queue doorbell on receiving packets

From: Dexuan Cui
Date: Thu Jun 22 2023 - 23:00:22 EST


> From: longli@xxxxxxxxxxxxxxxxx
> Sent: Thursday, June 22, 2023 9:23 AM
> ...
>
> It's inefficient to ring the doorbell page every time a WQE is posted to
> the received queue.
>
> Move the code for ringing doorbell page to where after we have posted all
> WQEs to the receive queue during a callback from napi_poll().
>
> Tests showed no regression in network latency benchmarks.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: ca9c54d2d6a5 ("net: mana: Add a driver for Microsoft Azure Network
> Adapter (MANA)")
> Signed-off-by: Long Li <longli@xxxxxxxxxxxxx>

Reviewed-by: Dexuan Cui <decui@xxxxxxxxxxxxx>