]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: replace macro of max qset number with specification
authorGuangbin Huang <huangguangbin2@huawei.com>
Fri, 5 Feb 2021 08:32:49 +0000 (16:32 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Feb 2021 22:36:05 +0000 (14:36 -0800)
commitf3d527004dc00be0369856d4d7b557af8eafd55c
tree5768544be0b1f2159a336aaabd991c046abb14f1
parenta61a3c51aa7f39f9235be3e509e00a5e2cd1a945
net: hns3: replace macro of max qset number with specification

The max qset number is a fixed value now and it is defined by a macro.
In order to support other value in different kinds of device, it is
better to use specification queried from firmware to replace macro.

Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h