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 904C3A0A0C; Thu, 1 Jul 2021 20:13:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53F4240141; Thu, 1 Jul 2021 20:13:12 +0200 (CEST) Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by mails.dpdk.org (Postfix) with ESMTP id C3D8B4003E for ; Thu, 1 Jul 2021 20:13:10 +0200 (CEST) Received: by mail-pg1-f172.google.com with SMTP id e33so6887980pgm.3 for ; Thu, 01 Jul 2021 11:13:10 -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:mime-version; bh=DPAYOzfHy2vvADsQPw/zmKWsj1ADQ9LEf2J9P5n/wgc=; b=Bo9jwmzAHCHTQWCxoe1NIxa9sidAIIxr8WqHCe7QUGj1yhIQDLXUEVrsD/XTvWqlsN qnF24Z1YYOrRWd3f5eHrpnuxuMOtlgJ+4Ezucvx3iRpWY+gy4GnvUsRZdxwcO6qKgAW5 nNeBC5aqTXnc41Q/wnCEiwic9fQOqgQDvjpXA= 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:mime-version; bh=DPAYOzfHy2vvADsQPw/zmKWsj1ADQ9LEf2J9P5n/wgc=; b=nSPOLWP6R2iBG8gfKx8j1W43kPtIEL5YMPiYqm2wb/waxKWzI5HsvKDwHJtW/ePvVi cxnAExmMu1niqhBOOPRuebPvrXD2P3J1TAa9E+hMAn7zB2vR+La8hz25ui5/CkQz/G9p D6yboe9WWiFen+7X7EeHJAUQZUz9muAUSrqd343CJQrod9cawHLtc5NMiltwpGefecLY Pz1Z7Uyv74xhzaPMT9B1QR9ZM+03DptwFOGveoOivqvNNidvHhqiWf452BT5HzlVZ1sc uAQQ82PJUf1Slu1dG22EQoZW3S4Rc3nqo4uDXnGSD8L8BJFsU3liAtA5mZpzRb32UF45 u9EA== X-Gm-Message-State: AOAM530NdPAOfygfmfyQY321Sp8/cgzAczPkaMKZZJ3FJ+dBqvU9UOtG P+62VUhuwFxm5E+SGST1o6X5BWrEx931ytu4fgTRyvwjS2i26l/S4ZUUs+uqG2DdXCtvQ3P6zUI rNuBcEoMY+GOOHmccmk6qwp4IEkEVVN6ICsYBZ+emR4KeI9qw0H7AYgxyMQGDkUk= X-Google-Smtp-Source: ABdhPJxWgZHl5RsJDfreUH5q3CJ6fWsMYtj9DlDj++UU55IhRic7ghUdjv01gMznhrBPgWUr5wuhTg== X-Received: by 2002:a63:d5e:: with SMTP id 30mr868191pgn.38.1625163189389; Thu, 01 Jul 2021 11:13:09 -0700 (PDT) Received: from C02VPB22HTD6.wifi.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id z5sm695045pfb.114.2021.07.01.11.13.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Jul 2021 11:13:08 -0700 (PDT) From: Ajit Khaparde To: dev@dpdk.org Cc: Lance Richardson Date: Thu, 1 Jul 2021 11:12:53 -0700 Message-Id: <20210701181253.39373-1-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000a2fb5205c613caa0" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-dev] [PATCH] net/bnxt: set rxq interrupt config to 0 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" --000000000000a2fb5205c613caa0 Content-Transfer-Encoding: 8bit Set rxq interrupt config to 0 instead of 1. 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. Signed-off-by: Ajit Khaparde Reviewed-by: Lance Richardson --- drivers/net/bnxt/bnxt_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 495c6cd21e..bef9605fed 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -1011,7 +1011,7 @@ 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; + eth_dev->data->dev_conf.intr_conf.rxq = 0; 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) --000000000000a2fb5205c613caa0--