Skip to content

Commit fdad1d5

Browse files
alicemicJeff Kirsher
authored andcommitted
iavf: update comments and file checks to match iavf
Some small things were missed with recent name changes from i40e to iavf. Having a separate patch allows to correct the small misses in one place. Signed-off-by: Alice Michael <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 53b7990 commit fdad1d5

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

drivers/net/ethernet/intel/iavf/iavf_client.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ static int iavf_client_setup_qvlist(struct iavf_info *ldev,
498498
}
499499

500500
/**
501-
* iavf_register_client - Register a i40e client driver with the L2 driver
501+
* iavf_register_client - Register a iavf client driver with the L2 driver
502502
* @client: pointer to the iavf_client struct
503503
*
504504
* Returns 0 on success or non-0 on error
@@ -549,7 +549,7 @@ int iavf_register_client(struct iavf_client *client)
549549
EXPORT_SYMBOL(iavf_register_client);
550550

551551
/**
552-
* iavf_unregister_client - Unregister a i40e client driver with the L2 driver
552+
* iavf_unregister_client - Unregister a iavf client driver with the L2 driver
553553
* @client: pointer to the iavf_client struct
554554
*
555555
* Returns 0 on success or non-0 on error

drivers/net/ethernet/intel/iavf/iavf_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ enum iavf_status iavf_aq_set_rss_key(struct iavf_hw *hw, u16 vsi_id,
515515
* IF NOT iavf_ptype_lookup[ptype].known
516516
* THEN
517517
* Packet is unknown
518-
* ELSE IF iavf_ptype_lookup[ptype].outer_ip == I40E_RX_PTYPE_OUTER_IP
518+
* ELSE IF iavf_ptype_lookup[ptype].outer_ip == IAVF_RX_PTYPE_OUTER_IP
519519
* Use the rest of the fields to look at the tunnels, inner protocols, etc
520520
* ELSE
521521
* Use the enum iavf_rx_l2_ptype to decode the packet type

drivers/net/ethernet/intel/iavf/iavf_trace.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
/* See trace-events-sample.h for a detailed description of why this
1818
* guard clause is different from most normal include files.
1919
*/
20-
#if !defined(_I40E_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ)
21-
#define _I40E_TRACE_H_
20+
#if !defined(_IAVF_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ)
21+
#define _IAVF_TRACE_H_
2222

2323
#include <linux/tracepoint.h>
2424

drivers/net/ethernet/intel/iavf/iavf_virtchnl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static int iavf_send_pf_msg(struct iavf_adapter *adapter,
4141
*
4242
* Send API version admin queue message to the PF. The reply is not checked
4343
* in this function. Returns 0 if the message was successfully
44-
* sent, or one of the I40E_ADMIN_QUEUE_ERROR_ statuses if not.
44+
* sent, or one of the IAVF_ADMIN_QUEUE_ERROR_ statuses if not.
4545
**/
4646
int iavf_send_api_ver(struct iavf_adapter *adapter)
4747
{
@@ -123,7 +123,7 @@ int iavf_verify_api_ver(struct iavf_adapter *adapter)
123123
*
124124
* Send VF configuration request admin queue message to the PF. The reply
125125
* is not checked in this function. Returns 0 if the message was
126-
* successfully sent, or one of the I40E_ADMIN_QUEUE_ERROR_ statuses if not.
126+
* successfully sent, or one of the IAVF_ADMIN_QUEUE_ERROR_ statuses if not.
127127
**/
128128
int iavf_send_vf_config_msg(struct iavf_adapter *adapter)
129129
{

0 commit comments

Comments
 (0)