net/bnxt: fix default Rx queue for Thor
authorLance Richardson <lance.richardson@broadcom.com>
Fri, 4 Oct 2019 03:49:01 +0000 (20:49 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 8 Oct 2019 10:14:32 +0000 (12:14 +0200)
commit13d3780df632259cf62017d0a030cd5de7434ba2
tree22f2ce81f1e81da640b514b46c0b252bc78f4413
parent74721ba062a84a951cb7d3201d61988b7ec54045
net/bnxt: fix default Rx queue for Thor

Use first receive queue assigned to VNIC as the default receive queue
when configuring Thor VNICs. This is necessary e.g. in order for flow
redirection to a specific receive queue to work correctly.

Fixes: f8168ca0e690 ("net/bnxt: support thor controller")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c