RE: [PATCH net-next] hv_netvsc: Add a comment clarifying batching logic

From: Dexuan Cui
Date: Fri Mar 12 2021 - 23:39:39 EST


> From: LKML haiyangz <lkmlhyz@xxxxxxxxxxxxx> On Behalf Of Haiyang Zhang
> Sent: Friday, March 12, 2021 3:45 PM
> To: linux-hyperv@xxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx
> Cc: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>; KY Srinivasan
> <kys@xxxxxxxxxxxxx>; Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>;
> olaf@xxxxxxxxx; vkuznets <vkuznets@xxxxxxxxxx>; davem@xxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx; Shachar Raindel <shacharr@xxxxxxxxxxxxx>
> Subject: [PATCH net-next] hv_netvsc: Add a comment clarifying batching logic
>
> From: Shachar Raindel <shacharr@xxxxxxxxxxxxx>
>
> The batching logic in netvsc_send is non-trivial, due to
> a combination of the Linux API and the underlying hypervisor
> interface. Add a comment explaining why the code is written this
> way.
>
> Signed-off-by: Shachar Raindel <shacharr@xxxxxxxxxxxxx>
> Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
> ---

Reviewed-by: Dexuan Cui <decui@xxxxxxxxxxxxx>