Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2515/?format=api
https://patches.dpdk.org/api/patches/2515/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1422243805-10906-2-git-send-email-jijiang.liu@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": "<1422243805-10906-2-git-send-email-jijiang.liu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1422243805-10906-2-git-send-email-jijiang.liu@intel.com", "date": "2015-01-26T03:43:20", "name": "[dpdk-dev,1/6] librte_ether:add NVGRE header", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "12614982fdd5cb785bb81993f317a673d6025313", "submitter": { "id": 52, "url": "https://patches.dpdk.org/api/people/52/?format=api", "name": "Jijiang Liu", "email": "jijiang.liu@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1422243805-10906-2-git-send-email-jijiang.liu@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/2515/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/2515/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id EE2395A9F;\n\tMon, 26 Jan 2015 04:43:40 +0100 (CET)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 5E99F5A96\n\tfor <dev@dpdk.org>; Mon, 26 Jan 2015 04:43:36 +0100 (CET)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby fmsmga102.fm.intel.com with ESMTP; 25 Jan 2015 19:43:35 -0800", "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby FMSMGA003.fm.intel.com with ESMTP; 25 Jan 2015 19:29:57 -0800", "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id t0Q3hVvU026169;\n\tMon, 26 Jan 2015 11:43:31 +0800", "from shecgisg004.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid t0Q3hTT8010948; Mon, 26 Jan 2015 11:43:31 +0800", "(from jijiangl@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t0Q3hSam010944; \n\tMon, 26 Jan 2015 11:43:28 +0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"4.97,862,1389772800\"; d=\"scan'208\";a=\"445037539\"", "From": "Jijiang Liu <jijiang.liu@intel.com>", "To": "dev@dpdk.org", "Date": "Mon, 26 Jan 2015 11:43:20 +0800", "Message-Id": "<1422243805-10906-2-git-send-email-jijiang.liu@intel.com>", "X-Mailer": "git-send-email 1.7.12.2", "In-Reply-To": "<1422243805-10906-1-git-send-email-jijiang.liu@intel.com>", "References": "<1422243805-10906-1-git-send-email-jijiang.liu@intel.com>", "Subject": "[dpdk-dev] [PATCH 1/6] librte_ether:add NVGRE header", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Add NVGRE header and Transparent Ethernet Bridging Macro in rte_ether.h file.\n\nSigned-off-by: Jijiang Liu <jijiang.liu@intel.com>\n---\n lib/librte_ether/rte_ether.h | 12 ++++++++++++\n 1 files changed, 12 insertions(+), 0 deletions(-)", "diff": "diff --git a/lib/librte_ether/rte_ether.h b/lib/librte_ether/rte_ether.h\nindex 7e7d22c..cb36212 100644\n--- a/lib/librte_ether/rte_ether.h\n+++ b/lib/librte_ether/rte_ether.h\n@@ -321,6 +321,17 @@ struct vxlan_hdr {\n \tuint32_t vx_vni; /**< VNI (24) + Reserved (8). */\n } __attribute__((__packed__));\n \n+/**\n+ * NVGRE protocol header.\n+ * Contains the 16-bit flag, 16-bit protocol type, 24-bit Virtual\n+ * Subnet ID, 8-bit FlowId.\n+ */\n+struct nvgre_hdr {\n+\tuint16_t flags; /**< Protocol flag. */\n+\tuint16_t prot_type; /**< Protocol type. */\n+\tuint32_t key; /**< VSID (24) + FlowID (8). */\n+} __attribute__((__packed__));\n+\n /* Ethernet frame types */\n #define ETHER_TYPE_IPv4 0x0800 /**< IPv4 Protocol. */\n #define ETHER_TYPE_IPv6 0x86DD /**< IPv6 Protocol. */\n@@ -329,6 +340,7 @@ struct vxlan_hdr {\n #define ETHER_TYPE_VLAN 0x8100 /**< IEEE 802.1Q VLAN tagging. */\n #define ETHER_TYPE_1588 0x88F7 /**< IEEE 802.1AS 1588 Precise Time Protocol. */\n #define ETHER_TYPE_SLOW 0x8809 /**< Slow protocols (LACP and Marker). */\n+#define ETHER_TYPE_TEB 0x6558 /**< Transparent Ethernet Bridging. */\n \n #define ETHER_VXLAN_HLEN (sizeof(struct udp_hdr) + sizeof(struct vxlan_hdr))\n /**< VXLAN tunnel header length. */\n", "prefixes": [ "dpdk-dev", "1/6" ] }{ "id": 2515, "url": "