ixgbe: fix build with bypass enabled

Since commit aae1047905621 ("use the right debug macro"),
DEBUGOUT was replaced by PMD_DRV_LOG which requires at least
2 arguments. But the level argument was missing.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
Pablo de Lara 2014-10-01 23:27:25 +01:00 committed by Thomas Monjalon
parent 0e539d1f9b
commit 7a10de5e27
2 changed files with 6 additions and 6 deletions

View File

@ -63,7 +63,7 @@ ixgbe_set_fiber_fixed_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed)
rs = IXGBE_SFF_SOFT_RS_SELECT_1G;
break;
default:
PMD_DRV_LOG("Invalid fixed module speed");
PMD_DRV_LOG(ERR, "Invalid fixed module speed");
return;
}
@ -72,7 +72,7 @@ ixgbe_set_fiber_fixed_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed)
IXGBE_I2C_EEPROM_DEV_ADDR2,
&eeprom_data);
if (status) {
PMD_DRV_LOG("Failed to read Rx Rate Select RS0");
PMD_DRV_LOG(ERR, "Failed to read Rx Rate Select RS0");
goto out;
}
@ -82,7 +82,7 @@ ixgbe_set_fiber_fixed_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed)
IXGBE_I2C_EEPROM_DEV_ADDR2,
eeprom_data);
if (status) {
PMD_DRV_LOG("Failed to write Rx Rate Select RS0");
PMD_DRV_LOG(ERR, "Failed to write Rx Rate Select RS0");
goto out;
}
@ -91,7 +91,7 @@ ixgbe_set_fiber_fixed_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed)
IXGBE_I2C_EEPROM_DEV_ADDR2,
&eeprom_data);
if (status) {
PMD_DRV_LOG("Failed to read Rx Rate Select RS1");
PMD_DRV_LOG(ERR, "Failed to read Rx Rate Select RS1");
goto out;
}
@ -101,7 +101,7 @@ ixgbe_set_fiber_fixed_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed)
IXGBE_I2C_EEPROM_DEV_ADDR2,
eeprom_data);
if (status) {
PMD_DRV_LOG("Failed to write Rx Rate Select RS1");
PMD_DRV_LOG(ERR, "Failed to write Rx Rate Select RS1");
goto out;
}
out:

View File

@ -114,7 +114,7 @@ ixgbe_bypass_init(struct rte_eth_dev *dev)
/* Only allow BYPASS ops on the first port */
if (hw->device_id != IXGBE_DEV_ID_82599_BYPASS ||
hw->bus.func != 0) {
PMD_DRV_LOG("bypass function is not supported on that device");
PMD_DRV_LOG(ERR, "bypass function is not supported on that device");
return;
}