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 AB29E42DC2 for ; Mon, 3 Jul 2023 15:28:36 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 89FAF40EF0; Mon, 3 Jul 2023 15:28:36 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 97CBB40ED5 for ; Mon, 3 Jul 2023 15:28:35 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36373ovP019906 for ; Mon, 3 Jul 2023 06:28:34 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=CehBJ2Nz9in2KuIbyAOcU4LxbhkDsWtjHSZb7RR7g7g=; b=X68levKr+q2x6nW0aONXKbgxV9k1nVc1ykD6XTRiQ5Z15+px0XcX1toHT1E/t10Od1ie lvXEluYrHEJVyeOg40A2J8MgsDi1kyblscguyl+xFwdINYlcAlCLB3X+nu4d7cfPzJ3P ndqWr1NySj0wNS6qkzoJ3mn9jCSLAZaGEZoSGnh0x0GRt3QGD8GNDW7gIhtj7dH5oCcY RUoxwD3genXFDX698+GJepbb7SkYC1ZTW2h8TgJnc9MfxVAzlQ3wTwoHE5UeBIJRXBTj hFlPgcRXLU1awZwIt3nMWPoFQDTxISSuBAIMM91GZOZ1GjCNHHcI7lcAEA2SqtHsmIw0 kA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3rjknj4sjg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 03 Jul 2023 06:28:34 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 3 Jul 2023 06:28:32 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Mon, 3 Jul 2023 06:28:32 -0700 Received: from localhost.localdomain (unknown [10.28.36.158]) by maili.marvell.com (Postfix) with ESMTP id A3E4A3F7040; Mon, 3 Jul 2023 06:28:31 -0700 (PDT) From: Rahul Bhansali To: CC: Rahul Bhansali Subject: [PATCH 22.11] common/cnxk: fix CPT backpressure disable on LBK Date: Mon, 3 Jul 2023 18:58:21 +0530 Message-ID: <20230703132821.470471-1-rbhansali@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: rnmveB8SASj1X9GEb3qM3z2hHeDaM7wf X-Proofpoint-ORIG-GUID: rnmveB8SASj1X9GEb3qM3z2hHeDaM7wf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-03_11,2023-06-30_01,2023-05-22_02 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 [ upstream commit 772e30281a1d686096b27e5926e2f369caa05cff ] For LBK interfaces, roc_nix_inl_inb_is_enabled() is false, hence backpressure on CPT is disabled and causing CQ full interrupt. NIXX_AF_RX_CHAN[0x800]_CFG is global config for all PF, VF of RPM/LBK, hence backpressure disable on CPT is not required. Fixes: 0663a84524e5 ("common/cnxk: enable backpressure on CPT with inline inbound") Signed-off-by: Rahul Bhansali --- drivers/common/cnxk/roc_nix_fc.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/drivers/common/cnxk/roc_nix_fc.c b/drivers/common/cnxk/roc_nix_fc.c index 033e17a4bf..5e8a01c775 100644 --- a/drivers/common/cnxk/roc_nix_fc.c +++ b/drivers/common/cnxk/roc_nix_fc.c @@ -88,17 +88,6 @@ nix_fc_rxchan_bpid_set(struct roc_nix *roc_nix, bool enable) req->chan_cnt = 1; req->bpid_per_chan = 0; - rc = mbox_process_msg(mbox, (void *)&rsp); - if (rc) - goto exit; - } else { - req = mbox_alloc_msg_nix_cpt_bp_disable(mbox); - if (req == NULL) - return rc; - req->chan_base = 0; - req->chan_cnt = 1; - req->bpid_per_chan = 0; - rc = mbox_process_msg(mbox, (void *)&rsp); if (rc) goto exit; -- 2.25.1