net/hinic/base: add HW interfaces for SR-IOV
authorXiaoyun Wang <cloud.wangxiaoyun@huawei.com>
Thu, 10 Oct 2019 14:51:46 +0000 (22:51 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:08 +0000 (16:43 +0200)
commitb8582d051af1b9b696b963a81ded9a585e497c40
treef4c8227f90a7277a128c885d3f24485af31ccf1d
parentce07a121c7975e9a984365dc5f2a3fa2867696cc
net/hinic/base: add HW interfaces for SR-IOV

This patch introduces some HW interfaces required for SR-IOV function,
including: init hwdev, set port state, get default cos,
VF DMA attribute table, VF txrx flush and so on.

Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
14 files changed:
drivers/net/hinic/base/hinic_compat.h
drivers/net/hinic/base/hinic_pmd_api_cmd.c
drivers/net/hinic/base/hinic_pmd_cfg.c
drivers/net/hinic/base/hinic_pmd_cmd.h
drivers/net/hinic/base/hinic_pmd_hwdev.c
drivers/net/hinic/base/hinic_pmd_hwdev.h
drivers/net/hinic/base/hinic_pmd_hwif.c
drivers/net/hinic/base/hinic_pmd_hwif.h
drivers/net/hinic/base/hinic_pmd_mgmt.c
drivers/net/hinic/base/hinic_pmd_mgmt.h
drivers/net/hinic/base/hinic_pmd_niccfg.c
drivers/net/hinic/base/hinic_pmd_niccfg.h
drivers/net/hinic/base/hinic_pmd_nicio.c
drivers/net/hinic/base/hinic_pmd_nicio.h