ice: Trivial cosmetic changes

This patch mostly capitalizes abbreviations in code comments. Fixed some
typos and removed some unnecessary newlines as well.

Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
Anirudh Venkataramanan 2019-04-16 10:35:03 -07:00 committed by Jeff Kirsher
parent 072efdf8bf
commit 2f2da36ebf
12 changed files with 53 additions and 54 deletions

View File

@ -1273,7 +1273,7 @@ struct ice_aqc_get_cee_dcb_cfg_resp {
}; };
/* Set Local LLDP MIB (indirect 0x0A08) /* Set Local LLDP MIB (indirect 0x0A08)
* Used to replace the local MIB of a given LLDP agent. e.g. DCBx * Used to replace the local MIB of a given LLDP agent. e.g. DCBX
*/ */
struct ice_aqc_lldp_set_local_mib { struct ice_aqc_lldp_set_local_mib {
u8 type; u8 type;
@ -1290,7 +1290,7 @@ struct ice_aqc_lldp_set_local_mib {
}; };
/* Stop/Start LLDP Agent (direct 0x0A09) /* Stop/Start LLDP Agent (direct 0x0A09)
* Used for stopping/starting specific LLDP agent. e.g. DCBx. * Used for stopping/starting specific LLDP agent. e.g. DCBX.
* The same structure is used for the response, with the command field * The same structure is used for the response, with the command field
* being used as the status field. * being used as the status field.
*/ */

View File

@ -499,7 +499,7 @@ static enum ice_status ice_get_fw_log_cfg(struct ice_hw *hw)
if (!status) { if (!status) {
u16 i; u16 i;
/* Save fw logging information into the hw structure */ /* Save FW logging information into the HW structure */
for (i = 0; i < ICE_AQC_FW_LOG_ID_MAX; i++) { for (i = 0; i < ICE_AQC_FW_LOG_ID_MAX; i++) {
u16 v, m, flgs; u16 v, m, flgs;
@ -691,7 +691,7 @@ void ice_output_fw_log(struct ice_hw *hw, struct ice_aq_desc *desc, void *buf)
* ice_get_itr_intrl_gran - determine int/intrl granularity * ice_get_itr_intrl_gran - determine int/intrl granularity
* @hw: pointer to the HW struct * @hw: pointer to the HW struct
* *
* Determines the itr/intrl granularities based on the maximum aggregate * Determines the ITR/intrl granularities based on the maximum aggregate
* bandwidth according to the device's configuration during power-on. * bandwidth according to the device's configuration during power-on.
*/ */
static void ice_get_itr_intrl_gran(struct ice_hw *hw) static void ice_get_itr_intrl_gran(struct ice_hw *hw)
@ -2699,7 +2699,7 @@ do_aq:
ice_debug(hw, ICE_DBG_SCHED, "VM%d disable failed %d\n", ice_debug(hw, ICE_DBG_SCHED, "VM%d disable failed %d\n",
vmvf_num, hw->adminq.sq_last_status); vmvf_num, hw->adminq.sq_last_status);
else else
ice_debug(hw, ICE_DBG_SCHED, "disable Q %d failed %d\n", ice_debug(hw, ICE_DBG_SCHED, "disable queue %d failed %d\n",
le16_to_cpu(qg_list[0].q_id[0]), le16_to_cpu(qg_list[0].q_id[0]),
hw->adminq.sq_last_status); hw->adminq.sq_last_status);
} }

View File

@ -439,7 +439,7 @@ do { \
/* free the buffer info list */ \ /* free the buffer info list */ \
if ((qi)->ring.cmd_buf) \ if ((qi)->ring.cmd_buf) \
devm_kfree(ice_hw_to_dev(hw), (qi)->ring.cmd_buf); \ devm_kfree(ice_hw_to_dev(hw), (qi)->ring.cmd_buf); \
/* free dma head */ \ /* free DMA head */ \
devm_kfree(ice_hw_to_dev(hw), (qi)->ring.dma_head); \ devm_kfree(ice_hw_to_dev(hw), (qi)->ring.dma_head); \
} while (0) } while (0)

View File

@ -35,7 +35,7 @@ enum ice_ctl_q {
#define ICE_CTL_Q_SQ_CMD_TIMEOUT 250 /* msecs */ #define ICE_CTL_Q_SQ_CMD_TIMEOUT 250 /* msecs */
struct ice_ctl_q_ring { struct ice_ctl_q_ring {
void *dma_head; /* Virtual address to dma head */ void *dma_head; /* Virtual address to DMA head */
struct ice_dma_mem desc_buf; /* descriptor ring memory */ struct ice_dma_mem desc_buf; /* descriptor ring memory */
void *cmd_buf; /* command buffer memory */ void *cmd_buf; /* command buffer memory */

View File

@ -669,7 +669,7 @@ ice_lldp_to_dcb_cfg(u8 *lldpmib, struct ice_dcbx_cfg *dcbcfg)
/** /**
* ice_aq_get_dcb_cfg * ice_aq_get_dcb_cfg
* @hw: pointer to the HW struct * @hw: pointer to the HW struct
* @mib_type: mib type for the query * @mib_type: MIB type for the query
* @bridgetype: bridge type for the query (remote) * @bridgetype: bridge type for the query (remote)
* @dcbcfg: store for LLDPDU data * @dcbcfg: store for LLDPDU data
* *
@ -700,13 +700,13 @@ ice_aq_get_dcb_cfg(struct ice_hw *hw, u8 mib_type, u8 bridgetype,
} }
/** /**
* ice_aq_start_stop_dcbx - Start/Stop DCBx service in FW * ice_aq_start_stop_dcbx - Start/Stop DCBX service in FW
* @hw: pointer to the HW struct * @hw: pointer to the HW struct
* @start_dcbx_agent: True if DCBx Agent needs to be started * @start_dcbx_agent: True if DCBX Agent needs to be started
* False if DCBx Agent needs to be stopped * False if DCBX Agent needs to be stopped
* @dcbx_agent_status: FW indicates back the DCBx agent status * @dcbx_agent_status: FW indicates back the DCBX agent status
* True if DCBx Agent is active * True if DCBX Agent is active
* False if DCBx Agent is stopped * False if DCBX Agent is stopped
* @cd: pointer to command details structure or NULL * @cd: pointer to command details structure or NULL
* *
* Start/Stop the embedded dcbx Agent. In case that this wrapper function * Start/Stop the embedded dcbx Agent. In case that this wrapper function

View File

@ -283,7 +283,7 @@ dcb_error:
/** /**
* ice_dcb_init_cfg - set the initial DCB config in SW * ice_dcb_init_cfg - set the initial DCB config in SW
* @pf: pf to apply config to * @pf: PF to apply config to
* @locked: Is the RTNL held * @locked: Is the RTNL held
*/ */
static int ice_dcb_init_cfg(struct ice_pf *pf, bool locked) static int ice_dcb_init_cfg(struct ice_pf *pf, bool locked)
@ -311,7 +311,7 @@ static int ice_dcb_init_cfg(struct ice_pf *pf, bool locked)
/** /**
* ice_dcb_sw_default_config - Apply a default DCB config * ice_dcb_sw_default_config - Apply a default DCB config
* @pf: pf to apply config to * @pf: PF to apply config to
* @locked: was this function called with RTNL held * @locked: was this function called with RTNL held
*/ */
static int ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool locked) static int ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool locked)
@ -356,7 +356,7 @@ static int ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool locked)
/** /**
* ice_init_pf_dcb - initialize DCB for a PF * ice_init_pf_dcb - initialize DCB for a PF
* @pf: pf to initiialize DCB for * @pf: PF to initialize DCB for
* @locked: Was function called with RTNL held * @locked: Was function called with RTNL held
*/ */
int ice_init_pf_dcb(struct ice_pf *pf, bool locked) int ice_init_pf_dcb(struct ice_pf *pf, bool locked)
@ -371,7 +371,7 @@ int ice_init_pf_dcb(struct ice_pf *pf, bool locked)
err = ice_init_dcb(hw); err = ice_init_dcb(hw);
if (err) { if (err) {
/* FW LLDP is not active, default to SW DCBx/LLDP */ /* FW LLDP is not active, default to SW DCBX/LLDP */
dev_info(&pf->pdev->dev, "FW LLDP is not active\n"); dev_info(&pf->pdev->dev, "FW LLDP is not active\n");
hw->port_info->dcbx_status = ICE_DCBX_STATUS_NOT_STARTED; hw->port_info->dcbx_status = ICE_DCBX_STATUS_NOT_STARTED;
hw->port_info->is_sw_lldp = true; hw->port_info->is_sw_lldp = true;
@ -604,10 +604,10 @@ ice_dcb_process_lldp_set_mib_change(struct ice_pf *pf,
/* store the old configuration */ /* store the old configuration */
tmp_dcbx_cfg = pf->hw.port_info->local_dcbx_cfg; tmp_dcbx_cfg = pf->hw.port_info->local_dcbx_cfg;
/* Reset the old DCBx configuration data */ /* Reset the old DCBX configuration data */
memset(&pi->local_dcbx_cfg, 0, sizeof(pi->local_dcbx_cfg)); memset(&pi->local_dcbx_cfg, 0, sizeof(pi->local_dcbx_cfg));
/* Get updated DCBx data from firmware */ /* Get updated DCBX data from firmware */
ret = ice_get_dcb_cfg(pf->hw.port_info); ret = ice_get_dcb_cfg(pf->hw.port_info);
if (ret) { if (ret) {
dev_err(&pf->pdev->dev, "Failed to get DCB config\n"); dev_err(&pf->pdev->dev, "Failed to get DCB config\n");

View File

@ -1247,7 +1247,7 @@ static int ice_set_priv_flags(struct net_device *netdev, u32 flags)
dev_warn(&pf->pdev->dev, dev_warn(&pf->pdev->dev,
"Fail to start LLDP Agent\n"); "Fail to start LLDP Agent\n");
/* AQ command to start FW DCBx agent will fail if /* AQ command to start FW DCBX agent will fail if
* the agent is already started * the agent is already started
*/ */
status = ice_aq_start_stop_dcbx(&pf->hw, true, status = ice_aq_start_stop_dcbx(&pf->hw, true,

View File

@ -2539,7 +2539,7 @@ ice_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi,
* recipe, since VSI/VSI list is ignored with drop action... * recipe, since VSI/VSI list is ignored with drop action...
* Also add rules to handle LLDP Tx and Rx packets. Tx LLDP packets * Also add rules to handle LLDP Tx and Rx packets. Tx LLDP packets
* need to be dropped so that VFs cannot send LLDP packets to reconfig * need to be dropped so that VFs cannot send LLDP packets to reconfig
* DCB settings in the HW. Also, if the FW DCBx engine is not running * DCB settings in the HW. Also, if the FW DCBX engine is not running
* then Rx LLDP packets need to be redirected up the stack. * then Rx LLDP packets need to be redirected up the stack.
*/ */
if (vsi->type == ICE_VSI_PF) { if (vsi->type == ICE_VSI_PF) {
@ -3059,7 +3059,7 @@ err_vsi:
/** /**
* ice_is_reset_in_progress - check for a reset in progress * ice_is_reset_in_progress - check for a reset in progress
* @state: pf state field * @state: PF state field
*/ */
bool ice_is_reset_in_progress(unsigned long *state) bool ice_is_reset_in_progress(unsigned long *state)
{ {

View File

@ -112,7 +112,7 @@ static void ice_check_for_hang_subtask(struct ice_pf *pf)
* ice_init_mac_fltr - Set initial MAC filters * ice_init_mac_fltr - Set initial MAC filters
* @pf: board private structure * @pf: board private structure
* *
* Set initial set of mac filters for PF VSI; configure filters for permanent * Set initial set of MAC filters for PF VSI; configure filters for permanent
* address and broadcast address. If an error is encountered, netdevice will be * address and broadcast address. If an error is encountered, netdevice will be
* unregistered. * unregistered.
*/ */
@ -682,13 +682,13 @@ void ice_print_link_msg(struct ice_vsi *vsi, bool isup)
switch (vsi->port_info->fc.current_mode) { switch (vsi->port_info->fc.current_mode) {
case ICE_FC_FULL: case ICE_FC_FULL:
fc = "RX/TX"; fc = "Rx/Tx";
break; break;
case ICE_FC_TX_PAUSE: case ICE_FC_TX_PAUSE:
fc = "TX"; fc = "Tx";
break; break;
case ICE_FC_RX_PAUSE: case ICE_FC_RX_PAUSE:
fc = "RX"; fc = "Rx";
break; break;
case ICE_FC_NONE: case ICE_FC_NONE:
fc = "None"; fc = "None";
@ -770,7 +770,7 @@ static void ice_vsi_link_event(struct ice_vsi *vsi, bool link_up)
/** /**
* ice_link_event - process the link event * ice_link_event - process the link event
* @pf: pf that the link event is associated with * @pf: PF that the link event is associated with
* @pi: port_info for the port that the link event is associated with * @pi: port_info for the port that the link event is associated with
* @link_up: true if the physical link is up and false if it is down * @link_up: true if the physical link is up and false if it is down
* @link_speed: current link speed received from the link event * @link_speed: current link speed received from the link event
@ -880,7 +880,7 @@ static int ice_init_link_events(struct ice_port_info *pi)
/** /**
* ice_handle_link_event - handle link event via ARQ * ice_handle_link_event - handle link event via ARQ
* @pf: pf that the link event is associated with * @pf: PF that the link event is associated with
* @event: event structure containing link status info * @event: event structure containing link status info
*/ */
static int static int
@ -2301,7 +2301,7 @@ ice_probe(struct pci_dev *pdev, const struct pci_device_id __always_unused *ent)
if (!pf) if (!pf)
return -ENOMEM; return -ENOMEM;
/* set up for high or low dma */ /* set up for high or low DMA */
err = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64)); err = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64));
if (err) if (err)
err = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(32)); err = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(32));
@ -2417,7 +2417,7 @@ ice_probe(struct pci_dev *pdev, const struct pci_device_id __always_unused *ent)
err = ice_setup_pf_sw(pf); err = ice_setup_pf_sw(pf);
if (err) { if (err) {
dev_err(dev, "probe failed due to setup pf switch:%d\n", err); dev_err(dev, "probe failed due to setup PF switch:%d\n", err);
goto err_alloc_sw_unroll; goto err_alloc_sw_unroll;
} }
@ -2674,7 +2674,7 @@ static int __init ice_module_init(void)
status = pci_register_driver(&ice_driver); status = pci_register_driver(&ice_driver);
if (status) { if (status) {
pr_err("failed to register pci driver, err %d\n", status); pr_err("failed to register PCI driver, err %d\n", status);
destroy_workqueue(ice_wq); destroy_workqueue(ice_wq);
} }
@ -2774,21 +2774,21 @@ free_lists:
ice_free_fltr_list(&pf->pdev->dev, &a_mac_list); ice_free_fltr_list(&pf->pdev->dev, &a_mac_list);
if (err) { if (err) {
netdev_err(netdev, "can't set mac %pM. filter update failed\n", netdev_err(netdev, "can't set MAC %pM. filter update failed\n",
mac); mac);
return err; return err;
} }
/* change the netdev's MAC address */ /* change the netdev's MAC address */
memcpy(netdev->dev_addr, mac, netdev->addr_len); memcpy(netdev->dev_addr, mac, netdev->addr_len);
netdev_dbg(vsi->netdev, "updated mac address to %pM\n", netdev_dbg(vsi->netdev, "updated MAC address to %pM\n",
netdev->dev_addr); netdev->dev_addr);
/* write new MAC address to the firmware */ /* write new MAC address to the firmware */
flags = ICE_AQC_MAN_MAC_UPDATE_LAA_WOL; flags = ICE_AQC_MAN_MAC_UPDATE_LAA_WOL;
status = ice_aq_manage_mac_write(hw, mac, flags, NULL); status = ice_aq_manage_mac_write(hw, mac, flags, NULL);
if (status) { if (status) {
netdev_err(netdev, "can't set mac %pM. write to firmware failed.\n", netdev_err(netdev, "can't set MAC %pM. write to firmware failed.\n",
mac); mac);
} }
return 0; return 0;
@ -3714,7 +3714,7 @@ static int ice_pf_ena_all_vsi(struct ice_pf *pf, bool locked)
} }
/** /**
* ice_vsi_rebuild_all - rebuild all VSIs in pf * ice_vsi_rebuild_all - rebuild all VSIs in PF
* @pf: the PF * @pf: the PF
*/ */
static int ice_vsi_rebuild_all(struct ice_pf *pf) static int ice_vsi_rebuild_all(struct ice_pf *pf)
@ -3784,7 +3784,7 @@ static int ice_vsi_replay_all(struct ice_pf *pf)
/** /**
* ice_rebuild - rebuild after reset * ice_rebuild - rebuild after reset
* @pf: pf to rebuild * @pf: PF to rebuild
*/ */
static void ice_rebuild(struct ice_pf *pf) static void ice_rebuild(struct ice_pf *pf)
{ {
@ -3796,7 +3796,7 @@ static void ice_rebuild(struct ice_pf *pf)
if (test_bit(__ICE_DOWN, pf->state)) if (test_bit(__ICE_DOWN, pf->state))
goto clear_recovery; goto clear_recovery;
dev_dbg(dev, "rebuilding pf\n"); dev_dbg(dev, "rebuilding PF\n");
ret = ice_init_all_ctrlq(hw); ret = ice_init_all_ctrlq(hw);
if (ret) { if (ret) {
@ -3907,16 +3907,16 @@ static int ice_change_mtu(struct net_device *netdev, int new_mtu)
u8 count = 0; u8 count = 0;
if (new_mtu == netdev->mtu) { if (new_mtu == netdev->mtu) {
netdev_warn(netdev, "mtu is already %u\n", netdev->mtu); netdev_warn(netdev, "MTU is already %u\n", netdev->mtu);
return 0; return 0;
} }
if (new_mtu < netdev->min_mtu) { if (new_mtu < netdev->min_mtu) {
netdev_err(netdev, "new mtu invalid. min_mtu is %d\n", netdev_err(netdev, "new MTU invalid. min_mtu is %d\n",
netdev->min_mtu); netdev->min_mtu);
return -EINVAL; return -EINVAL;
} else if (new_mtu > netdev->max_mtu) { } else if (new_mtu > netdev->max_mtu) {
netdev_err(netdev, "new mtu invalid. max_mtu is %d\n", netdev_err(netdev, "new MTU invalid. max_mtu is %d\n",
netdev->min_mtu); netdev->min_mtu);
return -EINVAL; return -EINVAL;
} }
@ -3932,7 +3932,7 @@ static int ice_change_mtu(struct net_device *netdev, int new_mtu)
} while (count < 100); } while (count < 100);
if (count == 100) { if (count == 100) {
netdev_err(netdev, "can't change mtu. Device is busy\n"); netdev_err(netdev, "can't change MTU. Device is busy\n");
return -EBUSY; return -EBUSY;
} }
@ -3944,13 +3944,13 @@ static int ice_change_mtu(struct net_device *netdev, int new_mtu)
err = ice_down(vsi); err = ice_down(vsi);
if (err) { if (err) {
netdev_err(netdev, "change mtu if_up err %d\n", err); netdev_err(netdev, "change MTU if_up err %d\n", err);
return err; return err;
} }
err = ice_up(vsi); err = ice_up(vsi);
if (err) { if (err) {
netdev_err(netdev, "change mtu if_up err %d\n", err); netdev_err(netdev, "change MTU if_up err %d\n", err);
return err; return err;
} }
} }

View File

@ -55,7 +55,7 @@ void ice_clean_tx_ring(struct ice_ring *tx_ring)
if (!tx_ring->tx_buf) if (!tx_ring->tx_buf)
return; return;
/* Free all the Tx ring sk_bufss */ /* Free all the Tx ring sk_buffs */
for (i = 0; i < tx_ring->count; i++) for (i = 0; i < tx_ring->count; i++)
ice_unmap_and_free_tx_buf(tx_ring, &tx_ring->tx_buf[i]); ice_unmap_and_free_tx_buf(tx_ring, &tx_ring->tx_buf[i]);
@ -1101,7 +1101,7 @@ static int ice_clean_rx_irq(struct ice_ring *rx_ring, int budget)
* ice_adjust_itr_by_size_and_speed - Adjust ITR based on current traffic * ice_adjust_itr_by_size_and_speed - Adjust ITR based on current traffic
* @port_info: port_info structure containing the current link speed * @port_info: port_info structure containing the current link speed
* @avg_pkt_size: average size of Tx or Rx packets based on clean routine * @avg_pkt_size: average size of Tx or Rx packets based on clean routine
* @itr: itr value to update * @itr: ITR value to update
* *
* Calculate how big of an increment should be applied to the ITR value passed * Calculate how big of an increment should be applied to the ITR value passed
* in based on wmem_default, SKB overhead, Ethernet overhead, and the current * in based on wmem_default, SKB overhead, Ethernet overhead, and the current
@ -1316,7 +1316,7 @@ clear_counts:
*/ */
static u32 ice_buildreg_itr(u16 itr_idx, u16 itr) static u32 ice_buildreg_itr(u16 itr_idx, u16 itr)
{ {
/* The itr value is reported in microseconds, and the register value is /* The ITR value is reported in microseconds, and the register value is
* recorded in 2 microsecond units. For this reason we only need to * recorded in 2 microsecond units. For this reason we only need to
* shift by the GLINT_DYN_CTL_INTERVAL_S - ICE_ITR_GRAN_S to apply this * shift by the GLINT_DYN_CTL_INTERVAL_S - ICE_ITR_GRAN_S to apply this
* granularity as a shift instead of division. The mask makes sure the * granularity as a shift instead of division. The mask makes sure the
@ -1645,7 +1645,7 @@ ice_tx_map(struct ice_ring *tx_ring, struct ice_tx_buf *first,
return; return;
dma_error: dma_error:
/* clear dma mappings for failed tx_buf map */ /* clear DMA mappings for failed tx_buf map */
for (;;) { for (;;) {
tx_buf = &tx_ring->tx_buf[i]; tx_buf = &tx_ring->tx_buf[i];
ice_unmap_and_free_tx_buf(tx_ring, tx_buf); ice_unmap_and_free_tx_buf(tx_ring, tx_buf);

View File

@ -434,7 +434,7 @@ struct ice_hw {
struct ice_fw_log_cfg fw_log; struct ice_fw_log_cfg fw_log;
/* Device max aggregate bandwidths corresponding to the GL_PWR_MODE_CTL /* Device max aggregate bandwidths corresponding to the GL_PWR_MODE_CTL
* register. Used for determining the itr/intrl granularity during * register. Used for determining the ITR/intrl granularity during
* initialization. * initialization.
*/ */
#define ICE_MAX_AGG_BW_200G 0x0 #define ICE_MAX_AGG_BW_200G 0x0

View File

@ -154,7 +154,7 @@ static void ice_free_vf_res(struct ice_vf *vf)
*/ */
clear_bit(ICE_VF_STATE_INIT, vf->vf_states); clear_bit(ICE_VF_STATE_INIT, vf->vf_states);
/* free vsi & disconnect it from the parent uplink */ /* free VSI and disconnect it from the parent uplink */
if (vf->lan_vsi_idx) { if (vf->lan_vsi_idx) {
ice_vsi_release(pf->vsi[vf->lan_vsi_idx]); ice_vsi_release(pf->vsi[vf->lan_vsi_idx]);
vf->lan_vsi_idx = 0; vf->lan_vsi_idx = 0;
@ -514,7 +514,6 @@ static int ice_alloc_vsi_res(struct ice_vf *vf)
vf->first_vector_idx = ice_calc_vf_first_vector_idx(pf, vf); vf->first_vector_idx = ice_calc_vf_first_vector_idx(pf, vf);
vsi = ice_vf_vsi_setup(pf, pf->hw.port_info, vf->vf_id); vsi = ice_vf_vsi_setup(pf, pf->hw.port_info, vf->vf_id);
if (!vsi) { if (!vsi) {
dev_err(&pf->pdev->dev, "Failed to create VF VSI\n"); dev_err(&pf->pdev->dev, "Failed to create VF VSI\n");
return -ENOMEM; return -ENOMEM;
@ -1312,8 +1311,8 @@ err_unroll_intr:
} }
/** /**
* ice_pf_state_is_nominal - checks the pf for nominal state * ice_pf_state_is_nominal - checks the PF for nominal state
* @pf: pointer to pf to check * @pf: pointer to PF to check
* *
* Check the PF's state for a collection of bits that would indicate * Check the PF's state for a collection of bits that would indicate
* the PF is in a state that would inhibit normal operation for * the PF is in a state that would inhibit normal operation for
@ -1640,7 +1639,7 @@ static void ice_vc_reset_vf_msg(struct ice_vf *vf)
/** /**
* ice_find_vsi_from_id * ice_find_vsi_from_id
* @pf: the pf structure to search for the VSI * @pf: the PF structure to search for the VSI
* @id: ID of the VSI it is searching for * @id: ID of the VSI it is searching for
* *
* searches for the VSI with the given ID * searches for the VSI with the given ID