net/hinic/base: remove queue number limitation
authorGuoyang Zhou <zhouguoyang@huawei.com>
Tue, 24 Nov 2020 06:45:33 +0000 (14:45 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 25 Nov 2020 22:54:09 +0000 (23:54 +0100)
commitacf4aeafcef7baf187d980041ab9b23aa56733c1
treeb23422a50e45247931d3aee466a86895c6e6c063
parent29485dd07bc3f6d6094cbe96f5d9126e52d744aa
net/hinic/base: remove queue number limitation

The maximum number of queues on the chip can be any value greater
than 0, it does not have to be the power of two, if it does not be
fixed, dpdk initialization may be failed with OVS mode firmware.

Fixes: 828d3e15a9dc ("net/hinic/base: support context and work queue")
Cc: stable@dpdk.org
Signed-off-by: Guoyang Zhou <zhouguoyang@huawei.com>
drivers/net/hinic/base/hinic_pmd_nicio.c