Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/109680/?format=api
http://patches.dpdk.org/api/patches/109680/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220413171030.2231163-12-kevinx.liu@intel.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": "<20220413171030.2231163-12-kevinx.liu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220413171030.2231163-12-kevinx.liu@intel.com", "date": "2022-04-13T17:10:19", "name": "[v3,11/22] net/ice: support IPv6 NVGRE tunnel", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "e89309505882fc467e64c286422a061d56e5fc99", "submitter": { "id": 2440, "url": "http://patches.dpdk.org/api/people/2440/?format=api", "name": "Kevin Liu", "email": "kevinx.liu@intel.com" }, "delegate": { "id": 1540, "url": "http://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220413171030.2231163-12-kevinx.liu@intel.com/mbox/", "series": [ { "id": 22498, "url": "http://patches.dpdk.org/api/series/22498/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22498", "date": "2022-04-13T17:10:08", "name": "support full function of DCF", "version": 3, "mbox": "http://patches.dpdk.org/series/22498/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/109680/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/109680/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 AFC66A0508;\n\tWed, 13 Apr 2022 11:13:05 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 48DA142835;\n\tWed, 13 Apr 2022 11:12:23 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id E7ADC4068B\n for <dev@dpdk.org>; Wed, 13 Apr 2022 11:12:16 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Apr 2022 02:12:09 -0700", "from intel-cd-odc-kevin.cd.intel.com ([10.240.178.195])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Apr 2022 02:12:07 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1649841137; x=1681377137;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=z/7XmDGmm/vYYV9DYQCl99wkfRfZy2l0IrhTmuLzWN4=;\n b=JaSy1t1KvQXF7IwYbNv2HKwdYNNOT/pSZFIFrqVl+FC2o5bmNmw4XOpE\n Sr7VBiMGQyK6QdCwZmW/AVroTZCVdmazh8U1t28GduR/EbeHZnNRwJva2\n 7UtBM+Rw1ImLLswg1HZWLXrdHOScrDE+kAkTcScvsPx9zzXd6/09o6m5l\n pQemi+pWeOpwOabaradd8l1v4JiXy75K0L/lK+0oPKN5G8fPUQiKfHzRt\n vldAyTZaSini1a4pVGWmBY+Hx8CnZlJl9u2GiDLzWdjmIRfIwRatGrGi0\n KNXtstdtBXhWSAVQXaRy3zESsi7bkpwmXtCpaU3WXDfj43Yj43vnXR/dX w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10315\"; a=\"262058383\"", "E=Sophos;i=\"5.90,256,1643702400\"; d=\"scan'208\";a=\"262058383\"", "E=Sophos;i=\"5.90,256,1643702400\"; d=\"scan'208\";a=\"552122834\"" ], "From": "Kevin Liu <kevinx.liu@intel.com>", "To": "dev@dpdk.org", "Cc": "qiming.yang@intel.com, qi.z.zhang@intel.com, stevex.yang@intel.com,\n Alvin Zhang <alvinx.zhang@intel.com>, Junfeng Guo <junfeng.guo@intel.com>,\n Kevin Liu <kevinx.liu@intel.com>", "Subject": "[PATCH v3 11/22] net/ice: support IPv6 NVGRE tunnel", "Date": "Wed, 13 Apr 2022 17:10:19 +0000", "Message-Id": "<20220413171030.2231163-12-kevinx.liu@intel.com>", "X-Mailer": "git-send-email 2.33.1", "In-Reply-To": "<20220413171030.2231163-1-kevinx.liu@intel.com>", "References": "<20220413160932.2074781-1-kevinx.liu@intel.com>\n <20220413171030.2231163-1-kevinx.liu@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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": "From: Alvin Zhang <alvinx.zhang@intel.com>\n\nAdd protocol definition and pattern matching for IPv6 NVGRE tunnel.\n\nSigned-off-by: Junfeng Guo <junfeng.guo@intel.com>\nSigned-off-by: Alvin Zhang <alvinx.zhang@intel.com>\nSigned-off-by: Kevin Liu <kevinx.liu@intel.com>\n---\n drivers/net/ice/ice_switch_filter.c | 5 +++++\n 1 file changed, 5 insertions(+)", "diff": "diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c\nindex 36c9bffb73..c04547235c 100644\n--- a/drivers/net/ice/ice_switch_filter.c\n+++ b/drivers/net/ice/ice_switch_filter.c\n@@ -31,6 +31,7 @@\n #define ICE_PPP_IPV4_PROTO\t0x0021\n #define ICE_PPP_IPV6_PROTO\t0x0057\n #define ICE_IPV4_PROTO_NVGRE\t0x002F\n+#define ICE_IPV6_PROTO_NVGRE 0x002F\n #define ICE_SW_PRI_BASE 6\n \n #define ICE_SW_INSET_ETHER ( \\\n@@ -763,6 +764,10 @@ ice_switch_parse_pattern(const struct rte_flow_item pattern[],\n \t\t\t\t\t\tbreak;\n \t\t\t\t\t}\n \t\t\t\t}\n+\t\t\t\tif ((ipv6_spec->hdr.proto &\n+\t\t\t\t ipv6_mask->hdr.proto) ==\n+\t\t\t\t ICE_IPV6_PROTO_NVGRE)\n+\t\t\t\t\t*tun_type = ICE_SW_TUN_AND_NON_TUN;\n \t\t\t\tif (ipv6_mask->hdr.proto)\n \t\t\t\t\t*input |= ICE_INSET_IPV6_NEXT_HDR;\n \t\t\t\tif (ipv6_mask->hdr.hop_limits)\n", "prefixes": [ "v3", "11/22" ] }{ "id": 109680, "url": "