ixgbe: Disable DROP_EN for Rx queues
82599 mistakenly enabled drop on Rx queues in the packet buffer. The default mode should be store-and-forward from the FIFO. Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Acked-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
d51019a4da
commit
40dcd79a7b
@ -1679,8 +1679,6 @@ static void ixgbe_configure_srrctl(struct ixgbe_adapter *adapter, int index)
|
|||||||
srrctl |= rx_ring->rx_buf_len >>
|
srrctl |= rx_ring->rx_buf_len >>
|
||||||
IXGBE_SRRCTL_BSIZEPKT_SHIFT;
|
IXGBE_SRRCTL_BSIZEPKT_SHIFT;
|
||||||
}
|
}
|
||||||
if (adapter->hw.mac.type == ixgbe_mac_82599EB)
|
|
||||||
srrctl |= IXGBE_SRRCTL_DROP_EN;
|
|
||||||
|
|
||||||
IXGBE_WRITE_REG(&adapter->hw, IXGBE_SRRCTL(index), srrctl);
|
IXGBE_WRITE_REG(&adapter->hw, IXGBE_SRRCTL(index), srrctl);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user