linux-stable/drivers/net/ethernet/hisilicon/hns3/hns3pf
Guangbin Huang 4cc86cb58a net: hns3: use capabilities queried from firmware
In order to improve code maintainability and compatibility, the
capabilities of new features are queried from firmware.

The member flag in struct hnae3_ae_dev indicates not only
capabilities, but some initialized status. As capabilities bits
queried from firmware is too many, it is better to use new member
to indicate them. So adds member capabs in struce hnae3_ae_dev.

Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-27 13:25:22 -07:00
..
hclge_cmd.c net: hns3: use capabilities queried from firmware 2020-09-27 13:25:22 -07:00
hclge_cmd.h net: hns3: use capabilities queried from firmware 2020-09-27 13:25:22 -07:00
hclge_dcb.c drivers/net/ethernet: rid ethernet of no-prototype warnings 2020-09-25 16:29:00 -07:00
hclge_dcb.h net: hns3: Use the correct style for SPDX License Identifier 2019-11-05 17:45:38 -08:00
hclge_debugfs.c net: hns3: add debugfs of dumping pf interrupt resources 2020-09-24 20:19:25 -07:00
hclge_debugfs.h net: hns3: Constify static structs 2020-09-23 17:31:50 -07:00
hclge_err.c net: hns3: delete redundant PCI revision judgement 2020-09-27 13:25:22 -07:00
hclge_err.h net: hns3: remove a redundant register macro definition 2020-05-10 19:43:22 -07:00
hclge_main.c net: hns3: use capability flag to indicate FEC 2020-09-27 13:25:22 -07:00
hclge_main.h net: hns3: add support for 200G device 2020-09-24 20:19:25 -07:00
hclge_mbx.c mm, treewide: rename kzfree() to kfree_sensitive() 2020-08-07 11:33:22 -07:00
hclge_mdio.c net: hns3: fix a print format issue in hclge_mac_mdio_config() 2020-05-30 17:41:22 -07:00
hclge_mdio.h net: hns3: Use the correct style for SPDX License Identifier 2019-11-05 17:45:38 -08:00
hclge_tm.c net: hns3: remove unnecessary variable initialization 2020-09-24 20:19:24 -07:00
hclge_tm.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-09 11:04:37 -08:00
hclge_trace.h net: hns3: add trace event support for PF/VF mailbox 2020-04-20 12:49:18 -07:00
Makefile net: hns3: add trace event support for PF/VF mailbox 2020-04-20 12:49:18 -07:00