OSDN Git Service

hv_netvsc: Add a comment clarifying batching logic
authorShachar Raindel <shacharr@microsoft.com>
Fri, 12 Mar 2021 23:45:27 +0000 (15:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Mar 2021 21:32:37 +0000 (14:32 -0700)
commitbd49fea7586b9d39a38846e9ef4ac056e4eb6e59
tree2f24bccd2826e7b7080342dbeaf9e40c73a29c3c
parent0f88e6f35b314500ba4c2f7d62c4598bf2c1229b
hv_netvsc: Add a comment clarifying batching logic

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@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/device_drivers/ethernet/microsoft/netvsc.rst
drivers/net/hyperv/netvsc.c