Cover Detail
Show a cover letter.
GET /api/covers/60962/?format=api
http://patches.dpdk.org/api/covers/60962/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20191011121458.56388-1-mb@smartsharesystems.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20191011121458.56388-1-mb@smartsharesystems.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191011121458.56388-1-mb@smartsharesystems.com", "date": "2019-10-11T12:14:56", "name": "[v8,0/2] mbuf: add bulk free function", "submitter": { "id": 591, "url": "http://patches.dpdk.org/api/people/591/?format=api", "name": "Morten Brørup", "email": "mb@smartsharesystems.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20191011121458.56388-1-mb@smartsharesystems.com/mbox/", "series": [ { "id": 6803, "url": "http://patches.dpdk.org/api/series/6803/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6803", "date": "2019-10-11T12:14:56", "name": "mbuf: add bulk free function", "version": 8, "mbox": "http://patches.dpdk.org/series/6803/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/60962/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D64761EA71;\n\tFri, 11 Oct 2019 14:15:01 +0200 (CEST)", "from smartserver.smartsharesystems.com\n\t(smartserver.smartsharesystems.com [77.243.40.215])\n\tby dpdk.org (Postfix) with ESMTP id 73D4F1EA6A\n\tfor <dev@dpdk.org>; Fri, 11 Oct 2019 14:15:00 +0200 (CEST)", "from dkrd2.smartsharesys.local ([192.168.4.12]) by\n\tsmartserver.smartsharesystems.com with Microsoft\n\tSMTPSVC(6.0.3790.4675); Fri, 11 Oct 2019 14:14:59 +0200" ], "From": "=?utf-8?q?Morten_Br=C3=B8rup?= <mb@smartsharesystems.com>", "To": "dev@dpdk.org", "Cc": "olivier.matz@6wind.com, stephen@networkplumber.org,\n\tharry.van.haaren@intel.com, konstantin.ananyev@intel.com, \n\tmattias.ronnblom@ericsson.com, bruce.richardson@intel.com, \n\tarybchenko@solarflare.com, =?utf-8?q?Morten_Br=C3=B8rup?=\n\t<mb@smartsharesystems.com>", "Date": "Fri, 11 Oct 2019 12:14:56 +0000", "Message-Id": "<20191011121458.56388-1-mb@smartsharesystems.com>", "X-Mailer": "git-send-email 2.17.1", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-OriginalArrivalTime": "11 Oct 2019 12:14:59.0834 (UTC)\n\tFILETIME=[80B225A0:01D5802D]", "Subject": "[dpdk-dev] [PATCH v8 0/2] mbuf: add bulk free function", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Add function for freeing a bulk of mbufs.\n\nAdd unit test for functions for allocating and freeing a bulk of mbufs.\n\n---\n\nv8:\n* Add unit test, covering both bulk alloc and bulk free.\nv7:\n* Squash multiple modifications into one.\nv6:\n* Remove __rte_always_inline from static function.\n The compiler will inline anyway.\nv5:\n* Rename variables from \"free\" to \"pending\" for improved readability.\n* Add prefix __ to rte_pktmbuf_free_seg_via_array().\n* Add array size parameter to __rte_pktmbuf_free_seg_via_array().\n The compiler will optimize the parameter away anyway.\n* Add description to __rte_pktmbuf_free_seg_via_array().\n* Minor description updates.\nv4:\n* Mark as experimental by adding __rte_experimental.\n* Add function to experimental section of map file.\n* Fix source code formatting regarding pointer to pointer.\n* Squash multiple modifications into one.\nv3:\n* Bugfix: Handle pakets with multiple segments.\n* Add inline helper function, mainly for readability.\n* Fix source code formatting regarding indentation.\nv2:\n* Function is not inline.\n* Optimize to free multible mbufs belonging to the same mempool in\n bulk. Inspired by ixgbe_tx_free_bufs(), but allowing NULL pointers\n in the array, just like rte_pktmbuf_free() can take a NULL pointer.\n* Use unsigned int instead of unsigned. Passes checkpatch, but\n mismatches the original coding style of the modified files.\n* Fix a typo in the description headline: mempools is plural.\n\n\nMorten Brørup (2):\n mbuf: add bulk free function\n mbuf: add unit test for bulk alloc/free functions\n\n app/test/test_mbuf.c | 171 +++++++++++++++++++++++++++\n lib/librte_mbuf/rte_mbuf.c | 66 +++++++++++\n lib/librte_mbuf/rte_mbuf.h | 15 +++\n lib/librte_mbuf/rte_mbuf_version.map | 1 +\n 4 files changed, 253 insertions(+)" }{ "id": 60962, "url": "