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 3341EA0C3F; Fri, 2 Jul 2021 23:38:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 96D8D4141D; Fri, 2 Jul 2021 23:38:38 +0200 (CEST) Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) by mails.dpdk.org (Postfix) with ESMTP id A3C0D41402 for ; Fri, 2 Jul 2021 23:38:37 +0200 (CEST) Received: by mail-qt1-f178.google.com with SMTP id w13so7739516qtc.0 for ; Fri, 02 Jul 2021 14:38:37 -0700 (PDT) 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=miAgp/Rho9ZnPTk9dwXEmrXPL8gf4J4wCaT17vifjq8=; b=V8CAjW10+JbAJhvgxj+vppEjGJQewt88H9Vtfpr9NMtDbdpwMNJNgaSxhgkq3C4iqx g4KMNZF/4h8aXSqQqV/57vMrsYfoCG36BZH1/USRng/zbqqnfbfj6LKcAypHpyhZxAGz gFOm9U/Xm9rSLZP8dC864VqvRo06BLZdrpY/A= 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=miAgp/Rho9ZnPTk9dwXEmrXPL8gf4J4wCaT17vifjq8=; b=UNmFJQLb0Q9y1O2hdKoLD5t0AyD9tGK5GV0wjJkEA37EBP5+CVzn3LGsWP5Og0nf4c IgL161AYkajUVepG2LxOhaXd8bhWt2sQ2X13pda85Sxx90dT1ay6i2doMbO2ZlW1X0nb 0d5AC0ExHJKrBJWZ/+PQPNV9Erg8ZZPdKH9GUc4tkv/q97U7yUqE2pOblNYjGhpe6b3h CnSPsvnLb9Rda/gAt08EmFZoHG5NpikIRi6oNedL2uyuFyxYBLwbVtMkfcFZS/SIBUT1 JGO+0H74nsxsAAB/3/Zu2IRWhznyNtIlCkb9z66rEKQ/GhHov9fHVj7fags4UG47HSzF 9NYA== X-Gm-Message-State: AOAM530L3mUwL4+K0z4sOdD2GUDBNjwNUkzxi0rhNQo4WvO9iGdRH9uB CP6Nxb0rv4IiYLoHMSJH3PUsgeEzNZprrhdU7SCzWWgEcKc= X-Google-Smtp-Source: ABdhPJw5iwyzpNmH25OorTOD31vbaQYulwyRLONmXbrcWvRytcacoo4UZ5rkQvJK8t6rDDdpgLvb2VdT4mxA/+AgO8c= X-Received: by 2002:ac8:4796:: with SMTP id k22mr1820324qtq.22.1625261916826; Fri, 02 Jul 2021 14:38:36 -0700 (PDT) MIME-Version: 1.0 References: <20210702012415.54208-1-ajit.khaparde@broadcom.com> In-Reply-To: <20210702012415.54208-1-ajit.khaparde@broadcom.com> From: Ajit Khaparde Date: Fri, 2 Jul 2021 14:38:20 -0700 Message-ID: To: dpdk-dev Cc: dpdk stable Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000003c7e9f05c62ac7ec" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v2] net/bnxt: fix rxq interrupt setting X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" --0000000000003c7e9f05c62ac7ec Content-Type: text/plain; charset="UTF-8" On Thu, Jul 1, 2021 at 6:24 PM Ajit Khaparde wrote: > 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. > --- > Patch applied dpdk-next-net-brcm tree, for-next-net branch. > 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) > > --0000000000003c7e9f05c62ac7ec--