aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e_debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_debugfs.c')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_debugfs.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_debugfs.c b/drivers/net/ethernet/intel/i40e/i40e_debugfs.c
index 305695596ae9..2cc73fea393b 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_debugfs.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_debugfs.c
@@ -35,7 +35,7 @@ static struct dentry *i40e_dbg_root;
35 35
36/** 36/**
37 * i40e_dbg_find_vsi - searches for the vsi with the given seid 37 * i40e_dbg_find_vsi - searches for the vsi with the given seid
38 * @pf - the pf structure to search for the vsi 38 * @pf - the PF structure to search for the vsi
39 * @seid - seid of the vsi it is searching for 39 * @seid - seid of the vsi it is searching for
40 **/ 40 **/
41static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid) 41static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid)
@@ -54,7 +54,7 @@ static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid)
54 54
55/** 55/**
56 * i40e_dbg_find_veb - searches for the veb with the given seid 56 * i40e_dbg_find_veb - searches for the veb with the given seid
57 * @pf - the pf structure to search for the veb 57 * @pf - the PF structure to search for the veb
58 * @seid - seid of the veb it is searching for 58 * @seid - seid of the veb it is searching for
59 **/ 59 **/
60static struct i40e_veb *i40e_dbg_find_veb(struct i40e_pf *pf, int seid) 60static struct i40e_veb *i40e_dbg_find_veb(struct i40e_pf *pf, int seid)
@@ -112,7 +112,7 @@ static ssize_t i40e_dbg_dump_read(struct file *filp, char __user *buffer,
112 112
113/** 113/**
114 * i40e_dbg_prep_dump_buf 114 * i40e_dbg_prep_dump_buf
115 * @pf: the pf we're working with 115 * @pf: the PF we're working with
116 * @buflen: the desired buffer length 116 * @buflen: the desired buffer length
117 * 117 *
118 * Return positive if success, 0 if failed 118 * Return positive if success, 0 if failed
@@ -675,7 +675,7 @@ static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid)
675 vsi->info.resp_reserved[8], vsi->info.resp_reserved[9], 675 vsi->info.resp_reserved[8], vsi->info.resp_reserved[9],
676 vsi->info.resp_reserved[10], vsi->info.resp_reserved[11]); 676 vsi->info.resp_reserved[10], vsi->info.resp_reserved[11]);
677 if (vsi->back) 677 if (vsi->back)
678 dev_info(&pf->pdev->dev, " pf = %p\n", vsi->back); 678 dev_info(&pf->pdev->dev, " PF = %p\n", vsi->back);
679 dev_info(&pf->pdev->dev, " idx = %d\n", vsi->idx); 679 dev_info(&pf->pdev->dev, " idx = %d\n", vsi->idx);
680 dev_info(&pf->pdev->dev, 680 dev_info(&pf->pdev->dev,
681 " tc_config: numtc = %d, enabled_tc = 0x%x\n", 681 " tc_config: numtc = %d, enabled_tc = 0x%x\n",
@@ -946,7 +946,7 @@ static void i40e_dbg_dump_veb_all(struct i40e_pf *pf)
946 946
947/** 947/**
948 * i40e_dbg_cmd_fd_ctrl - Enable/disable FD sideband/ATR 948 * i40e_dbg_cmd_fd_ctrl - Enable/disable FD sideband/ATR
949 * @pf: the pf that would be altered 949 * @pf: the PF that would be altered
950 * @flag: flag that needs enabling or disabling 950 * @flag: flag that needs enabling or disabling
951 * @enable: Enable/disable FD SD/ATR 951 * @enable: Enable/disable FD SD/ATR
952 **/ 952 **/
@@ -958,7 +958,7 @@ static void i40e_dbg_cmd_fd_ctrl(struct i40e_pf *pf, u64 flag, bool enable)
958 pf->flags &= ~flag; 958 pf->flags &= ~flag;
959 pf->auto_disable_flags |= flag; 959 pf->auto_disable_flags |= flag;
960 } 960 }
961 dev_info(&pf->pdev->dev, "requesting a pf reset\n"); 961 dev_info(&pf->pdev->dev, "requesting a PF reset\n");
962 i40e_do_reset_safe(pf, (1 << __I40E_PF_RESET_REQUESTED)); 962 i40e_do_reset_safe(pf, (1 << __I40E_PF_RESET_REQUESTED));
963} 963}
964 964
@@ -2128,8 +2128,8 @@ static const struct file_operations i40e_dbg_netdev_ops_fops = {
2128}; 2128};
2129 2129
2130/** 2130/**
2131 * i40e_dbg_pf_init - setup the debugfs directory for the pf 2131 * i40e_dbg_pf_init - setup the debugfs directory for the PF
2132 * @pf: the pf that is starting up 2132 * @pf: the PF that is starting up
2133 **/ 2133 **/
2134void i40e_dbg_pf_init(struct i40e_pf *pf) 2134void i40e_dbg_pf_init(struct i40e_pf *pf)
2135{ 2135{
@@ -2165,8 +2165,8 @@ create_failed:
2165} 2165}
2166 2166
2167/** 2167/**
2168 * i40e_dbg_pf_exit - clear out the pf's debugfs entries 2168 * i40e_dbg_pf_exit - clear out the PF's debugfs entries
2169 * @pf: the pf that is stopping 2169 * @pf: the PF that is stopping
2170 **/ 2170 **/
2171void i40e_dbg_pf_exit(struct i40e_pf *pf) 2171void i40e_dbg_pf_exit(struct i40e_pf *pf)
2172{ 2172{