[PATCH net-next 0/3] hinic: add SR-IOV support
From: Luo bin
Date: Tue Apr 21 2020 - 08:40:07 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 | 5 -
.../net/ethernet/huawei/hinic/hinic_hw_csr.h | 2 +-
.../net/ethernet/huawei/hinic/hinic_hw_dev.c | 141 +-
.../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 | 1 +
.../net/ethernet/huawei/hinic/hinic_hw_io.h | 6 +-
.../net/ethernet/huawei/hinic/hinic_hw_mbox.c | 1217 +++++++++++++++++
.../net/ethernet/huawei/hinic/hinic_hw_mbox.h | 154 +++
.../net/ethernet/huawei/hinic/hinic_hw_mgmt.c | 13 +-
.../net/ethernet/huawei/hinic/hinic_hw_mgmt.h | 10 +-
.../net/ethernet/huawei/hinic/hinic_main.c | 100 +-
.../net/ethernet/huawei/hinic/hinic_port.c | 75 +-
.../net/ethernet/huawei/hinic/hinic_port.h | 4 +-
drivers/net/ethernet/huawei/hinic/hinic_rx.c | 15 +-
.../net/ethernet/huawei/hinic/hinic_sriov.c | 1007 ++++++++++++++
.../net/ethernet/huawei/hinic/hinic_sriov.h | 102 ++
drivers/net/ethernet/huawei/hinic/hinic_tx.c | 17 +-
23 files changed, 2909 insertions(+), 182 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