aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e_fcoe.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_fcoe.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_fcoe.c')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_fcoe.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_fcoe.c b/drivers/net/ethernet/intel/i40e/i40e_fcoe.c
index 0357b31e4a5c..1ca48458e668 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_fcoe.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_fcoe.c
@@ -149,7 +149,7 @@ static inline bool i40e_fcoe_xid_is_valid(u16 xid)
149 149
150/** 150/**
151 * i40e_fcoe_ddp_unmap - unmap the mapped sglist associated 151 * i40e_fcoe_ddp_unmap - unmap the mapped sglist associated
152 * @pf: pointer to pf 152 * @pf: pointer to PF
153 * @ddp: sw DDP context 153 * @ddp: sw DDP context
154 * 154 *
155 * Unmap the scatter-gather list associated with the given SW DDP context 155 * Unmap the scatter-gather list associated with the given SW DDP context
@@ -268,7 +268,7 @@ out:
268 268
269/** 269/**
270 * i40e_fcoe_sw_init - sets up the HW for FCoE 270 * i40e_fcoe_sw_init - sets up the HW for FCoE
271 * @pf: pointer to pf 271 * @pf: pointer to PF
272 * 272 *
273 * Returns 0 if FCoE is supported otherwise the error code 273 * Returns 0 if FCoE is supported otherwise the error code
274 **/ 274 **/
@@ -328,7 +328,7 @@ int i40e_init_pf_fcoe(struct i40e_pf *pf)
328 328
329/** 329/**
330 * i40e_get_fcoe_tc_map - Return TC map for FCoE APP 330 * i40e_get_fcoe_tc_map - Return TC map for FCoE APP
331 * @pf: pointer to pf 331 * @pf: pointer to PF
332 * 332 *
333 **/ 333 **/
334u8 i40e_get_fcoe_tc_map(struct i40e_pf *pf) 334u8 i40e_get_fcoe_tc_map(struct i40e_pf *pf)
@@ -1531,7 +1531,7 @@ void i40e_fcoe_config_netdev(struct net_device *netdev, struct i40e_vsi *vsi)
1531 1531
1532/** 1532/**
1533 * i40e_fcoe_vsi_setup - allocate and set up FCoE VSI 1533 * i40e_fcoe_vsi_setup - allocate and set up FCoE VSI
1534 * @pf: the pf that VSI is associated with 1534 * @pf: the PF that VSI is associated with
1535 * 1535 *
1536 **/ 1536 **/
1537void i40e_fcoe_vsi_setup(struct i40e_pf *pf) 1537void i40e_fcoe_vsi_setup(struct i40e_pf *pf)
@@ -1558,7 +1558,7 @@ void i40e_fcoe_vsi_setup(struct i40e_pf *pf)
1558 vsi = i40e_vsi_setup(pf, I40E_VSI_FCOE, seid, 0); 1558 vsi = i40e_vsi_setup(pf, I40E_VSI_FCOE, seid, 0);
1559 if (vsi) { 1559 if (vsi) {
1560 dev_dbg(&pf->pdev->dev, 1560 dev_dbg(&pf->pdev->dev,
1561 "Successfully created FCoE VSI seid %d id %d uplink_seid %d pf seid %d\n", 1561 "Successfully created FCoE VSI seid %d id %d uplink_seid %d PF seid %d\n",
1562 vsi->seid, vsi->id, vsi->uplink_seid, seid); 1562 vsi->seid, vsi->id, vsi->uplink_seid, seid);
1563 } else { 1563 } else {
1564 dev_info(&pf->pdev->dev, "Failed to create FCoE VSI\n"); 1564 dev_info(&pf->pdev->dev, "Failed to create FCoE VSI\n");