]> 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)
commitb9242609c55adfcea8f874a5e40614969b224504
tree340c5afa3e2fa807ef65a7dcc7f5c4a7dcc56b51
parent8c2164c9df98b14c7a08f1b9311bfe127d44fa79
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