]> git.droids-corp.org - dpdk.git/commit
net/bnxt: handle queue stop during RSS flow create
authorSomnath Kotur <somnath.kotur@broadcom.com>
Wed, 27 Apr 2022 14:58:14 +0000 (20:28 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Tue, 10 May 2022 05:13:29 +0000 (07:13 +0200)
commit962a521291e303e54a3b9a766ec43a30e23c2083
tree2cfd2ee8c1bb1dfbdc40df510b76de0f32f141bb
parent447a0721ff9acfc14f5c64c031be7da956e9344a
net/bnxt: handle queue stop during RSS flow create

The programming of the RSS table was not taking into account if
any of the queues in the set were stopped prior to the flow
creation, hence leading to a vnic RSS config cmd failure thrown by
the FW.
Fix by programming only the active queues in the RSS action queue
set.

Fixes: 239695f754cb ("net/bnxt: enhance RSS action support")
Cc: stable@dpdk.org
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
drivers/net/bnxt/bnxt_flow.c