net/hinic/base: get default cos from chip
authorXiaoyun Wang <cloud.wangxiaoyun@huawei.com>
Mon, 14 Sep 2020 14:31:45 +0000 (22:31 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:09 +0000 (19:19 +0200)
commitd40023605420ca35b027036c134a43ca41c8e74f
tree741c1336a01a70e87a596d5fbd949fe56ee3fa21
parent3930d9ceaff9d0c2c86d39d52b007404f42b44b4
net/hinic/base: get default cos from chip

Get default cos of pf driver from chip configuration file.

Fixes: 6691acef0d3d ("net/hinic: support VF")
Cc: stable@dpdk.org
Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
drivers/net/hinic/base/hinic_pmd_cfg.c
drivers/net/hinic/base/hinic_pmd_cfg.h
drivers/net/hinic/hinic_pmd_ethdev.c