Update hinic3 driver, the NIC driver supports the following features:
Supports IPv4/IPv6 TCP/UDP checksum offload, TSO/LRO/RSS.
Supports interrupt aggregation parameter configuration and interrupt adaptation.
Supports 802.1Q VLAN (Virtual Local Area Network) offloading and filtering.
Supports NIC SR-IOV (Single Root I/O Virtualization).
Loopback testing is supported. Support port lighting. Support Ethernet mouth self-negotiation, support pause frame.
Zhou Shuai (1):
net/hinic3: add huawei/hinic3 driver
Documentation/networking/hinic3.rst | 128 +
MAINTAINERS | 25 +-
drivers/net/ethernet/huawei/Kconfig | 1 +
drivers/net/ethernet/huawei/Makefile | 1 +
drivers/net/ethernet/huawei/hinic3/Kconfig | 13 +
drivers/net/ethernet/huawei/hinic3/Makefile | 45 +
.../ethernet/huawei/hinic3/cfg_mgt_comm_pub.h | 212 ++
.../ethernet/huawei/hinic3/comm_cmdq_intf.h | 239 ++
.../net/ethernet/huawei/hinic3/comm_defs.h | 100 +
.../ethernet/huawei/hinic3/comm_msg_intf.h | 664 +++++
.../ethernet/huawei/hinic3/hinic3_comm_cmd.h | 185 ++
.../ethernet/huawei/hinic3/hinic3_common.h | 118 +
.../net/ethernet/huawei/hinic3/hinic3_crm.h | 1162 +++++++++
.../net/ethernet/huawei/hinic3/hinic3_dbg.c | 983 ++++++++
.../net/ethernet/huawei/hinic3/hinic3_dcb.c | 405 ++++
.../net/ethernet/huawei/hinic3/hinic3_dcb.h | 78 +
.../ethernet/huawei/hinic3/hinic3_ethtool.c | 1332 ++++++++++
.../huawei/hinic3/hinic3_ethtool_stats.c | 1259 ++++++++++
.../ethernet/huawei/hinic3/hinic3_filter.c | 483 ++++
.../net/ethernet/huawei/hinic3/hinic3_hw.h | 828 +++++++
.../net/ethernet/huawei/hinic3/hinic3_irq.c | 189 ++
.../net/ethernet/huawei/hinic3/hinic3_lld.h | 205 ++
.../ethernet/huawei/hinic3/hinic3_mag_cfg.c | 953 ++++++++
.../net/ethernet/huawei/hinic3/hinic3_main.c | 1115 +++++++++
.../huawei/hinic3/hinic3_mgmt_interface.h | 1209 ++++++++++
.../net/ethernet/huawei/hinic3/hinic3_mt.h | 681 ++++++
.../huawei/hinic3/hinic3_netdev_ops.c | 1945 +++++++++++++++
.../net/ethernet/huawei/hinic3/hinic3_nic.h | 183 ++
.../ethernet/huawei/hinic3/hinic3_nic_cfg.c | 1608 +++++++++++++
.../ethernet/huawei/hinic3/hinic3_nic_cfg.h | 620 +++++
.../huawei/hinic3/hinic3_nic_cfg_vf.c | 637 +++++
.../ethernet/huawei/hinic3/hinic3_nic_cmd.h | 159 ++
.../ethernet/huawei/hinic3/hinic3_nic_dbg.c | 146 ++
.../ethernet/huawei/hinic3/hinic3_nic_dbg.h | 21 +
.../ethernet/huawei/hinic3/hinic3_nic_dev.h | 387 +++
.../ethernet/huawei/hinic3/hinic3_nic_event.c | 580 +++++
.../ethernet/huawei/hinic3/hinic3_nic_io.c | 1121 +++++++++
.../ethernet/huawei/hinic3/hinic3_nic_io.h | 325 +++
.../ethernet/huawei/hinic3/hinic3_nic_prof.c | 47 +
.../ethernet/huawei/hinic3/hinic3_nic_prof.h | 59 +
.../ethernet/huawei/hinic3/hinic3_nic_qp.h | 384 +++
.../ethernet/huawei/hinic3/hinic3_ntuple.c | 904 +++++++
.../ethernet/huawei/hinic3/hinic3_profile.h | 146 ++
.../net/ethernet/huawei/hinic3/hinic3_rss.c | 971 ++++++++
.../net/ethernet/huawei/hinic3/hinic3_rss.h | 95 +
.../ethernet/huawei/hinic3/hinic3_rss_cfg.c | 384 +++
.../net/ethernet/huawei/hinic3/hinic3_rx.c | 1343 +++++++++++
.../net/ethernet/huawei/hinic3/hinic3_rx.h | 155 ++
.../ethernet/huawei/hinic3/hinic3_srv_nic.h | 213 ++
.../net/ethernet/huawei/hinic3/hinic3_tx.c | 1002 ++++++++
.../net/ethernet/huawei/hinic3/hinic3_tx.h | 157 ++
.../net/ethernet/huawei/hinic3/hinic3_wq.h | 130 +
.../huawei/hinic3/hw/hinic3_api_cmd.c | 1210 ++++++++++
.../huawei/hinic3/hw/hinic3_api_cmd.h | 286 +++
.../ethernet/huawei/hinic3/hw/hinic3_cmdq.c | 1540 ++++++++++++
.../ethernet/huawei/hinic3/hw/hinic3_cmdq.h | 204 ++
.../ethernet/huawei/hinic3/hw/hinic3_common.c | 93 +
.../ethernet/huawei/hinic3/hw/hinic3_csr.h | 187 ++
.../huawei/hinic3/hw/hinic3_dev_mgmt.c | 802 +++++++
.../huawei/hinic3/hw/hinic3_dev_mgmt.h | 105 +
.../huawei/hinic3/hw/hinic3_devlink.c | 392 +++
.../huawei/hinic3/hw/hinic3_devlink.h | 149 ++
.../ethernet/huawei/hinic3/hw/hinic3_eqs.c | 1379 +++++++++++
.../ethernet/huawei/hinic3/hw/hinic3_eqs.h | 164 ++
.../ethernet/huawei/hinic3/hw/hinic3_hw_api.c | 453 ++++
.../ethernet/huawei/hinic3/hw/hinic3_hw_api.h | 141 ++
.../ethernet/huawei/hinic3/hw/hinic3_hw_cfg.c | 1480 ++++++++++++
.../ethernet/huawei/hinic3/hw/hinic3_hw_cfg.h | 332 +++
.../huawei/hinic3/hw/hinic3_hw_comm.c | 1540 ++++++++++++
.../huawei/hinic3/hw/hinic3_hw_comm.h | 51 +
.../ethernet/huawei/hinic3/hw/hinic3_hw_mt.c | 598 +++++
.../ethernet/huawei/hinic3/hw/hinic3_hw_mt.h | 49 +
.../ethernet/huawei/hinic3/hw/hinic3_hwdev.c | 2133 +++++++++++++++++
.../ethernet/huawei/hinic3/hw/hinic3_hwdev.h | 175 ++
.../ethernet/huawei/hinic3/hw/hinic3_hwif.c | 994 ++++++++
.../ethernet/huawei/hinic3/hw/hinic3_hwif.h | 113 +
.../ethernet/huawei/hinic3/hw/hinic3_lld.c | 1383 +++++++++++
.../ethernet/huawei/hinic3/hw/hinic3_mbox.c | 1837 ++++++++++++++
.../ethernet/huawei/hinic3/hw/hinic3_mbox.h | 267 +++
.../ethernet/huawei/hinic3/hw/hinic3_mgmt.c | 1512 ++++++++++++
.../ethernet/huawei/hinic3/hw/hinic3_mgmt.h | 179 ++
.../huawei/hinic3/hw/hinic3_nictool.c | 974 ++++++++
.../huawei/hinic3/hw/hinic3_nictool.h | 35 +
.../huawei/hinic3/hw/hinic3_pci_id_tbl.h | 18 +
.../huawei/hinic3/hw/hinic3_prof_adap.c | 44 +
.../huawei/hinic3/hw/hinic3_prof_adap.h | 109 +
.../ethernet/huawei/hinic3/hw/hinic3_sm_lt.h | 160 ++
.../ethernet/huawei/hinic3/hw/hinic3_sml_lt.c | 160 ++
.../ethernet/huawei/hinic3/hw/hinic3_sriov.c | 267 +++
.../ethernet/huawei/hinic3/hw/hinic3_sriov.h | 35 +
.../net/ethernet/huawei/hinic3/hw/hinic3_wq.c | 157 ++
.../huawei/hinic3/hw/ossl_knl_linux.c | 107 +
drivers/net/ethernet/huawei/hinic3/mag_cmd.h | 818 +++++++
.../ethernet/huawei/hinic3/mgmt_msg_base.h | 27 +
.../net/ethernet/huawei/hinic3/nic_cfg_comm.h | 63 +
drivers/net/ethernet/huawei/hinic3/ossl_knl.h | 35 +
.../ethernet/huawei/hinic3/ossl_knl_linux.h | 269 +++
97 files changed, 49344 insertions(+), 17 deletions(-)
create mode 100644 Documentation/networking/hinic3.rst
create mode 100644 drivers/net/ethernet/huawei/hinic3/Kconfig
create mode 100644 drivers/net/ethernet/huawei/hinic3/Makefile
create mode 100644 drivers/net/ethernet/huawei/hinic3/cfg_mgt_comm_pub.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/comm_cmdq_intf.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/comm_defs.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/comm_msg_intf.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_comm_cmd.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_common.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_crm.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_dbg.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_dcb.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_dcb.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_ethtool_stats.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_filter.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_hw.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_irq.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_lld.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_mag_cfg.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_main.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_mgmt_interface.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_mt.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_nic.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg_vf.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_nic_cmd.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_nic_dbg.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_nic_dbg.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_nic_event.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_nic_prof.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_nic_prof.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_nic_qp.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_ntuple.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_profile.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_rss.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_rss.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_rss_cfg.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_rx.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_rx.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_srv_nic.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_tx.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_tx.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hinic3_wq.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_api_cmd.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_api_cmd.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_cmdq.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_cmdq.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_common.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_csr.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_dev_mgmt.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_dev_mgmt.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_devlink.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_devlink.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_eqs.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_eqs.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_hw_api.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_hw_api.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_hw_cfg.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_hw_cfg.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_hw_comm.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_hw_comm.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_hw_mt.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_hw_mt.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_hwdev.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_hwdev.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_hwif.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_hwif.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_mbox.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_mbox.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_mgmt.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_mgmt.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_nictool.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_nictool.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_pci_id_tbl.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_prof_adap.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_prof_adap.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_sm_lt.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_sml_lt.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_sriov.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_sriov.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/hinic3_wq.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/hw/ossl_knl_linux.c
create mode 100644 drivers/net/ethernet/huawei/hinic3/mag_cmd.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/mgmt_msg_base.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/nic_cfg_comm.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/ossl_knl.h
create mode 100644 drivers/net/ethernet/huawei/hinic3/ossl_knl_linux.h
--
2.24.0