net/hinic: fail initialization for not supported device
authorXiaoyun Wang <cloud.wangxiaoyun@huawei.com>
Sat, 9 May 2020 04:04:15 +0000 (12:04 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 May 2020 20:27:39 +0000 (22:27 +0200)
commit13850e88a40a984847329d37081d1d1bcc4c05af
treef1ddddb79545eea3cc45fa5eae958b628275df37
parent254bd849b132ac8e624dc58edb0f58b18f5e02ef
net/hinic: fail initialization for not supported device

If hardware mode for this card does not support nic,
the network features for this card will not be supported
and driver will be initialized failed.

Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
drivers/net/hinic/base/hinic_pmd_cfg.c
drivers/net/hinic/hinic_pmd_ethdev.c