linux/drivers/net/hyperv
stephen hemminger fdfb70d275 netvsc: fix calculation of available send sections
My change (introduced in 4.11) to use find_first_clear_bit
incorrectly assumed that the size argument was words, not bits.
The effect was only a small limited number of the available send
sections were being actually used. This can cause performance loss
with some workloads.

Since map_words is now used only during initialization, it can
be on stack instead of in per-device data.

Fixes: b58a185801 ("netvsc: simplify get next send section")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-25 11:56:59 -04:00
..
hyperv_net.h netvsc: fix calculation of available send sections 2017-04-25 11:56:59 -04:00
Kconfig
Makefile
netvsc_drv.c netvsc: handle select_queue when device is being removed 2017-03-12 23:13:41 -07:00
netvsc.c netvsc: fix calculation of available send sections 2017-04-25 11:56:59 -04:00
rndis_filter.c netvsc: eliminate per-device outstanding send counter 2017-01-24 16:29:01 -05:00