ixgbe: fix disabling loopback mode
Following introduction of loopback mode, this mode should be explicitely disabled in ixgbe_dev_rx_init() if not enabled. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Signed-off-by: David Marchand <david.marchand@6wind.com>
This commit is contained in:
parent
db03592561
commit
f474e64f4d
@ -3391,6 +3391,8 @@ ixgbe_dev_rx_init(struct rte_eth_dev *dev)
|
||||
if (hw->mac.type == ixgbe_mac_82599EB &&
|
||||
dev->data->dev_conf.lpbk_mode == IXGBE_LPBK_82599_TX_RX)
|
||||
hlreg0 |= IXGBE_HLREG0_LPBK;
|
||||
else
|
||||
hlreg0 &= ~IXGBE_HLREG0_LPBK;
|
||||
|
||||
IXGBE_WRITE_REG(hw, IXGBE_HLREG0, hlreg0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user