]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hv_netvsc: Use the xmit_more skb flag to optimize signaling the host
authorKY Srinivasan <kys@microsoft.com>
Mon, 11 May 2015 22:39:46 +0000 (15:39 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 26 Feb 2016 02:28:45 +0000 (18:28 -0800)
commit3e7eb07d0395eca72fdc979b39fb4fe1386d1bff
tree017fc20b584b897c2646a2bd6b71942dbcd21281
parentc2c4163a8021feb5c9559758b8ad74d420589057
hv_netvsc: Use the xmit_more skb flag to optimize signaling the host

Based on the information given to this driver (via the xmit_more skb flag),
we can defer signaling the host if more packets are on the way. This will help
make the host more efficient since it can potentially process a larger batch of
packets. Implement this optimization.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 82fa3c776e5abba7ed6e4b4f4983d14731c37d6a)

Orabug: 21886720
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
drivers/net/hyperv/netvsc.c