[PATCH net-next v1 0/3] hinic: add SR-IOV support
From: Luo bin
Date: Sat Apr 25 2020 - 05:04:48 EST
patch #1 adds mailbox channel support and vf can
communicate with pf or hw through it.
patch #2 adds support for enabling vf and tx/rx
capabilities based on vf.
patch #3 adds support for vf's basic configurations.
Luo bin (3):
hinic: add mailbox function support
hinic: add sriov feature support
hinic: add net_device_ops associated with vf
drivers/net/ethernet/huawei/hinic/Makefile | 2 +-
drivers/net/ethernet/huawei/hinic/hinic_dev.h | 3 +
.../net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 18 +-
.../net/ethernet/huawei/hinic/hinic_hw_cmdq.h | 2 +-
.../net/ethernet/huawei/hinic/hinic_hw_csr.h | 2 +-
.../net/ethernet/huawei/hinic/hinic_hw_dev.c | 148 +-
.../net/ethernet/huawei/hinic/hinic_hw_dev.h | 48 +
.../net/ethernet/huawei/hinic/hinic_hw_eqs.c | 98 +-
.../net/ethernet/huawei/hinic/hinic_hw_eqs.h | 7 +-
.../net/ethernet/huawei/hinic/hinic_hw_if.c | 46 +-
.../net/ethernet/huawei/hinic/hinic_hw_if.h | 18 +
.../net/ethernet/huawei/hinic/hinic_hw_io.c | 49 +
.../net/ethernet/huawei/hinic/hinic_hw_io.h | 23 +-
.../net/ethernet/huawei/hinic/hinic_hw_mbox.c | 1213 +++++++++++++++++
.../net/ethernet/huawei/hinic/hinic_hw_mbox.h | 154 +++
.../net/ethernet/huawei/hinic/hinic_hw_mgmt.c | 17 +-
.../net/ethernet/huawei/hinic/hinic_hw_mgmt.h | 12 +-
.../net/ethernet/huawei/hinic/hinic_hw_qp.c | 7 +-
.../net/ethernet/huawei/hinic/hinic_hw_qp.h | 4 +-
.../net/ethernet/huawei/hinic/hinic_hw_wq.c | 9 +-
.../net/ethernet/huawei/hinic/hinic_hw_wq.h | 6 +-
.../net/ethernet/huawei/hinic/hinic_main.c | 120 +-
.../net/ethernet/huawei/hinic/hinic_port.c | 76 +-
.../net/ethernet/huawei/hinic/hinic_port.h | 4 +-
drivers/net/ethernet/huawei/hinic/hinic_rx.c | 15 +-
.../net/ethernet/huawei/hinic/hinic_sriov.c | 1016 ++++++++++++++
.../net/ethernet/huawei/hinic/hinic_sriov.h | 102 ++
drivers/net/ethernet/huawei/hinic/hinic_tx.c | 17 +-
28 files changed, 3033 insertions(+), 203 deletions(-)
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.h
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_sriov.c
create mode 100644 drivers/net/ethernet/huawei/hinic/hinic_sriov.h
--
2.17.1