Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/96592/?format=api
http://patchwork.dpdk.org/api/patches/96592/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210803083817.1243796-14-wenjun1.wu@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20210803083817.1243796-14-wenjun1.wu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210803083817.1243796-14-wenjun1.wu@intel.com", "date": "2021-08-03T08:38:08", "name": "[13/22] net/ice/base: add ethertype offset for QinQ dummy packet", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": true, "hash": "6051ebce7fc4ee4262f037da6242b39bc43039f5", "submitter": { "id": 2083, "url": "http://patchwork.dpdk.org/api/people/2083/?format=api", "name": "Wenjun Wu", "email": "wenjun1.wu@intel.com" }, "delegate": { "id": 1540, "url": "http://patchwork.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210803083817.1243796-14-wenjun1.wu@intel.com/mbox/", "series": [ { "id": 18158, "url": "http://patchwork.dpdk.org/api/series/18158/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18158", "date": "2021-08-03T08:37:55", "name": "backport feature support to DPDK 20.11", "version": 1, "mbox": "http://patchwork.dpdk.org/series/18158/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/96592/comments/", "check": "warning", "checks": "http://patchwork.dpdk.org/api/patches/96592/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 167A1A0C41;\n\tTue, 3 Aug 2021 10:58:34 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0A79F4120A;\n\tTue, 3 Aug 2021 10:57:29 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id 06041411BC\n for <dev@dpdk.org>; Tue, 3 Aug 2021 10:57:15 +0200 (CEST)", "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Aug 2021 01:57:05 -0700", "from wuwenjun.sh.intel.com ([10.67.110.197])\n by fmsmga008.fm.intel.com with ESMTP; 03 Aug 2021 01:57:03 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10064\"; a=\"211764406\"", "E=Sophos;i=\"5.84,291,1620716400\"; d=\"scan'208\";a=\"211764406\"", "E=Sophos;i=\"5.84,291,1620716400\"; d=\"scan'208\";a=\"479396638\"" ], "X-ExtLoop1": "1", "From": "Wenjun Wu <wenjun1.wu@intel.com>", "To": "dev@dpdk.org", "Date": "Tue, 3 Aug 2021 16:38:08 +0800", "Message-Id": "<20210803083817.1243796-14-wenjun1.wu@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20210803083817.1243796-1-wenjun1.wu@intel.com>", "References": "<20210803083817.1243796-1-wenjun1.wu@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 13/22] net/ice/base: add ethertype offset for\n QinQ dummy packet", "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": "From: Yuying Zhang <yuying.zhang@intel.com>\n\n[ upstream commit 0c0735ff4fc15e227631cbfe3fd31e33e42b34fc ]\n\nAdd the ethertype offset for QinQ switch rule dummy packet to\nallow matching the corresponding field.\n\nSigned-off-by: Yuying Zhang <yuying.zhang@intel.com>\nAcked-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_switch.c | 13 ++++++++++---\n 1 file changed, 10 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c\nindex 55bfc3e6c5..887b35ac47 100644\n--- a/drivers/net/ice/base/ice_switch.c\n+++ b/drivers/net/ice/base/ice_switch.c\n@@ -1205,6 +1205,7 @@ static const u8 dummy_ipv6_l2tpv3_pkt[] = {\n \n static const struct ice_dummy_pkt_offsets dummy_qinq_ipv4_packet_offsets[] = {\n \t{ ICE_MAC_OFOS,\t\t0 },\n+\t{ ICE_ETYPE_OL, 12 },\n \t{ ICE_VLAN_EX,\t\t14 },\n \t{ ICE_VLAN_OFOS,\t18 },\n \t{ ICE_IPV4_OFOS,\t22 },\n@@ -1215,7 +1216,8 @@ static const u8 dummy_qinq_ipv4_pkt[] = {\n \t0x00, 0x00, 0x00, 0x00, /* ICE_MAC_OFOS 0 */\n \t0x00, 0x00, 0x00, 0x00,\n \t0x00, 0x00, 0x00, 0x00,\n-\t0x91, 0x00,\n+\n+\t0x91, 0x00,\t\t/* ICE_ETYPE_OL 12 */\n \n \t0x00, 0x00, 0x81, 0x00, /* ICE_VLAN_EX 14 */\n \t0x00, 0x00, 0x08, 0x00, /* ICE_VLAN_OFOS 18 */\n@@ -1234,6 +1236,7 @@ static const u8 dummy_qinq_ipv4_pkt[] = {\n \n static const struct ice_dummy_pkt_offsets dummy_qinq_ipv6_packet_offsets[] = {\n \t{ ICE_MAC_OFOS,\t\t0 },\n+\t{ ICE_ETYPE_OL, 12 },\n \t{ ICE_VLAN_EX,\t\t14 },\n \t{ ICE_VLAN_OFOS,\t18 },\n \t{ ICE_IPV6_OFOS,\t22 },\n@@ -1244,7 +1247,8 @@ static const u8 dummy_qinq_ipv6_pkt[] = {\n \t0x00, 0x00, 0x00, 0x00, /* ICE_MAC_OFOS 0 */\n \t0x00, 0x00, 0x00, 0x00,\n \t0x00, 0x00, 0x00, 0x00,\n-\t0x91, 0x00,\n+\n+\t0x91, 0x00,\t\t/* ICE_ETYPE_OL 12 */\n \n \t0x00, 0x00, 0x81, 0x00, /* ICE_VLAN_EX 14 */\n \t0x00, 0x00, 0x86, 0xDD, /* ICE_VLAN_OFOS 18 */\n@@ -1271,6 +1275,7 @@ static const u8 dummy_qinq_ipv6_pkt[] = {\n \n static const struct ice_dummy_pkt_offsets dummy_qinq_pppoe_packet_offsets[] = {\n \t{ ICE_MAC_OFOS,\t\t0 },\n+\t{ ICE_ETYPE_OL, 12 },\n \t{ ICE_VLAN_EX,\t\t14 },\n \t{ ICE_VLAN_OFOS,\t18 },\n \t{ ICE_PPPOE,\t\t22 },\n@@ -1280,6 +1285,7 @@ static const struct ice_dummy_pkt_offsets dummy_qinq_pppoe_packet_offsets[] = {\n static const\n struct ice_dummy_pkt_offsets dummy_qinq_pppoe_ipv4_packet_offsets[] = {\n \t{ ICE_MAC_OFOS,\t\t0 },\n+\t{ ICE_ETYPE_OL, 12 },\n \t{ ICE_VLAN_EX,\t\t14 },\n \t{ ICE_VLAN_OFOS,\t18 },\n \t{ ICE_PPPOE,\t\t22 },\n@@ -1291,7 +1297,8 @@ static const u8 dummy_qinq_pppoe_ipv4_pkt[] = {\n \t0x00, 0x00, 0x00, 0x00, /* ICE_MAC_OFOS 0 */\n \t0x00, 0x00, 0x00, 0x00,\n \t0x00, 0x00, 0x00, 0x00,\n-\t0x91, 0x00,\n+\n+\t0x91, 0x00,\t\t/* ICE_ETYPE_OL 12 */\n \n \t0x00, 0x00, 0x81, 0x00, /* ICE_VLAN_EX 14 */\n \t0x00, 0x00, 0x88, 0x64, /* ICE_VLAN_OFOS 18 */\n", "prefixes": [ "13/22" ] }{ "id": 96592, "url": "