From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 19F1AA0A0C for ; Fri, 2 Jul 2021 03:24:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D70E74003E; Fri, 2 Jul 2021 03:24:28 +0200 (CEST) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mails.dpdk.org (Postfix) with ESMTP id 085484003E for ; Fri, 2 Jul 2021 03:24:28 +0200 (CEST) Received: by mail-pg1-f169.google.com with SMTP id w15so7974878pgk.13 for ; Thu, 01 Jul 2021 18:24:27 -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 :mime-version; bh=pJSWc73Q1pNbv1UT131vrj4LVRof94FRJBy1zgRoMiA=; b=Z8HMypizc+7U7RRxzqU0UMRIC7zFiefrwueRjndFFy0tj3Fp+1SEJJ5AUnX0u1n3Hh BU+XX5pXBNP5pAHjA1A9A1OAoBHT4VvjIwYHPFJS+Bh0EPHKtYUkvvvb54IvNmmz3Urr SpTBUhKx4BfTqG/CkG+NBat/xkhfENNd25qhA= 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:mime-version; bh=pJSWc73Q1pNbv1UT131vrj4LVRof94FRJBy1zgRoMiA=; b=rO0bSpt2tS0X3v+TOZx4zqoPIcgywN6M104wtjMtIWnfe6rJePlw22ImGFvMBGqaxX LpRBXhJqIk1TeNJ4du0K0iQpbBNaYD7tUis7hYSsqQtqo1T4BBGTeQAzyZ1HokCtTIEM pInr08n17e2N5S3Lpym7TiYwM54Xur3hp5UzVWqMFAme9A4L0xYTFhE4/yVqrty3HLxl 8Mw57dlWscaL0griceH4wKXd8lCPqi5OdS5doLDVwrGWY+PMUA4eLP+ry//ERXrJDd1A sTgtrP64/SQ80GJWCAHa0oim1HweXAyTuS5tO+j5fPybYblg7/SEVOV57DqoNWymDYjk Z4VA== X-Gm-Message-State: AOAM532M+JVNffw8L3futXlcs3I6ZoqfQc7+J5F1a7ZXySkZkD7MccVN uX0Qate+u/bueTete3MoYV8eWA== X-Google-Smtp-Source: ABdhPJylkthvr2+VMlh7X2tlRFdzorM4zm5Gdgu6HGmgb+LrDXq3zM0re8kEJhG8xMs4mKUm6ZNmgw== X-Received: by 2002:a62:7612:0:b029:30f:c530:db69 with SMTP id r18-20020a6276120000b029030fc530db69mr2807575pfc.17.1625189067011; Thu, 01 Jul 2021 18:24:27 -0700 (PDT) Received: from localhost.localdomain (ip68-5-71-166.oc.oc.cox.net. [68.5.71.166]) by smtp.gmail.com with ESMTPSA id h24sm823804pjv.27.2021.07.01.18.24.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Jul 2021 18:24:26 -0700 (PDT) From: Ajit Khaparde To: dev@dpdk.org Cc: stable@dpdk.org, Lance Richardson Date: Thu, 1 Jul 2021 18:24:15 -0700 Message-Id: <20210702012415.54208-1-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000000e1f1905c619d191" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-stable] [PATCH v2] net/bnxt: fix rxq interrupt setting X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" --0000000000000e1f1905c619d191 Content-Transfer-Encoding: 8bit Don't set rxq interrupt config Applications can set the rxq interrupt config to 1 or 0 as needed. If an application is not interested in handling Rx interrupts and prefers to poll Rx rings, there is no need for the PMD to set this config option to 1. Fixes: 1fe427fd08ee ("net/bnxt: support enable/disable interrupt") Cc: stable@dpdk.org Signed-off-by: Ajit Khaparde Reviewed-by: Lance Richardson --- v1->v2: Setting 0 or 1 in PMD would override application setting. So skip it. --- drivers/net/bnxt/bnxt_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 495c6cd21e..ed09f1bf52 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -1011,7 +1011,6 @@ static int bnxt_dev_info_get_op(struct rte_eth_dev *eth_dev, }; eth_dev->data->dev_conf.intr_conf.lsc = 1; - eth_dev->data->dev_conf.intr_conf.rxq = 1; dev_info->rx_desc_lim.nb_min = BNXT_MIN_RING_DESC; dev_info->rx_desc_lim.nb_max = BNXT_MAX_RX_RING_DESC; dev_info->tx_desc_lim.nb_min = BNXT_MIN_RING_DESC; -- 2.21.1 (Apple Git-122.3) --0000000000000e1f1905c619d191--