commit | aa0a34be68290aa9aa071c0691fb8b6edda38358 | [log] [tgz] |
---|---|---|
author | Haiyang Zhang <haiyangz@microsoft.com> | Mon Apr 13 16:34:35 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 14 14:57:10 2015 -0400 |
tree | bf404acc758981c7ac0fffaf1bb6afb9af26fbe3 | |
parent | 6e8a9d9148b6dc2305fcaaf60550b81cbb6319c6 [diff] |
hv_netvsc: Implement partial copy into send buffer If remaining space in a send buffer slot is too small for the whole message, we only copy the RNDIS header and PPI data into send buffer, so we can batch one more packet each time. It reduces the vmbus per-message overhead. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Reviewed-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>