Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/136103/?format=api
http://patches.dpdk.org/api/patches/136103/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240124123338.551436-1-david.marchand@redhat.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": "<20240124123338.551436-1-david.marchand@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240124123338.551436-1-david.marchand@redhat.com", "date": "2024-01-24T12:33:38", "name": "test/event: skip test if no driver is present", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "3b5eb7faf753a8d9a7f4281d1a545eab5ab4e806", "submitter": { "id": 1173, "url": "http://patches.dpdk.org/api/people/1173/?format=api", "name": "David Marchand", "email": "david.marchand@redhat.com" }, "delegate": { "id": 310, "url": "http://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20240124123338.551436-1-david.marchand@redhat.com/mbox/", "series": [ { "id": 30900, "url": "http://patches.dpdk.org/api/series/30900/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30900", "date": "2024-01-24T12:33:38", "name": "test/event: skip test if no driver is present", "version": 1, "mbox": "http://patches.dpdk.org/series/30900/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/136103/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/136103/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 4938D439B5;\n\tWed, 24 Jan 2024 13:33:50 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0AA0740294;\n\tWed, 24 Jan 2024 13:33:50 +0100 (CET)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by mails.dpdk.org (Postfix) with ESMTP id D3C7C4026F\n for <dev@dpdk.org>; Wed, 24 Jan 2024 13:33:48 +0100 (CET)", "from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73])\n by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-642-n10CTJ4PPgqfWvewTks76w-1; Wed,\n 24 Jan 2024 07:33:47 -0500", "from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com\n [10.11.54.10])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D30921C07F24;\n Wed, 24 Jan 2024 12:33:46 +0000 (UTC)", "from dmarchan.redhat.com (unknown [10.45.224.95])\n by smtp.corp.redhat.com (Postfix) with ESMTP id B2CE8492BFA;\n Wed, 24 Jan 2024 12:33:45 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1706099628;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=rzCZ831oMRsqGZkjQxsenNfwWfnzNllTJbBrD291fzw=;\n b=QaWzHdDcHS1N6jWZ/oo0kPeHxJ1raSthv+YYb4CHQXXQMBzX0izIAXyI8AsEsLnXRfhkd4\n zTuIeLUmf+AJSLVWtq9fX5+QHp0pltjAqCUoU2gd4/mbUDVyC3w80VLpTyVPoss9Naa6Oz\n PhREnVERlcIkK0MzUtv73zHnqZC0TYA=", "X-MC-Unique": "n10CTJ4PPgqfWvewTks76w-1", "From": "David Marchand <david.marchand@redhat.com>", "To": "dev@dpdk.org", "Cc": "alosadag@redhat.com, stable@dpdk.org, Jerin Jacob <jerinj@marvell.com>,\n Bruce Richardson <bruce.richardson@intel.com>", "Subject": "[PATCH] test/event: skip test if no driver is present", "Date": "Wed, 24 Jan 2024 13:33:38 +0100", "Message-ID": "<20240124123338.551436-1-david.marchand@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.4.1 on 10.11.54.10", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true", "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": "Align eventdev with what other device abstraction libraries do: if no\ndriver is present, skip the tests.\n\nFixes: f8f9d233ea0e (\"test/eventdev: add unit tests\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n app/test/test_eventdev.c | 10 ++++++++--\n 1 file changed, 8 insertions(+), 2 deletions(-)", "diff": "diff --git a/app/test/test_eventdev.c b/app/test/test_eventdev.c\nindex 71de947ce4..e4e234dc98 100644\n--- a/app/test/test_eventdev.c\n+++ b/app/test/test_eventdev.c\n@@ -33,9 +33,15 @@ testsuite_setup(void)\n \tuint8_t count;\n \tcount = rte_event_dev_count();\n \tif (!count) {\n+\t\tint ret;\n+\n \t\tprintf(\"Failed to find a valid event device,\"\n-\t\t\t\" testing with event_skeleton device\\n\");\n-\t\treturn rte_vdev_init(\"event_skeleton\", NULL);\n+\t\t\t\" trying with event_skeleton device\\n\");\n+\t\tret = rte_vdev_init(\"event_skeleton\", NULL);\n+\t\tif (ret != 0) {\n+\t\t\tprintf(\"No event device, skipping\\n\");\n+\t\t\treturn TEST_SKIPPED;\n+\t\t}\n \t}\n \treturn TEST_SUCCESS;\n }\n", "prefixes": [] }{ "id": 136103, "url": "