summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Richardson <lance.richardson@broadcom.com>2019-11-19 17:12:15 -0500
committerFerruh Yigit <ferruh.yigit@intel.com>2019-11-20 17:36:06 +0100
commitd9aa878b795bbe18b2587952bcfcd2f371b2d3fe (patch)
tree9150bcfccc5c4e45a2b1657ddf14b76624d1ad03
parent41a9d881cb86162e8b4e5795f4fcc86281ebaa05 (diff)
downloaddpdk-next-net-intel-d9aa878b795bbe18b2587952bcfcd2f371b2d3fe.zip
dpdk-next-net-intel-d9aa878b795bbe18b2587952bcfcd2f371b2d3fe.tar.gz
dpdk-next-net-intel-d9aa878b795bbe18b2587952bcfcd2f371b2d3fe.tar.xz
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>
-rw-r--r--drivers/net/bnxt/bnxt_ethdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
index b1e831b..41848f3 100644
--- a/drivers/net/bnxt/bnxt_ethdev.c
+++ b/drivers/net/bnxt/bnxt_ethdev.c
@@ -758,6 +758,7 @@ bnxt_receive_function(__rte_unused struct rte_eth_dev *eth_dev)
DEV_RX_OFFLOAD_UDP_CKSUM |
DEV_RX_OFFLOAD_TCP_CKSUM |
DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM |
+ DEV_RX_OFFLOAD_RSS_HASH |
DEV_RX_OFFLOAD_VLAN_FILTER))) {
PMD_DRV_LOG(INFO, "Using vector mode receive for port %d\n",
eth_dev->data->port_id);