]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: fix an incorrect comment for num_tqps in struct hclgevf_dev
authorHuazhong Tan <tanhuazhong@huawei.com>
Sat, 30 May 2020 01:08:30 +0000 (09:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 31 May 2020 00:41:22 +0000 (17:41 -0700)
commitcd6c23c0eabf5d719b34478e1a9d28ef8cd0a62c
tree340c5afa3e2fa807ef65a7dcc7f5c4a7dcc56b51
parent23ed631af7bb475c19d128a5b453a69425feaed2
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>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h