Re: [PATCH net] netvsc: fix calculation of available send sections

2017-04-25 Thread David Miller
From: Stephen Hemminger Date: Mon, 24 Apr 2017 18:33:38 -0700 > 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

Re: [PATCH net] netvsc: fix calculation of available send sections

2017-04-24 Thread Greg Rose
On Mon, 2017-04-24 at 18:33 -0700, Stephen Hemminger wrote: > My change (introduced in 4.11) to use find_first_clear_bit > incorrectly assumed that the size argument was words, not bits. Oops... > The effect was only a small limited number of the available send > sections were being actually used

[PATCH net] netvsc: fix calculation of available send sections

2017-04-24 Thread Stephen Hemminger
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