net/qede: refactor Rx and Tx queue setup
authorShahed Shaikh <shshaikh@marvell.com>
Thu, 12 Sep 2019 15:24:12 +0000 (08:24 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 20 Sep 2019 08:19:41 +0000 (10:19 +0200)
commit642f25da9c561f6e831cb5ea6f7d79c04d804081
tree79f26fe152209f11dcd87a65283f0c1832cbfb47
parent94a24aaf6c5bd0a03c2828e7411d30a4fc0ac075
net/qede: refactor Rx and Tx queue setup

This patch refactors Rx and Tx queue setup flow required to allow
odd number of queues to be configured in next patch.

This is the first patch of the series required to fix an issue
where qede port initialization in ovs-dpdk fails due to 1 Rx/Tx queue
configuration. Detailed explanation is given in next patch.

Fixes: 2af14ca79c0a ("net/qede: support 100G")
Cc: stable@dpdk.org
Signed-off-by: Shahed Shaikh <shshaikh@marvell.com>
drivers/net/qede/qede_rxtx.c