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 8A91045954; Tue, 10 Sep 2024 10:59:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 08FF9427E4; Tue, 10 Sep 2024 10:59:43 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 7ACDD427D5 for ; Tue, 10 Sep 2024 10:59:41 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48A7xii9020105 for ; Tue, 10 Sep 2024 01:59:40 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pfpt0220; bh=x jZ76SKjot4mJd8jMbOyTMp99SgNsl/8gYqzoXXgVHw=; b=Rpyc7FV5w1YBUVaVi 5c99fnBSqlLe14jcI/znpdsH4AiEOoPsphlWBrTCQhHbFB10zoF9MiywjMLaUXt7 aKpooyuX8zSIUp0VI0UUGEUkX/TTWEnvC2baC1JwOFOxqCziyCT/hr32E/BZdC55 rGaw/T3qTXcVY/4oh9j9A792dmByB2ENWZvckbQFL6TxUeputLCuRvSQ/dF0WTl/ aPqHo27UTufdeX7UQICa5bgqVVXp4bHR6LP0XDfqvM58wCDlIpKoxZfCNoc0ABz9 CdtkffTEOhaoHxJ8ce+6xavEtD0B4LnMjGZYPrTcDnEzdTADUT8c8f03wX7zD6mq BJOBQ== Received: from dc6wp-exch02.marvell.com ([4.21.29.225]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 41gygtg1eh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 10 Sep 2024 01:59:40 -0700 (PDT) Received: from DC6WP-EXCH02.marvell.com (10.76.176.209) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 10 Sep 2024 01:59:39 -0700 Received: from maili.marvell.com (10.69.176.80) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Tue, 10 Sep 2024 01:59:39 -0700 Received: from hyd1588t430.caveonetworks.com (unknown [10.29.52.204]) by maili.marvell.com (Postfix) with ESMTP id 8B81D3F709E; Tue, 10 Sep 2024 01:59:37 -0700 (PDT) From: Nithin Dabilpuram To: , Ashwin Sekhar T K , "Pavan Nikhilesh" CC: Subject: [PATCH 04/33] mempool/cnxk: initialize mempool ops for cn20k Date: Tue, 10 Sep 2024 14:28:40 +0530 Message-ID: <20240910085909.1514457-5-ndabilpuram@marvell.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240910085909.1514457-1-ndabilpuram@marvell.com> References: <20240910085909.1514457-1-ndabilpuram@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: onkzFd225PqRwdv_IbjketyOIf2aQeog X-Proofpoint-GUID: onkzFd225PqRwdv_IbjketyOIf2aQeog X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 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 From: Ashwin Sekhar T K Initialize mempool ops for cn20k. Signed-off-by: Ashwin Sekhar T K --- drivers/mempool/cnxk/cnxk_mempool_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mempool/cnxk/cnxk_mempool_ops.c b/drivers/mempool/cnxk/cnxk_mempool_ops.c index a1aeaee746..bb35e2d1d2 100644 --- a/drivers/mempool/cnxk/cnxk_mempool_ops.c +++ b/drivers/mempool/cnxk/cnxk_mempool_ops.c @@ -192,7 +192,7 @@ cnxk_mempool_plt_init(void) if (roc_model_is_cn9k()) { rte_mbuf_set_platform_mempool_ops("cn9k_mempool_ops"); - } else if (roc_model_is_cn10k()) { + } else if (roc_model_is_cn10k() || roc_model_is_cn20k()) { rte_mbuf_set_platform_mempool_ops("cn10k_mempool_ops"); rc = cn10k_mempool_plt_init(); } -- 2.34.1