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

HNS3 PF driver only supports RSS, DCB or NONE multiple queues mode.
Currently, driver doesn't verify the VMDq multi-queue mode completely.
This patch fixes the verification for VMDq 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