Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/806725/?format=api
{ "id": 806725, "url": "http://patchwork.ozlabs.org/api/patches/806725/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170828190315.26646-4-aring@mojatatu.com/", "project": { "id": 7, "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api", "name": "Linux network development", "link_name": "netdev", "list_id": "netdev.vger.kernel.org", "list_email": "netdev@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170828190315.26646-4-aring@mojatatu.com>", "list_archive_url": null, "date": "2017-08-28T19:03:15", "name": "[net-next,3/3] tc-testing: add test for testing ife type", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "5ad04a55063e8caaec5b5785f7852cd393cf9f92", "submitter": { "id": 72245, "url": "http://patchwork.ozlabs.org/api/people/72245/?format=api", "name": "Alexander Aring", "email": "aring@mojatatu.com" }, "delegate": { "id": 34, "url": "http://patchwork.ozlabs.org/api/users/34/?format=api", "username": "davem", "first_name": "David", "last_name": "Miller", "email": "davem@davemloft.net" }, "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20170828190315.26646-4-aring@mojatatu.com/mbox/", "series": [ { "id": 242, "url": "http://patchwork.ozlabs.org/api/series/242/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=242", "date": "2017-08-28T19:03:12", "name": "tc: act_ife: handle IEEE IFE ethertype as default", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/242/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/806725/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/806725/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netdev-owner@vger.kernel.org>", "X-Original-To": "patchwork-incoming@ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=mojatatu-com.20150623.gappssmtp.com\n\theader.i=@mojatatu-com.20150623.gappssmtp.com\n\theader.b=\"XY5/cWyL\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xh1RB467Kz9s9Y\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 29 Aug 2017 05:04:38 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751385AbdH1TEh (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 28 Aug 2017 15:04:37 -0400", "from mail-io0-f196.google.com ([209.85.223.196]:35778 \"EHLO\n\tmail-io0-f196.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751269AbdH1TEe (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Mon, 28 Aug 2017 15:04:34 -0400", "by mail-io0-f196.google.com with SMTP id c18so1090045ioj.2\n\tfor <netdev@vger.kernel.org>; Mon, 28 Aug 2017 12:04:34 -0700 (PDT)", "from x220t.lan ([64.26.149.125]) by smtp.gmail.com with ESMTPSA id\n\tj15sm471282ioe.26.2017.08.28.12.04.31\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 28 Aug 2017 12:04:32 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=mojatatu-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=ber4xF/n6qMiNvaawOwfxxnAUyosNxPZBvHPxPBETJ4=;\n\tb=XY5/cWyLpaIoFP4Lo+SZu2EKaovFQhqbS41c/KtZcmnaWDqoNfDXw0GhwRIFlQquw0\n\t5CM0i2pDBn4ABufjCW3znKsfkP1OgIhlrJ34zhnPii13XBQFjylZOyA5ylIn014CPL5v\n\tBQ2stlP6RFq4I6PDXjVFWAyDDs9Df6IHmwep5jAUoPk4yXqLtoOrjLZZqqS1aa00GIm+\n\toayUhh4LMoEixGyx2VWG5BSFfxi5AvJLl71MzFjEcQV5WZuGMqZz7IxsBwyvS4lv1+2d\n\tESrr/W3QuSUdlq88LeTT8mT6EmtvrkZ6ejjQu6bUNbn/Ojyk0CLqdZG5f9K+7PjEalsP\n\tgyUQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=ber4xF/n6qMiNvaawOwfxxnAUyosNxPZBvHPxPBETJ4=;\n\tb=csxdvosYY6Ketu0UfDCKmz9EGOjypkn0b4WUHj9bA1eGOEnPCRom4gsvLFAnhVv+0X\n\tIN/+Y9U/UrwJw4+qcZGGUc/PIU7LCbpEU3hTlmD1xR84K64+flluxK88jtdJ0nLXC2tF\n\tRuk9QMauoVMaFHT7ZbNGCwVEmIuRzjkksdhKrUIJjBxzhmy21d0TpLUUhlpxjtE/ahrg\n\tt6HbGWYEMirUd5El+WSIoPxZQ4XaNsXX3FGftn8To2rrQTD26m8nFYCFOD7LgcUqXXV+\n\tWtcEMuR8P4zvZvZ6KZvhPcR19mftt8UA+hYZ3kv0P8E0I/nFzj5Qy0TibwzszULWoacm\n\tqeWw==", "X-Gm-Message-State": "AHYfb5h2C5Jl+lg+UTF3FUzzK834wiL5ppFi3xTcHdeMLEyPduqKUin5\n\tRAyW9AU/UCjW8i4P", "X-Received": "by 10.107.32.73 with SMTP id g70mr1749056iog.55.1503947073719;\n\tMon, 28 Aug 2017 12:04:33 -0700 (PDT)", "From": "Alexander Aring <aring@mojatatu.com>", "To": "jhs@mojatatu.com", "Cc": "yotamg@mellanox.com, xiyou.wangcong@gmail.com, jiri@resnulli.us,\n\tlucasb@mojatatu.com, netdev@vger.kernel.org,\n\tlinux-kselftest@vger.kernel.org, Alexander Aring <aring@mojatatu.com>", "Subject": "[PATCH net-next 3/3] tc-testing: add test for testing ife type", "Date": "Mon, 28 Aug 2017 15:03:15 -0400", "Message-Id": "<20170828190315.26646-4-aring@mojatatu.com>", "X-Mailer": "git-send-email 2.11.0", "In-Reply-To": "<20170828190315.26646-1-aring@mojatatu.com>", "References": "<20170828190315.26646-1-aring@mojatatu.com>", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "This patch adds a new testcase for the IFE type setting in tc. In case\nof user specified the type it will check if the ife is correctly\nconfigured to react on it. If it's not specified the default IFE type\nshould be used.\n\nSigned-off-by: Alexander Aring <aring@mojatatu.com>\n---\n .../tc-testing/tc-tests/actions/tests.json | 50 ++++++++++++++++++++++\n 1 file changed, 50 insertions(+)", "diff": "diff --git a/tools/testing/selftests/tc-testing/tc-tests/actions/tests.json b/tools/testing/selftests/tc-testing/tc-tests/actions/tests.json\nindex af519bc97a8e..6973bdc5b5bf 100644\n--- a/tools/testing/selftests/tc-testing/tc-tests/actions/tests.json\n+++ b/tools/testing/selftests/tc-testing/tc-tests/actions/tests.json\n@@ -1111,5 +1111,55 @@\n \"teardown\": [\n \"$TC actions flush action gact\"\n ]\n+ },\n+ {\n+ \"id\": \"a568\",\n+ \"name\": \"Add action with ife type\",\n+ \"category\": [\n+ \"actions\",\n+ \"ife\"\n+ ],\n+ \"setup\": [\n+ [\n+ \"$TC actions flush action ife\",\n+ 0,\n+ 1,\n+ 255\n+ ],\n+ \"$TC actions add action ife encode type 0xDEAD index 1\"\n+ ],\n+ \"cmdUnderTest\": \"$TC actions get action ife index 1\",\n+ \"expExitCode\": \"0\",\n+ \"verifyCmd\": \"$TC actions get action ife index 1\",\n+ \"matchPattern\": \"type 0xDEAD\",\n+ \"matchCount\": \"1\",\n+ \"teardown\": [\n+ \"$TC actions flush action ife\"\n+ ]\n+ },\n+ {\n+ \"id\": \"b983\",\n+ \"name\": \"Add action without ife type\",\n+ \"category\": [\n+ \"actions\",\n+ \"ife\"\n+ ],\n+ \"setup\": [\n+ [\n+ \"$TC actions flush action ife\",\n+ 0,\n+ 1,\n+ 255\n+ ],\n+ \"$TC actions add action ife encode index 1\"\n+ ],\n+ \"cmdUnderTest\": \"$TC actions get action ife index 1\",\n+ \"expExitCode\": \"0\",\n+ \"verifyCmd\": \"$TC actions get action ife index 1\",\n+ \"matchPattern\": \"type 0xED3E\",\n+ \"matchCount\": \"1\",\n+ \"teardown\": [\n+ \"$TC actions flush action ife\"\n+ ]\n }\n ]\n\\ No newline at end of file\n", "prefixes": [ "net-next", "3/3" ] }