[Intel-wired-lan] [PATCH] igb: Wait 10ms just once after TX queues reset
Brown, Aaron F
aaron.f.brown at intel.com
Sat May 26 01:22:46 UTC 2018
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Sergey Nemov
> Sent: Friday, May 18, 2018 2:59 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] igb: Wait 10ms just once after TX queues
> reset
>
> Move 10ms sleep out of function resetting TX queue.
> Reset all the TX queues in one turn and
> wait for all of them just once.
>
> Use usleep_range() instead of mdelay() in order not to
> affect transmission on other interfaces.
>
> Signed-off-by: Sergey Nemov <sergey.nemov at intel.com>
> ---
> drivers/net/ethernet/intel/igb/igb_main.c | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
Tested-by: Aaron Brown <aaron.f.brown at intel.com>
More information about the Intel-wired-lan
mailing list