mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
net: hns3: fix an incorrect comment for num_tqps in struct hclgevf_dev
struct hclgevf_dev stands for VF device, its field num_tqps indicates the number of VF's task queue pairs, so the comment is incorrect, replace 'PF' with 'VF'. Reported-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fc68aed156
commit
ec4d939220
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ struct hclgevf_dev {
|
|||
struct semaphore reset_sem; /* protect reset process */
|
||||
|
||||
u32 fw_version;
|
||||
u16 num_tqps; /* num task queue pairs of this PF */
|
||||
u16 num_tqps; /* num task queue pairs of this VF */
|
||||
|
||||
u16 alloc_rss_size; /* allocated RSS task queue */
|
||||
u16 rss_size_max; /* HW defined max RSS task queue */
|
||||
|
|
Loading…
Add table
Reference in a new issue