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 43F3FA04C1; Wed, 20 Nov 2019 00:17:05 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 63F69A69; Wed, 20 Nov 2019 00:17:04 +0100 (CET) Received: from mail-oi1-f195.google.com (mail-oi1-f195.google.com [209.85.167.195]) by dpdk.org (Postfix) with ESMTP id 6B4B49E4 for ; Wed, 20 Nov 2019 00:17:02 +0100 (CET) Received: by mail-oi1-f195.google.com with SMTP id a14so20710275oid.5 for ; Tue, 19 Nov 2019 15:17:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iu+3mrgDb7biooS2/j9RZTX8yGXXLmk5pUK/3W/BZ9s=; b=gSNLQeYT0q/zJmFzh/CCv3e+TJUVwhgDIHyKaKqvjuw7TwK3x8p3fNf++HQYDprsL5 6N5U504QsgeGVBjQnbmp92OlxwAY2Vj+BZrnD+SnT/ajFijU0FxAOuAMBKoVUE1NiDJ/ Q74zBTI8/5c6ADI/VaXNu6L/MqKDyX3oBn9OA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iu+3mrgDb7biooS2/j9RZTX8yGXXLmk5pUK/3W/BZ9s=; b=cmR0voHXHpblvY7tB3IfUG2oacSK/2GwVkZuwkCUJB/cI+QyU90LhZLiDcakbl6Md7 xeh+cHZxCTkf3UfJDdCa4/Yido386GgNDqF6Hvv31CsfqZq6BFSrg7wvaW0tG2QbomAK Q6Z+dyvTZ5PicLAjhMsatQyywPj/gSyZRV0OkvpuKO1Z2ws+mcyYut0kXPklZ7c2N6Gs jH25+ji+fYpgUEJN3l8EfVSI4aN8SSMgQDzfiLwrzLmXRYxfDNSpDVlyFpdS4yoLz/2c +eI/Lb2kBfHouWZ7y7/WZZHjERTUdj7p+wF8UxYMQmb4jMQbg5PM7elhVx419g+V9mrv ObsQ== X-Gm-Message-State: APjAAAVi/vFKcBtrp2iYrtvpz0fPwBG56hKfwWu4yj9j5ux3HbJ0dTs5 flX4Q+W2yf4GctCO96APOD/6EKSEecwSRWw0029y0w== X-Google-Smtp-Source: APXvYqzZQplB01Oa2Jhq3ERtiokktCh5plNM6VEzFR9/tWhT0f+oxc6z5iyOPSNC6AfaeVv7nQ1GWSLRS5tSag7rIGc= X-Received: by 2002:a05:6808:906:: with SMTP id w6mr46629oih.122.1574205421413; Tue, 19 Nov 2019 15:17:01 -0800 (PST) MIME-Version: 1.0 References: <20191119221215.3275-1-lance.richardson@broadcom.com> In-Reply-To: <20191119221215.3275-1-lance.richardson@broadcom.com> From: Ajit Khaparde Date: Tue, 19 Nov 2019 15:16:44 -0800 Message-ID: To: Lance Richardson Cc: dpdk-dev Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [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" On Tue, Nov 19, 2019 at 2:12 PM Lance Richardson < lance.richardson@broadcom.com> wrote: > 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 > Patch applied to dpdk-next-net-brcm. Thanks > --- > 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 > >