From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 35BC9A0583; Thu, 19 Mar 2020 11:30:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 502F41C002; Thu, 19 Mar 2020 11:30:13 +0100 (CET) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by dpdk.org (Postfix) with ESMTP id 985F0F90 for ; Thu, 19 Mar 2020 11:09:31 +0100 (CET) Received: by mail-wm1-f51.google.com with SMTP id c187so1403771wme.1 for ; Thu, 19 Mar 2020 03:09:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexatech-fr.20150623.gappssmtp.com; s=20150623; h=from:subject:openpgp:autocrypt:to:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=8dhiWZUZImcxk28ADB0lFb5iWVqGU+QPUfFAeqaIZ3w=; b=Be5ffHm6gl3EfSxWEeJJIaUh0Pv7TaqnJoFkG+As0q9vZcAPK8Br5W3snAm5QaK8R5 hQZ4xJsLcgcQovO1KHgHn1QVI0fj3qRWt2WahWWnPsOYf42eKGjR81r4aorsU7pPq1wz e1AuNN/f+gDYDZreob5lnLUk3KVrydxdJH0+QmxMT2yh227COX40rUuKMW77K+JPdOGX ube8fEXEcKKQMlBkOXoyI3QlSBT1/s34iMryDamFNMmI/aps13aXBIXELoeRO3/XFE3/ GiGnAhZKiIJlBGQwzQ+tRFBputbiaVJHNPZaNrHZC02RmK7Ea9Q8m/jh3IEJgeFVTXX8 SSSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:openpgp:autocrypt:to:message-id :date:user-agent:mime-version:content-language :content-transfer-encoding; bh=8dhiWZUZImcxk28ADB0lFb5iWVqGU+QPUfFAeqaIZ3w=; b=p3gk/CJMq5Og1G7UJIk7Ge1Xi7Enf/b7ArvXRp0deLtDhTWv4KvPNecLFhAev/dqNi 4afeQuurzdJmxvGhgme+3LFLmRS9LGTPnEyqNrmcya+CQUVQfKfpq9nO70Ri+mLOhlHb tCYo4smRYwSv+l7MU1adJ8XPyLoCmVoZHtMl1DcH3PHz5KcLk07ZNfGBaIddRdJ5gbOC q80lJb4+iFBWLP5USWwldMdX4Qxoy+tF0AYRdj70WRiH/oyv3OO7T92TjdlDxp7fCHld inLmaOcgxFfAsavvUNO1Nef535a+6B3bAsXEZOLGWj/Tbayr8R/txc99bq1ZbT3lui6j SR8Q== X-Gm-Message-State: ANhLgQ3bzmfV6wjEAZQnHKFi4YMMICtWQyEPOcq1rECdmLEcSwBlTeK+ RU2Wf7LYL2bf9CWvEcXRY6fVfBnI+pY= X-Google-Smtp-Source: ADFU+vu/cK8sPQpzFEgaQYgpM4+AFmw9zqd1g/HVCe3hwzlI1WH8wimoXrAZDK2A55hTpXP9gyzdQA== X-Received: by 2002:a1c:cc06:: with SMTP id h6mr2873450wmb.118.1584612570944; Thu, 19 Mar 2020 03:09:30 -0700 (PDT) Received: from [192.168.0.25] (128.60.136.77.rev.sfr.net. [77.136.60.128]) by smtp.googlemail.com with ESMTPSA id b67sm2462423wmh.29.2020.03.19.03.09.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Mar 2020 03:09:30 -0700 (PDT) From: Sylvain R Openpgp: preference=signencrypt Autocrypt: addr=srn@nexatech.fr; prefer-encrypt=mutual; keydata= mQINBF4oFz0BEADfuJ2lWfyqJM6m404TfvmFnc2/FGzCTDrEQqCs6bMnGmHEb7F5rbqGWLk+ OcoTioMHDHrS3iYC2heYGwh6fOUHgJsKIDPaUR3e1vibtxbmBwc7sbmhoPUXG8feneCG/RFA 2G6EM/DR2usQgY/ZSogEFytGq+nIwH205Ao5/3a3GgfnHTc05HlD5UVA9GH1cku39Li4PZLL oL+edsH+wJJF1S2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9hR4jIYH G+68PkeiN4DOm+Uqro903uGSRAEsiO/hktkR2cnOBl0h1UV6KYzQRAcWbX2Ebw3kTCyhTPyZ zTog88zwjhL8FQh6TWGDKs3NM5oOLg9l+/iB26PUrqSzWACWVydmL3DmJql4Gye14N4+Jxzx 9c1rltiFZuYwB2Js+2gabvichj6djCQONrEPuVUb5SeZwZ8SwbzVnA8JYODsNUuKQd0eBOEl reYVVyZwXy7jTSqIpaOvzJZx5JRiQXSaH9d34UJvKhEGcBy+yNBsmfTqu4WU6fqn/uIf4nkm AR89TinS1SMyeN0Q7KODwBCb6fG1w0XarL+AV04rGjfd/fvJNYiFNcAsZ0vnGW1/Vb/0O4r4 nNN0NGAtCTyl4WukfI4IAl0+h9b0gpi2o10gCoTmELD8maOwoyes/+ryvD7UtYMNV+da80jQ LN9C45J3NqVD/Km5lNcJCl/MZKqzqRH+rTNO38hvz8CrMQOY9tt5JdeTkaAoXNVgBo6AJ2GQ fk8HGHrrj4CigXlag2kAgH03VLBvXab3yUyuznp9umPtip4F65nKe5LmT93Hq3/FyE9R6T6H rFsUhBa3KxrH4Idji+pOzg== To: dev@dpdk.org Message-ID: Date: Thu, 19 Mar 2020 11:09:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 19 Mar 2020 11:30:12 +0100 Subject: [dpdk-dev] mbuf: why rte_pktmbuf_pool_create doesn't have the flags parameter ? 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi ! It is my understanding that when we want a mempool to give to the queue setup functions, we should use rte_pktmbuf_pool_create() instead of rte_mempool_create(). However, the former does not allow to create single producer / single consumer mempools, as it doesn't have the 'flags' parameter rte_mempool_create has. >From my (limited) understanding, setting SC/SP allows to skip some locks and therefore can be really beneficial for the overall perf. Is there a reason for not having this option with rte_pktmbuf_pool_create ? Best Regards, Sylvain