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;
}
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;
}
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;
}
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;
}
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:
/* 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;
}