aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e_common.c
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-02-27 04:18:34 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-03-09 08:20:47 -0400
commitb40c82e6ae85f110d1b53ba24b2ac657cb7bec8c (patch)
tree948a2fa82b482cf4245d4f29203d07d2b945860b /drivers/net/ethernet/intel/i40e/i40e_common.c
parent29a0645c7dfcd664f1e92ab8d7539bba600b7102 (diff)
i40e: Fix inconsistent use of PF/VF vs pf/vf
Joe Perches pointed out that we were inconsistent in the use of PF vs pf or VF vs vf in our driver code. Since acronyms are usually capitalized to denote that it is an acronym, changed all references to be consistent throughout the code. Reported-by: Joe Perches <joe@perches.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
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