Update hinic driver, the NIC driver supports the following features:
Supports IPv4/IPv6 TCP/UDP checksum offload, TSO (TCP Segmentation Offload), LRO (Large Receive Offload) offload and RSS (Receive Side Scaling) functions
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).
Support PF promiscuous mode, unicast list filtering, multicast list filtering, and full multicast mode. Support VF unicast list filtering, multicast list filtering, and full multicast mode.
Supports VF QinQ mode. Supports VF link state configuration and QoS configuration. Support VF MAC address management. Support VF spoofchk check.
Loopback testing is supported. Support port lighting. Support Ethernet mouth self-negotiation, support pause frame.
Zhou Shuai (1):
net/hinic: Update Huawei Intelligent Network Card Driver: hinic
drivers/net/ethernet/huawei/hinic/Makefile | 14 +-
.../net/ethernet/huawei/hinic/hinic_api_cmd.c | 1164 ++++
.../net/ethernet/huawei/hinic/hinic_api_cmd.h | 298 +
drivers/net/ethernet/huawei/hinic/hinic_cfg.c | 2478 ++++++++
drivers/net/ethernet/huawei/hinic/hinic_cfg.h | 526 ++
.../net/ethernet/huawei/hinic/hinic_cmdq.c | 1575 ++++++
.../net/ethernet/huawei/hinic/hinic_cmdq.h | 217 +
.../net/ethernet/huawei/hinic/hinic_common.c | 71 -
.../net/ethernet/huawei/hinic/hinic_common.h | 29 -
drivers/net/ethernet/huawei/hinic/hinic_csr.h | 207 +
.../net/ethernet/huawei/hinic/hinic_ctx_def.h | 242 +
drivers/net/ethernet/huawei/hinic/hinic_dbg.h | 93 +
.../ethernet/huawei/hinic/hinic_dbgtool_knl.c | 899 +++
.../ethernet/huawei/hinic/hinic_dbgtool_knl.h | 120 +
drivers/net/ethernet/huawei/hinic/hinic_dcb.c | 1795 ++++++
drivers/net/ethernet/huawei/hinic/hinic_dcb.h | 67 +
.../net/ethernet/huawei/hinic/hinic_debugfs.c | 324 --
.../net/ethernet/huawei/hinic/hinic_debugfs.h | 113 -
drivers/net/ethernet/huawei/hinic/hinic_dev.h | 132 -
.../net/ethernet/huawei/hinic/hinic_devlink.c | 584 --
.../net/ethernet/huawei/hinic/hinic_devlink.h | 119 -
.../net/ethernet/huawei/hinic/hinic_dfx_def.h | 150 +
drivers/net/ethernet/huawei/hinic/hinic_eqs.c | 1462 +++++
drivers/net/ethernet/huawei/hinic/hinic_eqs.h | 177 +
.../net/ethernet/huawei/hinic/hinic_ethtool.c | 3078 ++++++----
drivers/net/ethernet/huawei/hinic/hinic_hw.h | 770 +++
.../ethernet/huawei/hinic/hinic_hw_api_cmd.c | 987 ----
.../ethernet/huawei/hinic/hinic_hw_api_cmd.h | 203 -
.../net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 963 ----
.../net/ethernet/huawei/hinic/hinic_hw_cmdq.h | 185 -
.../net/ethernet/huawei/hinic/hinic_hw_csr.h | 139 -
.../net/ethernet/huawei/hinic/hinic_hw_dev.c | 1197 ----
.../net/ethernet/huawei/hinic/hinic_hw_dev.h | 660 ---
.../net/ethernet/huawei/hinic/hinic_hw_eqs.c | 996 ----
.../net/ethernet/huawei/hinic/hinic_hw_eqs.h | 262 -
.../net/ethernet/huawei/hinic/hinic_hw_if.c | 419 --
.../net/ethernet/huawei/hinic/hinic_hw_if.h | 295 -
.../net/ethernet/huawei/hinic/hinic_hw_io.c | 634 ---
.../net/ethernet/huawei/hinic/hinic_hw_io.h | 123 -
.../net/ethernet/huawei/hinic/hinic_hw_mbox.h | 172 -
.../net/ethernet/huawei/hinic/hinic_hw_mgmt.c | 681 ---
.../net/ethernet/huawei/hinic/hinic_hw_mgmt.h | 636 ++-
.../net/ethernet/huawei/hinic/hinic_hw_qp.c | 971 ----
.../net/ethernet/huawei/hinic/hinic_hw_qp.h | 232 -
.../ethernet/huawei/hinic/hinic_hw_qp_ctxt.h | 210 -
.../net/ethernet/huawei/hinic/hinic_hw_wq.c | 904 ---
.../net/ethernet/huawei/hinic/hinic_hw_wq.h | 111 -
.../net/ethernet/huawei/hinic/hinic_hw_wqe.h | 430 --
.../net/ethernet/huawei/hinic/hinic_hwdev.c | 5001 +++++++++++++++++
.../net/ethernet/huawei/hinic/hinic_hwdev.h | 370 ++
.../net/ethernet/huawei/hinic/hinic_hwif.c | 1005 ++++
.../net/ethernet/huawei/hinic/hinic_hwif.h | 123 +
drivers/net/ethernet/huawei/hinic/hinic_lld.c | 2923 ++++++++++
drivers/net/ethernet/huawei/hinic/hinic_lld.h | 128 +
.../net/ethernet/huawei/hinic/hinic_main.c | 3850 +++++++++----
.../hinic/{hinic_hw_mbox.c => hinic_mbox.c} | 1267 +++--
.../net/ethernet/huawei/hinic/hinic_mbox.h | 241 +
.../net/ethernet/huawei/hinic/hinic_mgmt.c | 1446 +++++
.../net/ethernet/huawei/hinic/hinic_mgmt.h | 245 +
.../huawei/hinic/hinic_mgmt_interface.h | 987 ++++
.../ethernet/huawei/hinic/hinic_msix_attr.c | 130 +
.../ethernet/huawei/hinic/hinic_msix_attr.h | 69 +
.../huawei/hinic/hinic_multi_host_mgmt.c | 972 ++++
.../huawei/hinic/hinic_multi_host_mgmt.h | 107 +
drivers/net/ethernet/huawei/hinic/hinic_nic.h | 115 +
.../net/ethernet/huawei/hinic/hinic_nic_cfg.c | 3996 +++++++++++++
.../net/ethernet/huawei/hinic/hinic_nic_cfg.h | 638 +++
.../net/ethernet/huawei/hinic/hinic_nic_dbg.c | 294 +
.../net/ethernet/huawei/hinic/hinic_nic_dev.h | 289 +
.../net/ethernet/huawei/hinic/hinic_nic_io.c | 1047 ++++
.../net/ethernet/huawei/hinic/hinic_nic_io.h | 99 +
.../net/ethernet/huawei/hinic/hinic_nictool.c | 2503 +++++++++
.../net/ethernet/huawei/hinic/hinic_nictool.h | 277 +
.../ethernet/huawei/hinic/hinic_pci_id_tbl.h | 40 +
.../net/ethernet/huawei/hinic/hinic_port.c | 1412 -----
.../net/ethernet/huawei/hinic/hinic_port.h | 900 ---
.../ethernet/huawei/hinic/hinic_port_cmd.h | 541 ++
.../net/ethernet/huawei/hinic/hinic_qe_def.h | 459 ++
drivers/net/ethernet/huawei/hinic/hinic_qp.c | 222 +
drivers/net/ethernet/huawei/hinic/hinic_qp.h | 143 +
drivers/net/ethernet/huawei/hinic/hinic_rx.c | 1342 +++--
drivers/net/ethernet/huawei/hinic/hinic_rx.h | 126 +-
.../net/ethernet/huawei/hinic/hinic_sm_lt.h | 228 +
.../ethernet/huawei/hinic/hinic_sml_counter.c | 310 +
.../ethernet/huawei/hinic/hinic_sml_counter.h | 119 +
.../net/ethernet/huawei/hinic/hinic_sml_lt.c | 286 +
.../net/ethernet/huawei/hinic/hinic_sriov.c | 1535 ++---
.../net/ethernet/huawei/hinic/hinic_sriov.h | 98 +-
drivers/net/ethernet/huawei/hinic/hinic_tx.c | 1426 +++--
drivers/net/ethernet/huawei/hinic/hinic_tx.h | 127 +-
drivers/net/ethernet/huawei/hinic/hinic_wq.c | 683 +++
drivers/net/ethernet/huawei/hinic/hinic_wq.h | 117 +
drivers/net/ethernet/huawei/hinic/ossl_knl.h | 63 +
93 files changed, 46545 insertions(+), 19868 deletions(-)
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_api_cmd.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_cfg.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_cfg.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_cmdq.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_cmdq.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_common.c
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_common.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_csr.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_ctx_def.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_dbg.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_dcb.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_dcb.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_debugfs.c
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_debugfs.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_dev.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_devlink.c
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_devlink.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_dfx_def.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_eqs.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_eqs.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_csr.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_if.c
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_io.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.c
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.c
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_wq.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hwdev.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hwdev.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hwif.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hwif.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_lld.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_lld.h
rename drivers/net/ethernet/huawei/hinic/{hinic_hw_mbox.c => hinic_mbox.c} (58%)
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_mbox.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_mgmt.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_mgmt.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_mgmt_interface.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_msix_attr.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_msix_attr.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_multi_host_mgmt.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_multi_host_mgmt.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_nic.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_nic_dbg.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_nic_dev.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_nic_io.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_nic_io.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_nictool.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_nictool.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_pci_id_tbl.h
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_port.c
delete mode 100644 drivers/net/ethernet/huawei/hinic/hinic_port.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_port_cmd.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_qe_def.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_qp.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_qp.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_sm_lt.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_sml_counter.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_wq.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_wq.h
create mode 100644 drivers/net/ethernet/huawei/hinic/ossl_knl.h
--
2.24.0