Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/97555/?format=api
https://patches.dpdk.org/api/patches/97555/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210830142731.32524-3-iryzhov@nfware.com/", "project": { "id": 1, "url": "https://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": "<20210830142731.32524-3-iryzhov@nfware.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210830142731.32524-3-iryzhov@nfware.com", "date": "2021-08-30T14:27:31", "name": "[v6,3/3] app/test: fix return value of test_kni_link_change", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": true, "hash": "86f47d9c797cecb2179b0b3192b4d6cad1c97496", "submitter": { "id": 175, "url": "https://patches.dpdk.org/api/people/175/?format=api", "name": "Igor Ryzhov", "email": "iryzhov@nfware.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210830142731.32524-3-iryzhov@nfware.com/mbox/", "series": [ { "id": 18529, "url": "https://patches.dpdk.org/api/series/18529/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=18529", "date": "2021-08-30T14:27:29", "name": "[v6,1/3] kni: rework rte_kni_update_link using ioctl", "version": 6, "mbox": "https://patches.dpdk.org/series/18529/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/97555/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/97555/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 EF396A034F;\n\tMon, 30 Aug 2021 16:27:44 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1E12D4111E;\n\tMon, 30 Aug 2021 16:27:39 +0200 (CEST)", "from mail-lf1-f50.google.com (mail-lf1-f50.google.com\n [209.85.167.50]) by mails.dpdk.org (Postfix) with ESMTP id 4E811410FC\n for <dev@dpdk.org>; Mon, 30 Aug 2021 16:27:35 +0200 (CEST)", "by mail-lf1-f50.google.com with SMTP id l2so23526842lfp.2\n for <dev@dpdk.org>; Mon, 30 Aug 2021 07:27:35 -0700 (PDT)", "from localhost.localdomain ([77.105.181.112])\n by smtp.gmail.com with ESMTPSA id p1sm692516lfo.255.2021.08.30.07.27.33\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 30 Aug 2021 07:27:33 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nfware.com; s=google;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=tzOEu8/g9NHoVjhaT5GbQFAUYdTV9TiEty8W0TRL0Ks=;\n b=VHiaW2vkCD67MbkGEKHwmOE/hylda4eTlOJY2z16Z+RJi72narcP1F9ub392rFDVhT\n YpXGQ6JKM/okGUVnDKfBBNgc/FANVCPmj7xefRkXDCQAND6RleSRE0mOg4UEvYL1VeUn\n DLQF7uZRsmX570Qo6AvhgUnJF2NVtaUBkE++t3+waaKF6z7rXceoYyS65ZlexT+SILVC\n 90RSp9ZGLNKSVhtPB98wyMgaO2vDLtTs1NcS1Fymyv2SMTfWXONMPWvPF85XnR71YOEr\n iT81NL46DKgvvwR0KpZne+C2Qnd0WvzXRZigQ9DqHHhPIYqJim8mUJt6OMSHX8psphsd\n mCuw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=tzOEu8/g9NHoVjhaT5GbQFAUYdTV9TiEty8W0TRL0Ks=;\n b=Nz4tAKxfPdoGd5OlrbajEvdtEr/FCGS6npSY/hvlTdtRicF6oUkUDOMEzivQXub9m8\n va0Zz1HL4s5bTvMf3EqLWXJxPsjCOR6c0wLlcyD8otcBjsRGdT1G8MpacLuutqq7h18A\n vM599kXD9mQYOj7YHKr8UWARWwVoIU+nvDzQ/qqLzJUCNpQr5dFX1bV8ARV1TRoN8MUI\n /XQV4b7jOOZrSY82JUw6/gZFAtsCjBTZyjtd6Kfox6B0lElxe6HQYdbcy1pldYQ1jGyf\n G926PydItp7iId1syK5g7AAkoLSxqUxxZuWXN7f5vT2vQ+gVIb8ELIqKFWojMVeu7EAr\n /K+g==", "X-Gm-Message-State": "AOAM533KhweN5CapjIhTNYUAlZqUR3ZtW5ZqXt33ayuQICng5JUnOy6h\n wti2yS1P3jX0efVIIscE4X4t6GJotQ/gWA==", "X-Google-Smtp-Source": "\n ABdhPJw1Qse3btAdWyUsb0O3gqaRQHoxorwmaFAX1Y0oo/GtPnKe2kZcg04jd9T1WfkbsmUTCVhn2Q==", "X-Received": "by 2002:ac2:5c4c:: with SMTP id\n s12mr16701197lfp.108.1630333654532;\n Mon, 30 Aug 2021 07:27:34 -0700 (PDT)", "From": "Igor Ryzhov <iryzhov@nfware.com>", "To": "dev@dpdk.org", "Cc": "ferruh.yigit@intel.com", "Date": "Mon, 30 Aug 2021 17:27:31 +0300", "Message-Id": "<20210830142731.32524-3-iryzhov@nfware.com>", "X-Mailer": "git-send-email 2.33.0", "In-Reply-To": "<20210830142731.32524-1-iryzhov@nfware.com>", "References": "<20210826151911.15699-1-iryzhov@nfware.com>\n <20210830142731.32524-1-iryzhov@nfware.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v6 3/3] app/test: fix return value of\n test_kni_link_change", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "If the child process returns -1, WEXITSTATUS converts to 255 because it\ntakes only 8 least significant bits. As a result, the test is not\nconsidered failed when it should.\n\nSigned-off-by: Igor Ryzhov <iryzhov@nfware.com>\n---\n app/test/test_kni.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/app/test/test_kni.c b/app/test/test_kni.c\nindex 0df028696f36..70c81f4af0f4 100644\n--- a/app/test/test_kni.c\n+++ b/app/test/test_kni.c\n@@ -214,7 +214,7 @@ test_kni_link_change(void)\n \t\t\tp_ret = waitpid(pid, &status, WNOHANG);\n \t\t\tif (p_ret != 0) {\n \t\t\t\tif (WIFEXITED(status))\n-\t\t\t\t\treturn WEXITSTATUS(status);\n+\t\t\t\t\treturn WEXITSTATUS(status) ? -1 : 0;\n \t\t\t\treturn -1;\n \t\t\t}\n \t\t\trte_delay_ms(10);\n", "prefixes": [ "v6", "3/3" ] }{ "id": 97555, "url": "