From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0086.outbound.protection.outlook.com [104.47.33.86]) by dpdk.org (Postfix) with ESMTP id 3E8FC377E for ; Tue, 4 Jul 2017 14:22:52 +0200 (CEST) Received: from BN3PR03CA0109.namprd03.prod.outlook.com (10.174.66.27) by BY2PR03MB474.namprd03.prod.outlook.com (10.141.141.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 4 Jul 2017 12:22:50 +0000 Received: from BY2FFO11FD011.protection.gbl (2a01:111:f400:7c0c::156) by BN3PR03CA0109.outlook.office365.com (2603:10b6:400:4::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11 via Frontend Transport; Tue, 4 Jul 2017 12:22:49 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; caviumnetworks.com; dkim=none (message not signed) header.d=none; caviumnetworks.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD011.mail.protection.outlook.com (10.1.14.129) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1199.9 via Frontend Transport; Tue, 4 Jul 2017 12:22:49 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v64CMfKd013683; Tue, 4 Jul 2017 05:22:47 -0700 From: Hemant Agrawal To: , CC: , Date: Tue, 4 Jul 2017 17:52:48 +0530 Message-ID: <1499170968-23016-3-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499170968-23016-1-git-send-email-hemant.agrawal@nxp.com> References: <1499170968-23016-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131436445694669505; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39860400002)(39840400002)(39450400003)(39410400002)(39850400002)(39400400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(68736007)(81166006)(498600001)(189998001)(8936002)(8676002)(626005)(85426001)(36756003)(5660300001)(47776003)(106466001)(48376002)(105606002)(4326008)(33646002)(50466002)(50226002)(356003)(38730400002)(2950100002)(53936002)(86362001)(77096006)(5003940100001)(54906002)(2906002)(76176999)(50986999)(305945005)(104016004); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB474; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2FFO11FD011; 1:GYwTfJOB57+/36hEyaDUmNKrfK9YylIiGpmwKrvv8z?= =?us-ascii?Q?IcCnfJu74YVkez1w5GkPuahbfIncl7Ngu+V0eFeqks+y67tO6ZDRkbDCCi+E?= =?us-ascii?Q?h4AREh1jG0byyNB0UuVeDk143Ccmtfwq+WLP8xkmmiRVu57CbxaxuT66WknZ?= =?us-ascii?Q?KxRMbes6b9umUMnQPOKmV/mCt1h2d7TvODGdno3Fpbh+C83uvjiw+c92XNKY?= =?us-ascii?Q?LIn263kTufW9UFzfa1X3i0ifjScXQ8UJ7+tvimwLhR2uyGVbaecyMitkE8aB?= =?us-ascii?Q?ZWyyuxZpoWg+6DjUDFqFDnM3J1uvuOLmN0MFm1LQenNRh2X8pq6m4zX6pgpB?= =?us-ascii?Q?uJhYl4iQfLH7LOvd/PkLyY2pY7erPZrEq2Q1l6Gg5KUZmAL9jd0K89MzWvUA?= =?us-ascii?Q?nHPrZdp6OPYox32HG5SXeQxt76KnyLINrEkQYCuxjVnejTw/a0srdq0XnX2w?= =?us-ascii?Q?eCCc82oq0x2KqdJ1k+Jff441FJYnhFQpZ2myjAtv8+LuQQHbMItv/QsT/72Z?= =?us-ascii?Q?fdugR385DpxHw5ZyJzChdAiNPy+V+BCkxoBeDADlMGaOOGevTFs1303jp/Ts?= =?us-ascii?Q?IfwZJ7zVqxY2AV3hw7G1tfU60ivGK/n9RNjnyC1JYfOAnZSb02Jms3aOnD/y?= =?us-ascii?Q?OMGUReVYOkgzMUsMdYdVsZQTweV/s2zLThAfxVyTBbUrreD92nsfPQGSO36y?= =?us-ascii?Q?gz3wePmsFXxOUzlZjEc0GRW2Wxk3gIvm0Qg9aYHRNpHTuVEkMfKv3DC4MF3o?= =?us-ascii?Q?i1lwlgx6gDIlOY9YznUyikd8Z3x6G+SYPJZ4EGaFZpyUBaQD+3ND/qzNLZe4?= =?us-ascii?Q?an8XoJLKm3vWn44nJhr7KMhEDYg6AA+3c+FmqZVCmsmqBuo11yNGZPQW4fWI?= =?us-ascii?Q?gkCZcuLdPEugq9LQJeeqkSviJjTQ96VIEMlI21ApXPtsqFUPg8dw8IguQ4VE?= =?us-ascii?Q?pSkd+GqpMRv7sML0x1InUV78OgOg2nVn85rHnuuQ=3D=3D?= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0813b227-a18f-46b8-5160-08d4c2d762a0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR03MB474; X-Microsoft-Ex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pdpZJziplQ1Awdtx0HIIV+Ux1Q6c35hdELD2yIezEiG4U5v3c+Qv18S8AzU4zXcIydpgI1dqbLVeBUOLvT//nd4Mnos0k3j0yMKBJ+1mZWPdrWsgf7gRQIeKiZas4I9UY12LxbM5+OJhxtfpHfob1X9JJXfMFFsmyA2iE5E5bEADXJpKSgTnxA8wDENA3r9GCY7/aim/Pp/X5vDUi+pTEA9oq2Iq+HRLsnaAI9RXjXn67KCcOtqs+tvEeyWQmc0K5emUtkjLPWmbDsv6QWfwcWvZeH543ZaQo9yT2fsamomsJoAQ/1iEbt/yULHjcECek9E4nonJ6dAsHys7krxUaFSLD1ghcIeigKoyAngeH0XIh5y0ESd7xRm3c3qMFlbLcLgY4Hady2nuMbaL2qifh/B5nHpDI4tG/y3PciMVlICpV9/WbUg6weGB8FGLexAvdK7/S179KDPhEmqwV3eqoaIukFGHP7nSBEabdvnDNvI3tinRUFc6GRJ9RWqjDc2LE/a/gHU5HoepNn1tD X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(185117386973197)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(5005006)(13016025)(13018025)(8121501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6055026)(6096035)(20161123559100)(20161123563025)(20161123556025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123565025)(20161123561025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR03MB474; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR03MB474; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB474; 4:x1aDpbTd6xwqEfhObe3I0IYYHv/Tu24xDSlYm10v7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ihoH4vMRs9TTYJV+r0PVJ2QRgB?= =?us-ascii?Q?syM9PDHFarh0DWX2QApmMBf0fwSfSUhlowUYdkpyToQza4aDQw5lp+FEH+5/?= =?us-ascii?Q?J/6rsKj7T3oujvKc85ecdR2MRkQ1/kEIt/SF7kcqOgwE9zxMwbU9o7pHJErd?= =?us-ascii?Q?Ji6Bxz1KOsYBKUJ9gE6sgH+9Rv/EMG8pJPXsOMBdYKvDJTic5WRi/cQ82vLx?= =?us-ascii?Q?HkREnuePGdZBLoIaam0hDnVnOyNIQYSJMbIl8xhCylGB4K/9d9vkkIBEiMI7?= =?us-ascii?Q?wQPlT9lofARnY3Vj36KZrQ0KK02vzuOIoQgb4URb+o/g3EOZmYrEp/lSeMBq?= =?us-ascii?Q?3mauw+UYZ2sZe1rb1tcgsYwctxE9+Wr/wfIT33i7CJjAOlSP1bGWltsSwORA?= =?us-ascii?Q?XCI4DlBmH3FC9jTD5eSnDzT53ux1RHomYrBgU6KDkk9uil9ATgzzz9E/Dg99?= =?us-ascii?Q?xRQ=3D=3D?= X-Forefront-PRVS: 0358535363 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB474; 23:PScdoL+O/q8Yfll7BLwuUHCVxdoXB39SCwbd5gWQ8c?= =?us-ascii?Q?4vaq7iYNMCvb/6lFaZstqjNrgKkimOi6jQKKgUXqNtfLzVLpmEcAXNfFDtgO?= =?us-ascii?Q?cBQO5IhDQinSSJ2fMOkizrN58p2YAKHPxLeeegibxvY7Rr93Bw2SXcytg6dU?= =?us-ascii?Q?blkR0HF7Rz8HitQw2yLTLyuMtV1G0C3jwGaf6+IvyBSV150O4xZevBTkM6Y8?= =?us-ascii?Q?KGuvEX7XKDVN41SI+n5gIMCI5EIIv/JQ4uHC4usJwoa8ALyIupRN/8PGnKon?= =?us-ascii?Q?OOoVAMr9YDf7nYSsykwGTmtub12gp5ESpGA54HM9uxQrsYk7aDUkwvBoDBTu?= =?us-ascii?Q?hE3p9KsoQkIJ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dy+eDj3z6XwBF64vLLqjn+JNkJZLTRkjOCh6LInC77itnZltO7VHWDtFToD9w+GwbuRKQMnUj+bl88YrpZsChhGxWuOXFzVxJV1hgl6b2QM1xPVNbVtmoFVQ0j0rubO2IJyuEB6u6ulm1+AYhuVoccXMkt8pehU7asR3kInyKf5xORkay/bDaM+8LU2zuoqWOCR3D+1IXe4iebVqc5e70ZdBc8qVx/K/mwXE8XQaiJ9YHMR8iiU4d+5z9eiPgtxp8XsvVCENKf+hXZwcsapOGDg1eG4AwT4p0a1LKZvJMgbX66pL0IkLqnQ/B0Pjco+6XDVrRdQoaeQACC4yz+SOMK31PP/c3vKk6QeOAeF8jWQddtE/3iC6va1lB4COT52AXjCLnUGnb2yqjkbSGSs46pItwINH03gDVnZL2wsIh48Of91z8OdjjHJJ5srbH2VIR4q4oA9ncVC9Rjmeq+I5aPWH7GGVr/ha14F+DwOIHNC/xurxFh42yB/LN0PwuErOAEbiYIZswd2AfQFTyrMsvl11HnsJDg9nj8CSAUuWiiW6267GNOS+9lCJAaucCyq82W0iHS8k77H3hawYY3Jgb1JJGudMSTlkRUBHVUagiFTeEQKFeDK22I4jD2OJUAt8RUNBuqotz2cVhpkOit4s4WnykaWUUiN+E= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 12:22:49.2641 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB474 Subject: [dpdk-dev] [PATCH 2/2] mbuf: add support for preferred mempool list X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jul 2017 12:22:52 -0000 This patch extend the existing default mempool ops support. There may be more than one type of mempool supported by the given platform. This decision may be based on the resource availability or required capabilities. The mempool list can be a combination of external mempools and sw mempools. This patch support configuring multiple backups for the default mempool. This patch also support to find out the most preferred support for a given mempool ops from the configured mempool list (if available). Current patch support only 3 mempool ops i.e. default + 2 backup. However this can be extended in future if required. Signed-off-by: Hemant Agrawal --- config/common_base | 2 ++ lib/librte_mbuf/rte_mbuf.c | 28 +++++++++++++++++++++++----- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/config/common_base b/config/common_base index 660588a..3020b35 100644 --- a/config/common_base +++ b/config/common_base @@ -557,6 +557,8 @@ CONFIG_RTE_DRIVER_MEMPOOL_STACK=y CONFIG_RTE_LIBRTE_MBUF=y CONFIG_RTE_LIBRTE_MBUF_DEBUG=n CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS="ring_mp_mc" +CONFIG_RTE_MBUF_BACKUP_MEMPOOL_OPS_1="" +CONFIG_RTE_MBUF_BACKUP_MEMPOOL_OPS_2="" CONFIG_RTE_MBUF_REFCNT_ATOMIC=y CONFIG_RTE_PKTMBUF_HEADROOM=128 diff --git a/lib/librte_mbuf/rte_mbuf.c b/lib/librte_mbuf/rte_mbuf.c index ab436b9..64519ef 100644 --- a/lib/librte_mbuf/rte_mbuf.c +++ b/lib/librte_mbuf/rte_mbuf.c @@ -159,6 +159,13 @@ rte_pktmbuf_pool_create(const char *name, unsigned n, struct rte_pktmbuf_pool_private mbp_priv; unsigned elt_size; int ret; + const char *ops[] = { + RTE_MBUF_DEFAULT_MEMPOOL_OPS, + RTE_MBUF_BACKUP_MEMPOOL_OPS_1, + RTE_MBUF_BACKUP_MEMPOOL_OPS_2, + NULL, + }; + const char **op; if (RTE_ALIGN(priv_size, RTE_MBUF_PRIV_ALIGN) != priv_size) { RTE_LOG(ERR, MBUF, "mbuf priv_size=%u is not aligned\n", @@ -176,12 +183,23 @@ rte_pktmbuf_pool_create(const char *name, unsigned n, if (mp == NULL) return NULL; - ret = rte_mempool_set_ops_byname(mp, - RTE_MBUF_DEFAULT_MEMPOOL_OPS, NULL); - if (ret != 0) { - RTE_LOG(ERR, MBUF, "error setting mempool handler\n"); + /*Check the perfered mempool ops based on config*/ + for (op = &ops[0]; *op != NULL; op++) { + ret = rte_mempool_ops_check_support(mp, *op); + if (ret == 0) + break; + } + if (*op != NULL) { + ret = rte_mempool_set_ops_byname(mp, *op, NULL); + if (ret != 0) { + RTE_LOG(ERR, MBUF, "error setting mempool handler\n"); + rte_mempool_free(mp); + rte_errno = -ret; + return NULL; + } + } else { rte_mempool_free(mp); - rte_errno = -ret; + rte_errno = ENOTSUP; return NULL; } rte_pktmbuf_pool_init(mp, &mbp_priv); -- 2.7.4