Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/135214/?format=api
http://patches.dpdk.org/api/patches/135214/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231214221012.9598-6-jspewock@iol.unh.edu/", "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": "<20231214221012.9598-6-jspewock@iol.unh.edu>", "list_archive_url": "https://inbox.dpdk.org/dev/20231214221012.9598-6-jspewock@iol.unh.edu", "date": "2023-12-14T22:10:10", "name": "[v4,4/7] dts: add pci addresses to EAL parameters", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "75ed5f7730843428b9f0bdec78f4028491778aee", "submitter": { "id": 2772, "url": "http://patches.dpdk.org/api/people/2772/?format=api", "name": "Jeremy Spewock", "email": "jspewock@iol.unh.edu" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20231214221012.9598-6-jspewock@iol.unh.edu/mbox/", "series": [ { "id": 30566, "url": "http://patches.dpdk.org/api/series/30566/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30566", "date": "2023-12-14T22:10:10", "name": null, "version": 4, "mbox": "http://patches.dpdk.org/series/30566/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/135214/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/135214/checks/", "tags": {}, "related": [], "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 8FD98436F4;\n\tThu, 14 Dec 2023 23:11:44 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id BEB2443378;\n\tThu, 14 Dec 2023 23:11:24 +0100 (CET)", "from mail-vk1-f227.google.com (mail-vk1-f227.google.com\n [209.85.221.227])\n by mails.dpdk.org (Postfix) with ESMTP id 2FDA443369\n for <dev@dpdk.org>; Thu, 14 Dec 2023 23:11:23 +0100 (CET)", "by mail-vk1-f227.google.com with SMTP id\n 71dfb90a1353d-4b2e0492fffso9654e0c.0\n for <dev@dpdk.org>; Thu, 14 Dec 2023 14:11:23 -0800 (PST)", "from postal.iol.unh.edu (postal.iol.unh.edu.\n [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id\n gd9-20020a0561221d4900b004b300d00665sm1580593vkb.6.2023.12.14.14.11.22\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Thu, 14 Dec 2023 14:11:22 -0800 (PST)", "from iol.unh.edu (unknown\n [IPv6:2606:4100:3880:1271:90f9:1b64:f6e6:867f])\n by postal.iol.unh.edu (Postfix) with ESMTP id DA075605C311;\n Thu, 14 Dec 2023 17:11:21 -0500 (EST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=iol.unh.edu; s=unh-iol; t=1702591882; x=1703196682; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=MgS8k8OADUeMeErqqsCQEs6yw8FVHzxDoNQ5Ppxx2DY=;\n b=Isoii0lclmv7CzlqU1uhjD727wDm1aia0eYDH7ivmei3lruOewc376pLrlwfnTS6dU\n Snm30UJTTjtjW54W5K1qUwKYz0KkLF4VTaUqTdgxaHBSsiQsANysyJZsRwt6PRJVWQH0\n WEqc7pltz6x1XPS5WkHsI0WZ+oftOxFy0VP7Y=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1702591882; x=1703196682;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=MgS8k8OADUeMeErqqsCQEs6yw8FVHzxDoNQ5Ppxx2DY=;\n b=wDEIXsNVR3T9SaWgdLflrl3W6HqvwRXWDFlzRpCuFm6GS2mCuq7oH+zSbXu5gNfvPl\n CM7OIzyvNJeETd2nzRV5P+sQ6G3Bdc6ikHXq01DSN/yjvXGOo4+SD2wT/1LWw9IApJ1d\n ZBXputkifISOVJZptNOxZVKlpuAdokEjc1b61guMEU6wmo/hfR4cqjWbrugdx9f+aRh+\n MSp3UE5Whs2bDWTVP6Dbm5iRgBY++8VL8gtFcY4GWBojiy7Wqx0P4OpHayLv1Bi2qngz\n 9nFBfJUfgwubr5TXVpY89d/S8s+kUBhDox+Gdw5DfLn5PmsuaS6bpehpYlHxV+ppzeRD\n APuQ==", "X-Gm-Message-State": "AOJu0YxHT8vQQQgYRgmZgU/88lpqxEM0+YDYgjhYhyzZvLBZen4vg5la\n 90lwr+htsVgxbaI5pOTjGsx2DhK5IoGhpA/BYAyto7zUgvGzY+3p3tgUorX6l7LoGQ==", "X-Google-Smtp-Source": "\n AGHT+IEv+rgTIK1BAA45ZMeYabCrSirsGjyn1pNnQ+3iTW73HWuYqLUJ5YQ477HZE84IAgwuIWxG98oYs8L0", "X-Received": "by 2002:a05:6122:2507:b0:4b2:9f0e:21bc with SMTP id\n cl7-20020a056122250700b004b29f0e21bcmr11203757vkb.1.1702591882494;\n Thu, 14 Dec 2023 14:11:22 -0800 (PST)", "X-Relaying-Domain": "iol.unh.edu", "From": "jspewock@iol.unh.edu", "To": "Honnappa.Nagarahalli@arm.com, juraj.linkes@pantheon.tech,\n thomas@monjalon.net, wathsala.vithanage@arm.com, probb@iol.unh.edu,\n paul.szczepanek@arm.com, yoan.picchi@foss.arm.com, ferruh.yigit@amd.com,\n andrew.rybchenko@oktetlabs.ru", "Cc": "dev@dpdk.org,\n\tJeremy Spewock <jspewock@iol.unh.edu>", "Subject": "[PATCH v4 4/7] dts: add pci addresses to EAL parameters", "Date": "Thu, 14 Dec 2023 17:10:10 -0500", "Message-ID": "<20231214221012.9598-6-jspewock@iol.unh.edu>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20231113202833.12900-1-jspewock@iol.unh.edu>", "References": "<20231113202833.12900-1-jspewock@iol.unh.edu>", "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: Jeremy Spewock <jspewock@iol.unh.edu>\n\nAdded allow list to the EAL parameters created in DTS to ensure that\nonly the relevant PCI devices are considered when launching DPDK\napplications.\n\nSigned-off-by: Jeremy Spewock <jspewock@iol.unh.edu>\n---\n dts/framework/testbed_model/sut_node.py | 11 +++++++++++\n 1 file changed, 11 insertions(+)", "diff": "diff --git a/dts/framework/testbed_model/sut_node.py b/dts/framework/testbed_model/sut_node.py\nindex 9c92232d9e..77caea2fc9 100644\n--- a/dts/framework/testbed_model/sut_node.py\n+++ b/dts/framework/testbed_model/sut_node.py\n@@ -20,6 +20,7 @@\n from framework.utils import MesonArgs\n \n from .hw import LogicalCoreCount, LogicalCoreList, VirtualDevice\n+from .hw.port import Port\n from .node import Node\n \n \n@@ -31,6 +32,7 @@ def __init__(\n prefix: str,\n no_pci: bool,\n vdevs: list[VirtualDevice],\n+ ports: list[Port],\n other_eal_param: str,\n ):\n \"\"\"\n@@ -46,6 +48,7 @@ def __init__(\n VirtualDevice('net_ring0'),\n VirtualDevice('net_ring1')\n ]\n+ :param ports: the list of ports to allow.\n :param other_eal_param: user defined DPDK eal parameters, eg:\n other_eal_param='--single-file-segments'\n \"\"\"\n@@ -56,6 +59,7 @@ def __init__(\n self._prefix = f\"--file-prefix={prefix}\"\n self._no_pci = \"--no-pci\" if no_pci else \"\"\n self._vdevs = \" \".join(f\"--vdev {vdev}\" for vdev in vdevs)\n+ self._ports = \" \".join(f\"-a {port.pci}\" for port in ports)\n self._other_eal_param = other_eal_param\n \n def __str__(self) -> str:\n@@ -65,6 +69,7 @@ def __str__(self) -> str:\n f\"{self._prefix} \"\n f\"{self._no_pci} \"\n f\"{self._vdevs} \"\n+ f\"{self._ports} \"\n f\"{self._other_eal_param}\"\n )\n \n@@ -294,6 +299,7 @@ def create_eal_parameters(\n append_prefix_timestamp: bool = True,\n no_pci: bool = False,\n vdevs: list[VirtualDevice] = None,\n+ ports: list[Port] | None = None,\n other_eal_param: str = \"\",\n ) -> \"EalParameters\":\n \"\"\"\n@@ -317,6 +323,7 @@ def create_eal_parameters(\n VirtualDevice('net_ring0'),\n VirtualDevice('net_ring1')\n ]\n+ :param ports: the list of ports to allow.\n :param other_eal_param: user defined DPDK eal parameters, eg:\n other_eal_param='--single-file-segments'\n :return: eal param string, eg:\n@@ -334,12 +341,16 @@ def create_eal_parameters(\n if vdevs is None:\n vdevs = []\n \n+ if ports is None:\n+ ports = self.ports\n+\n return EalParameters(\n lcore_list=lcore_list,\n memory_channels=self.config.memory_channels,\n prefix=prefix,\n no_pci=no_pci,\n vdevs=vdevs,\n+ ports=ports,\n other_eal_param=other_eal_param,\n )\n \n", "prefixes": [ "v4", "4/7" ] }{ "id": 135214, "url": "