From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BE9A1A0353; Tue, 19 Nov 2019 23:12:37 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D77F19E4; Tue, 19 Nov 2019 23:12:36 +0100 (CET) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by dpdk.org (Postfix) with ESMTP id EA37C2AB for ; Tue, 19 Nov 2019 23:12:35 +0100 (CET) Received: by mail-wm1-f66.google.com with SMTP id z26so4923283wmi.4 for ; Tue, 19 Nov 2019 14:12:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=6nn0xQiYUYPfbEC9aLVF0J7eAG/vlc/DGislrM/BB70=; b=KctcIxz1jMnqEjXe3NfdCTUzSULAsjOa/cRksbJbBmBdTnvp5Zsy45DxCq+cNiljL8 HSk1j5EEY7/EK3aLLRV/fvVZw5wGEqrizpyZU7Kkfb3zIVq1z3yA/UFe2CdUp1KZLbyK FR/6tdCyaDzeTLDKyPaPjSxnoV960epj9Ka7M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=6nn0xQiYUYPfbEC9aLVF0J7eAG/vlc/DGislrM/BB70=; b=tkdTazd3LBHUEG3C01ukDC1aMOo0trlquEGcYr4v2qk6MlYKCW12h8TSEItZlewryf KFmjnImg6cO7NjgA5CtwJGiy+To4NLXWQRwWXVtGig+OJOhvhZKz2DmIzydVp7GyYqHV 1UmghTk/WgeqNQnVcOvdhO/OPOJ2xfEkZwKinoRUpijrqGItEu8hmcdOIy4Pzx1tzMuP bvVVColiDKWjpUwxspy3c26taiE1EWvDtFW0vLawSeZiCoFS8MD9ZrF0hhqQhRv0pHxr mmSNBWYU8Dad1iYbAC5eN1fIZO/eUdMA1xeCB0rdbDLhbC/QGI6eELwh0/Xes67brLL4 +Bsg== X-Gm-Message-State: APjAAAWXepOoGyf6IYZYjCHpsn8U8TD6y+4EeaKcQAs3/IEsK9ZFLh7s 1NgaQohxFoZgNGkF7mZ6eggvsddsNE9DKU61fYGpnqx97bgubGR4IYBTWLGImZrkA2+HNNELVNA g+EFscodHUssT4Ug7wv2by8TbHnqUUKMh9pc4KM41ML4wGGCkZcrY933HMH1d/RBs X-Google-Smtp-Source: APXvYqwJr3rPZLOZPMRne/RLyoZRKUBq4a0rAPI1ZxVO8wpkeu4TogKLLkJiienrd6mCQk1GMcdk3Q== X-Received: by 2002:a1c:a404:: with SMTP id n4mr90162wme.135.1574201555306; Tue, 19 Nov 2019 14:12:35 -0800 (PST) Received: from localhost.localdomain ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id x205sm5005789wmb.5.2019.11.19.14.12.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Nov 2019 14:12:34 -0800 (PST) From: Lance Richardson To: dev@dpdk.org Cc: ajit.khaparde@broadcom.com, Lance Richardson Date: Tue, 19 Nov 2019 17:12:15 -0500 Message-Id: <20191119221215.3275-1-lance.richardson@broadcom.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] net/bnxt: fix vector receive check X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index b1e831b87..41848f36f 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); -- 2.17.1