Cover Detail
Show a cover letter.
GET /api/covers/54/?format=api
http://patches.dpdk.org/api/covers/54/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20230815013826.1288972-1-okaya@kernel.org/", "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": "<20230815013826.1288972-1-okaya@kernel.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20230815013826.1288972-1-okaya@kernel.org", "date": "2023-08-15T01:38:19", "name": "[v1,0/7] support reinit flow", "submitter": { "id": 2903, "url": "http://patches.dpdk.org/api/people/2903/?format=api", "name": "Sinan Kaya", "email": "okaya@kernel.org" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20230815013826.1288972-1-okaya@kernel.org/mbox/", "series": [ { "id": 29223, "url": "http://patches.dpdk.org/api/series/29223/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29223", "date": "2023-08-15T01:38:19", "name": "support reinit flow", "version": 1, "mbox": "http://patches.dpdk.org/series/29223/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/54/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 246C043067;\n\tTue, 15 Aug 2023 03:38:38 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A9C23427E9;\n\tTue, 15 Aug 2023 03:38:37 +0200 (CEST)", "from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217])\n by mails.dpdk.org (Postfix) with ESMTP id 2D3EC41104\n for <dev@dpdk.org>; Tue, 15 Aug 2023 03:38:36 +0200 (CEST)", "from smtp.kernel.org (relay.kernel.org [52.25.139.140])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits))\n (No client certificate requested)\n by dfw.source.kernel.org (Postfix) with ESMTPS id 6B1066133D\n for <dev@dpdk.org>; Tue, 15 Aug 2023 01:38:35 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id 84648C433C8;\n Tue, 15 Aug 2023 01:38:34 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n s=k20201202; t=1692063514;\n bh=NlyZhH6RR5dRBRFZctARSeLp8SIz+eMrW+wa3oYxGNM=;\n h=From:To:Cc:Subject:Date:From;\n b=mKAN7GnDAl7JmNdpSbqi/2z22amzrcgWqueDoDtNhqWexa8EVcPwHgZIFdkF1c1p3\n JHVKziQwR3vtbpNdZC5PvXMEoJCNtGBh+IMz9yf7Z9xvm7BQ7F8Uh0B0/xaxxZXI+c\n 0h54gM1whdjUJPW01Rq0CMkWNjW8EBnyy1b+JVHkPkX5PL/GIBWGR786K7KQQO31oV\n rFDxryxKAMwULSbg9mojCshkstIyO3juwsb4caxtcFGqXPbKyucNMgWYesRlUJTFGJ\n +h5hDhIYjBp5UqzPaImzf3rz8G8QgMo3WkpHtgAok0/PPjYVfAGa1MKo8zk1/LHgyK\n 2xTziXkKQjz/g==", "From": "okaya@kernel.org", "To": "", "Cc": "dev@dpdk.org,\n\tSinan Kaya <okaya@kernel.org>", "Subject": "[PATCH v1 0/7] support reinit flow", "Date": "Mon, 14 Aug 2023 21:38:19 -0400", "Message-Id": "<20230815013826.1288972-1-okaya@kernel.org>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "From: Sinan Kaya <okaya@kernel.org>\n\nWe want to be able to call rte_eal_init() and rte_eal_cleanup()\nAPIs back to back for maintanance reasons.\n\nHere is a summary of the code we have seen so far:\n\n1. some code support getting called multiple times by keeping\na static variable.\n2. some code initializes once but never clean up after them and\ndon't have a cleanup API.\n3. some code assumes that they only get called once during the\nlifecycle of the process.\n\nMost changes in this patch center around following the #1 design\nprinciple.\n\nGraham Whyte (1):\n eal: fixes for re-initialization issues\n\nSinan Kaya (6):\n tailq: skip init if already initialized\n eal_memzone: bail out on initialized\n memseg: init once\n eal_memory: skip initialization\n eal_interrupts: don't reinitialize threads\n eal: initialize worker threads once\n\n lib/eal/common/eal_common_memory.c | 5 ++\n lib/eal/common/eal_common_memzone.c | 6 +++\n lib/eal/common/eal_common_options.c | 7 +++\n lib/eal/common/eal_common_tailqs.c | 21 ++++++---\n lib/eal/common/malloc_heap.c | 6 +++\n lib/eal/linux/eal.c | 72 ++++++++++++++++-------------\n lib/eal/linux/eal_interrupts.c | 5 ++\n lib/eal/linux/eal_memory.c | 11 ++++-\n 8 files changed, 92 insertions(+), 41 deletions(-)" }{ "id": 54, "url": "