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 DB2C6A0565; Tue, 17 Mar 2020 16:46:36 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 93E541C1F2; Tue, 17 Mar 2020 16:40:12 +0100 (CET) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id EFF741C1E8 for ; Tue, 17 Mar 2020 16:40:09 +0100 (CET) Received: by mail-wr1-f66.google.com with SMTP id f3so19325606wrw.7 for ; Tue, 17 Mar 2020 08:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NE1JaKl+27JwLVNXIWxhU8+bgAOqTzfJa9MtL6hBbxU=; b=Zau22AtXRw+2Y3gzfFiLBzAbJ8pjY585yn3L9KnYvCi3v22Zi5z4MtLP/kZi9F0pMx t0BOc8tU9TcxALd5NCS05hfK07iwUvYlMfwQWm2Y50knInGZkdx0WDCwfLpOTBaIFwiR 6b+88UEfWZf8slyzipuiMVY7ay8Gp0plMB1hw= 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:in-reply-to :references; bh=NE1JaKl+27JwLVNXIWxhU8+bgAOqTzfJa9MtL6hBbxU=; b=PQRYr5k9zwvv5MGV0jk9x13G041ICa6KuwKRIZWb3TAsf3lav5YK0s35qnEETdga53 SRu1nAOUYBsqad3nIBOgjv4a6dFdZJdHtXKdfS3hxs4m2j22rrcUkai+3JfJ1EfMT/ES PDq0KHqKOXaILls2wOoWm3mhckRbRGWkLFWW7zoIVdE9ft3UgKYMiXrqcwfEcMmTtVAF TNMDXHpFUOaWLKXKMfY6fmZZ0J+ZaOWRXTYU1dB/Yt1NutS+w9LZ/bjewXkwUv8SzEoZ svqbNgcnRCyKHHl4c1noIvLzQ8WrwYc56CXWSH43HyWdj6C6aRyi0Y8z1b5NkZQQmWHz o8uw== X-Gm-Message-State: ANhLgQ2F9ujpAXJtH7jXIMBxjfn279pYWzgxvb7CHLtaXfg/Vdse1WRA 8VAcrvmIGPErvO92LdvYYw+bwxACuREhfB26TXWGka2xF3hjlvKjC85Mn4ag6FQPo9Gjt/msZma QC7Ijoqj3yeIumuPx8CRjUN+c+j51h8vMoOvVzp3t/xQ9hUoNmo/cTqNW7ecfxSgh68N2 X-Google-Smtp-Source: ADFU+vsBiwds62REjaSa0KDep2Rt1Fw9h3HhCzHYPM6U2tKGPgN5sAgLoaqK5h3UFpKXmHXDZVae0g== X-Received: by 2002:adf:f544:: with SMTP id j4mr6386563wrp.183.1584459608603; Tue, 17 Mar 2020 08:40:08 -0700 (PDT) Received: from S60.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id q4sm5052142wro.56.2020.03.17.08.40.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Mar 2020 08:40:08 -0700 (PDT) From: Venkat Duvvuru To: dev@dpdk.org Cc: Venkat Duvvuru Date: Tue, 17 Mar 2020 21:08:29 +0530 Message-Id: <1584459511-5353-32-git-send-email-venkatkumar.duvvuru@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1584459511-5353-1-git-send-email-venkatkumar.duvvuru@broadcom.com> References: <1584459511-5353-1-git-send-email-venkatkumar.duvvuru@broadcom.com> Subject: [dpdk-dev] [PATCH 31/33] net/bnxt: disable vector mode when BNXT TRUFLOW is enabled 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" clear BNXT_FLAG_RX_VECTOR_PKT_MODE bit in bp->flags when RTE_LIBRTE_BNXT_TRUFLOW is enabled. Signed-off-by: Venkat Duvvuru Reviewed-by: Lance Richardson Reviewed-by: Ajit Kumar Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 7f73fe6..faf76c6 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -758,6 +758,7 @@ bnxt_receive_function(struct rte_eth_dev *eth_dev) { struct bnxt *bp = eth_dev->data->dev_private; +#ifndef RTE_LIBRTE_BNXT_TRUFLOW #ifdef RTE_ARCH_X86 #ifndef RTE_LIBRTE_IEEE1588 /* @@ -790,6 +791,7 @@ bnxt_receive_function(struct rte_eth_dev *eth_dev) eth_dev->data->dev_conf.rxmode.offloads); #endif #endif +#endif bp->flags &= ~BNXT_FLAG_RX_VECTOR_PKT_MODE; return bnxt_recv_pkts; } -- 2.7.4