net/hns3: fix DCB mode check
authorHuisong Li <lihuisong@huawei.com>
Sat, 17 Apr 2021 09:54:56 +0000 (17:54 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 20 Apr 2021 00:40:43 +0000 (02:40 +0200)
commitedba2e32cbfd3747391031188c6a060ec8e70465
treeae348e640f376bdbec9493e8e0a7c05f393088e7
parent17ff95283fa10c6f296e9008558555ead6d8a3a2
net/hns3: fix DCB mode check

Currently, "ONLY DCB" and "DCB+RSS" mode are both supported by HNS3
PF driver. But the driver verifies only the "DCB+RSS" multiple queues
mode.

Fixes: 62e3ccc2b94c ("net/hns3: support flow control")
Cc: stable@dpdk.org
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_ethdev.c