aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_common.c')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_common.c b/drivers/net/ethernet/intel/i40e/i40e_common.c
index 2ca3d0959a3c..d9f1fcb9c2be 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_common.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_common.c
@@ -691,7 +691,7 @@ i40e_status i40e_get_port_mac_addr(struct i40e_hw *hw, u8 *mac_addr)
691/** 691/**
692 * i40e_pre_tx_queue_cfg - pre tx queue configure 692 * i40e_pre_tx_queue_cfg - pre tx queue configure
693 * @hw: pointer to the HW structure 693 * @hw: pointer to the HW structure
694 * @queue: target pf queue index 694 * @queue: target PF queue index
695 * @enable: state change request 695 * @enable: state change request
696 * 696 *
697 * Handles hw requirement to indicate intention to enable 697 * Handles hw requirement to indicate intention to enable
@@ -955,7 +955,7 @@ void i40e_clear_hw(struct i40e_hw *hw)
955 u32 val; 955 u32 val;
956 u32 eol = 0x7ff; 956 u32 eol = 0x7ff;
957 957
958 /* get number of interrupts, queues, and vfs */ 958 /* get number of interrupts, queues, and VFs */
959 val = rd32(hw, I40E_GLPCI_CNF2); 959 val = rd32(hw, I40E_GLPCI_CNF2);
960 num_pf_int = (val & I40E_GLPCI_CNF2_MSI_X_PF_N_MASK) >> 960 num_pf_int = (val & I40E_GLPCI_CNF2_MSI_X_PF_N_MASK) >>
961 I40E_GLPCI_CNF2_MSI_X_PF_N_SHIFT; 961 I40E_GLPCI_CNF2_MSI_X_PF_N_SHIFT;
@@ -2081,7 +2081,7 @@ i40e_status i40e_aq_remove_macvlan(struct i40e_hw *hw, u16 seid,
2081/** 2081/**
2082 * i40e_aq_send_msg_to_vf 2082 * i40e_aq_send_msg_to_vf
2083 * @hw: pointer to the hardware structure 2083 * @hw: pointer to the hardware structure
2084 * @vfid: vf id to send msg 2084 * @vfid: VF id to send msg
2085 * @v_opcode: opcodes for VF-PF communication 2085 * @v_opcode: opcodes for VF-PF communication
2086 * @v_retval: return error code 2086 * @v_retval: return error code
2087 * @msg: pointer to the msg buffer 2087 * @msg: pointer to the msg buffer