net/bnxt: fix vector Rx selection
authorLance Richardson <lance.richardson@broadcom.com>
Tue, 19 Nov 2019 22:12:15 +0000 (17:12 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:06 +0000 (17:36 +0100)
commitd9aa878b795bbe18b2587952bcfcd2f371b2d3fe
tree9150bcfccc5c4e45a2b1657ddf14b76624d1ad03
parent41a9d881cb86162e8b4e5795f4fcc86281ebaa05
net/bnxt: fix vector Rx selection

Take DEV_RX_OFFLOAD_RSS_HASH into account when deciding whether vector
mode receive can be enabled.

Fixes: 8b945a7f7dcb ("drivers/net: update Rx RSS hash offload capabilities")

Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c