net/bnxt: refactor multi-queue Rx configuration
authorSomnath Kotur <somnath.kotur@broadcom.com>
Mon, 26 Apr 2021 06:07:54 +0000 (11:37 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Sun, 2 May 2021 22:14:58 +0000 (00:14 +0200)
commit21b1677d87a23a9695be0cbcbdf38607a2d58f84
treef31d56517db50e015c92f3ab6c86298aa3f3f5a3
parent4b64ccb328c96ebe36b9508bb4f3f07cb1b4847c
net/bnxt: refactor multi-queue Rx configuration

Eliminate separate codepath/handling for single queue
as the multiqueue code path takes care of it as well.
The only difference being the end_grp_id being 1
now instead of 0 for single queue, but that does not matter
for single queue and does not alter any functionality.

Fixes: 6133f207970c ("net/bnxt: add Rx queue create/destroy")
Cc: stable@dpdk.org
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxq.c