Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/49984/?format=api
https://patches.dpdk.org/api/patches/49984/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190121111124.16362-4-nemanja.marjanovic@intel.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": "<20190121111124.16362-4-nemanja.marjanovic@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190121111124.16362-4-nemanja.marjanovic@intel.com", "date": "2019-01-21T11:11:24", "name": "[v6,4/4] net: add PPPoE ethertypes", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "4e978680332f40926cfa88b1ff9c52026cde3b5a", "submitter": { "id": 1207, "url": "https://patches.dpdk.org/api/people/1207/?format=api", "name": "Nemanja Marjanovic", "email": "nemanja.marjanovic@intel.com" }, "delegate": { "id": 10018, "url": "https://patches.dpdk.org/api/users/10018/?format=api", "username": "cristian_dumitrescu", "first_name": "Cristian", "last_name": "Dumitrescu", "email": "cristian.dumitrescu@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190121111124.16362-4-nemanja.marjanovic@intel.com/mbox/", "series": [ { "id": 3279, "url": "https://patches.dpdk.org/api/series/3279/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=3279", "date": "2019-01-21T11:11:22", "name": "[v6,1/4] pipeline: support QinQ PPPoE encap", "version": 6, "mbox": "https://patches.dpdk.org/series/3279/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/49984/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/49984/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 53B2D5B30;\n\tMon, 21 Jan 2019 12:11:28 +0100 (CET)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id 082CB568A\n\tfor <dev@dpdk.org>; Mon, 21 Jan 2019 12:11:22 +0100 (CET)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t21 Jan 2019 03:11:22 -0800", "from silpixa00391954.ir.intel.com (HELO\n\tsilpixa00391954.ger.corp.intel.com) ([10.237.223.32])\n\tby fmsmga001.fm.intel.com with ESMTP; 21 Jan 2019 03:11:21 -0800" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.56,502,1539673200\"; d=\"scan'208\";a=\"140007613\"", "From": "Nemanja Marjanovic <nemanja.marjanovic@intel.com>", "To": "dev@dpdk.org", "Cc": "jasvinder.singh@intel.com, cristian.dumitrescu@intel.com,\n\t\"Nemanja Marjanovic\" <nemanja.marjanovic@intel.com>", "Date": "Mon, 21 Jan 2019 11:11:24 +0000", "Message-Id": "<20190121111124.16362-4-nemanja.marjanovic@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20190121111124.16362-1-nemanja.marjanovic@intel.com>", "References": "<20190121090210.49103-4-nemanja.marjanovic@intel.com>\n\t<20190121111124.16362-1-nemanja.marjanovic@intel.com>", "Subject": "[dpdk-dev] [PATCH v6 4/4] net: add PPPoE ethertypes", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: \"Nemanja Marjanovic\" <nemanja.marjanovic@intel.com>\n\nAdd PPPoE ethertypes in to rte_ether.h.\n\nSigned-off-by: Nemanja Marjanovic <nemanja.marjanovic@intel.com>\nAcked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>\n---\nv5:Removing footer from patch.\nv6:Added missing acks.\n---\n lib/librte_net/rte_ether.h | 2 ++\n lib/librte_pipeline/rte_table_action.c | 2 --\n 2 files changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/lib/librte_net/rte_ether.h b/lib/librte_net/rte_ether.h\nindex c2c5e249f..54822df75 100644\n--- a/lib/librte_net/rte_ether.h\n+++ b/lib/librte_net/rte_ether.h\n@@ -301,6 +301,8 @@ struct vxlan_hdr {\n #define ETHER_TYPE_RARP 0x8035 /**< Reverse Arp Protocol. */\n #define ETHER_TYPE_VLAN 0x8100 /**< IEEE 802.1Q VLAN tagging. */\n #define ETHER_TYPE_QINQ 0x88A8 /**< IEEE 802.1ad QinQ tagging. */\n+#define ETHER_TYPE_PPPOE_DISCOVERY 0x8863 /**< PPPoE Discovery Stage. */\n+#define ETHER_TYPE_PPPOE_SESSION 0x8864 /**< PPPoE Session Stage. */\n #define ETHER_TYPE_ETAG 0x893F /**< IEEE 802.1BR E-Tag. */\n #define ETHER_TYPE_1588 0x88F7 /**< IEEE 802.1AS 1588 Precise Time Protocol. */\n #define ETHER_TYPE_SLOW 0x8809 /**< Slow protocols (LACP and Marker). */\ndiff --git a/lib/librte_pipeline/rte_table_action.c b/lib/librte_pipeline/rte_table_action.c\nindex 466019934..ac8109f00 100644\n--- a/lib/librte_pipeline/rte_table_action.c\n+++ b/lib/librte_pipeline/rte_table_action.c\n@@ -485,8 +485,6 @@ struct encap_mpls_data {\n \tuint32_t mpls_count;\n } __attribute__((__packed__));\n \n-#define ETHER_TYPE_PPPOE_SESSION 0x8864\n-\n #define PPP_PROTOCOL_IP 0x0021\n \n struct pppoe_ppp_hdr {\n", "prefixes": [ "v6", "4/4" ] }{ "id": 49984, "url": "