net/ixgbe: clear all queues on VF reset
ixgbe devices support up to 8 Rx and Tx queues per virtual function. Currently, the registers of only seven queues are set to default when resetting a VF. Signed-off-by: Simon Ellmann <simon.ellmann@tum.de> Acked-by: Haiyue Wang <haiyue.wang@intel.com>
This commit is contained in:
parent
7f90f00beb
commit
d2565b3479
@ -84,7 +84,7 @@ static void ixgbe_virt_clr_reg(struct ixgbe_hw *hw)
|
||||
|
||||
IXGBE_WRITE_REG(hw, IXGBE_VFPSRTYPE, 0);
|
||||
|
||||
for (i = 0; i < 7; i++) {
|
||||
for (i = 0; i < 8; i++) {
|
||||
IXGBE_WRITE_REG(hw, IXGBE_VFRDH(i), 0);
|
||||
IXGBE_WRITE_REG(hw, IXGBE_VFRDT(i), 0);
|
||||
IXGBE_WRITE_REG(hw, IXGBE_VFRXDCTL(i), 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user