]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ixgbevf: add wait for Rx queue disable
authorDon Skidmore <donald.c.skidmore@intel.com>
Tue, 1 Oct 2013 11:33:50 +0000 (04:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2013 16:49:48 +0000 (12:49 -0400)
commit858c3dda5ea3519a3799a147904ae1d6e6c4e7c1
treed511de350f3ec90069f54145971521d4c21272dd
parentc7bb417dbb8888cfd20824d54f9af9c92b9ff43d
ixgbevf: add wait for Rx queue disable

New function was added to wait for Rx queues to be disabled before
disabling NAPI. This function also allows us to  modify
ixgbevf_rx_desc_queue_enable() to better match ixgbe.  I also cleaned up
some msleep calls to usleep_range while I was in this code anyway.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c