[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200425012111.4297-1-luobin9@huawei.com>
Date: Sat, 25 Apr 2020 01:21:08 +0000
From: Luo bin <luobin9@...wei.com>
To: <davem@...emloft.net>
CC: <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>,
<luoxianjun@...wei.com>, <luobin9@...wei.com>,
<yin.yinshi@...wei.com>, <cloud.wangxiaoyun@...wei.com>
Subject: [PATCH net-next v1 0/3] hinic: add SR-IOV support
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
Powered by blists - more mailing lists