Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ixgbe/ixgbe_api.c
Context not available. | |||||
case ixgbe_mac_X550EM_a: | case ixgbe_mac_X550EM_a: | ||||
status = ixgbe_init_ops_X550EM_a(hw); | status = ixgbe_init_ops_X550EM_a(hw); | ||||
break; | break; | ||||
case ixgbe_mac_82599_vf: | |||||
erj: I see this and wonder how the VF driver even worked upstream. Is there something that I'm… | |||||
Not Done Inline ActionsI have not tested VFs yet, I suspect they don't work well at the moment and will take a look in the future. kbowling: I have not tested VFs yet, I suspect they don't work well at the moment and will take a look in… | |||||
case ixgbe_mac_X540_vf: | |||||
case ixgbe_mac_X550_vf: | |||||
case ixgbe_mac_X550EM_x_vf: | |||||
case ixgbe_mac_X550EM_a_vf: | |||||
status = ixgbe_init_ops_vf(hw); | |||||
break; | |||||
default: | default: | ||||
status = IXGBE_ERR_DEVICE_NOT_SUPPORTED; | status = IXGBE_ERR_DEVICE_NOT_SUPPORTED; | ||||
break; | break; | ||||
Context not available. | |||||
case IXGBE_DEV_ID_82599_T3_LOM: | case IXGBE_DEV_ID_82599_T3_LOM: | ||||
hw->mac.type = ixgbe_mac_82599EB; | hw->mac.type = ixgbe_mac_82599EB; | ||||
break; | break; | ||||
case IXGBE_DEV_ID_82599_VF: | |||||
case IXGBE_DEV_ID_82599_VF_HV: | |||||
Not Done Inline ActionsConsider adding these PCI IDs in a followup, it's just a VF with no mailbox for security reasons on HyperV. kbowling: Consider adding these PCI IDs in a followup, it's just a VF with no mailbox for security… | |||||
Not Done Inline ActionsI wouldn't bother with the HV ones, if only because I think they're deprecated now. erj: I wouldn't bother with the HV ones, if only because I think they're deprecated now. | |||||
hw->mac.type = ixgbe_mac_82599_vf; | |||||
break; | |||||
case IXGBE_DEV_ID_X540_VF: | |||||
case IXGBE_DEV_ID_X540_VF_HV: | |||||
hw->mac.type = ixgbe_mac_X540_vf; | |||||
hw->mvals = ixgbe_mvals_X540; | |||||
break; | |||||
case IXGBE_DEV_ID_X540T: | case IXGBE_DEV_ID_X540T: | ||||
case IXGBE_DEV_ID_X540T1: | case IXGBE_DEV_ID_X540T1: | ||||
case IXGBE_DEV_ID_X540_BYPASS: | case IXGBE_DEV_ID_X540_BYPASS: | ||||
Context not available. | |||||
hw->mac.type = ixgbe_mac_X550EM_a; | hw->mac.type = ixgbe_mac_X550EM_a; | ||||
hw->mvals = ixgbe_mvals_X550EM_a; | hw->mvals = ixgbe_mvals_X550EM_a; | ||||
break; | break; | ||||
case IXGBE_DEV_ID_X550_VF: | |||||
case IXGBE_DEV_ID_X550_VF_HV: | |||||
hw->mac.type = ixgbe_mac_X550_vf; | |||||
hw->mvals = ixgbe_mvals_X550; | |||||
break; | |||||
case IXGBE_DEV_ID_X550EM_X_VF: | |||||
case IXGBE_DEV_ID_X550EM_X_VF_HV: | |||||
hw->mac.type = ixgbe_mac_X550EM_x_vf; | |||||
hw->mvals = ixgbe_mvals_X550EM_x; | |||||
break; | |||||
case IXGBE_DEV_ID_X550EM_A_VF: | |||||
case IXGBE_DEV_ID_X550EM_A_VF_HV: | |||||
hw->mac.type = ixgbe_mac_X550EM_a_vf; | |||||
hw->mvals = ixgbe_mvals_X550EM_a; | |||||
break; | |||||
default: | default: | ||||
ret_val = IXGBE_ERR_DEVICE_NOT_SUPPORTED; | ret_val = IXGBE_ERR_DEVICE_NOT_SUPPORTED; | ||||
ERROR_REPORT2(IXGBE_ERROR_UNSUPPORTED, | ERROR_REPORT2(IXGBE_ERROR_UNSUPPORTED, | ||||
Context not available. | |||||
} | } | ||||
/** | |||||
* ixgbe_get_thermal_sensor_data - Gathers thermal sensor data | |||||
* @hw: pointer to hardware structure | |||||
* | |||||
* Updates the temperatures in mac.thermal_sensor_data | |||||
**/ | |||||
s32 ixgbe_get_thermal_sensor_data(struct ixgbe_hw *hw) | |||||
{ | |||||
return ixgbe_call_func(hw, hw->mac.ops.get_thermal_sensor_data, (hw), | |||||
IXGBE_NOT_IMPLEMENTED); | |||||
} | |||||
/** | |||||
* ixgbe_init_thermal_sensor_thresh - Inits thermal sensor thresholds | |||||
* @hw: pointer to hardware structure | |||||
* | |||||
* Inits the thermal sensor thresholds according to the NVM map | |||||
**/ | |||||
s32 ixgbe_init_thermal_sensor_thresh(struct ixgbe_hw *hw) | |||||
{ | |||||
return ixgbe_call_func(hw, hw->mac.ops.init_thermal_sensor_thresh, (hw), | |||||
IXGBE_NOT_IMPLEMENTED); | |||||
} | |||||
/** | /** | ||||
* ixgbe_dmac_config - Configure DMA Coalescing registers. | * ixgbe_dmac_config - Configure DMA Coalescing registers. | ||||
Context not available. |
I see this and wonder how the VF driver even worked upstream. Is there something that I'm missing here?