Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/11240/?format=api
https://patches.dpdk.org/api/patches/11240/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1457502180-14124-11-git-send-email-jingjing.wu@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": "<1457502180-14124-11-git-send-email-jingjing.wu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1457502180-14124-11-git-send-email-jingjing.wu@intel.com", "date": "2016-03-09T05:42:58", "name": "[dpdk-dev,v3,10/12] i40e: fix VLAN bitmasks for input set", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "05afaf951f20fb1a1add2824d2da0316c1e5707d", "submitter": { "id": 47, "url": "https://patches.dpdk.org/api/people/47/?format=api", "name": "Jingjing Wu", "email": "jingjing.wu@intel.com" }, "delegate": { "id": 10, "url": "https://patches.dpdk.org/api/users/10/?format=api", "username": "bruce", "first_name": "Bruce", "last_name": "Richardson", "email": "bruce.richardson@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1457502180-14124-11-git-send-email-jingjing.wu@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/11240/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/11240/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 F41C4530F;\n\tWed, 9 Mar 2016 06:43:31 +0100 (CET)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby dpdk.org (Postfix) with ESMTP id D4B352E81\n\tfor <dev@dpdk.org>; Wed, 9 Mar 2016 06:43:29 +0100 (CET)", "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby fmsmga104.fm.intel.com with ESMTP; 08 Mar 2016 21:43:29 -0800", "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga002.jf.intel.com with ESMTP; 08 Mar 2016 21:43:28 -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 u295hPh6032506;\n\tWed, 9 Mar 2016 13:43:25 +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 u295hM2B014228; Wed, 9 Mar 2016 13:43:24 +0800", "(from wujingji@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id u295hMYR014224; \n\tWed, 9 Mar 2016 13:43:22 +0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.24,310,1455004800\"; d=\"scan'208\";a=\"929899705\"", "From": "Jingjing Wu <jingjing.wu@intel.com>", "To": "bruce.richardson@intel.com", "Date": "Wed, 9 Mar 2016 13:42:58 +0800", "Message-Id": "<1457502180-14124-11-git-send-email-jingjing.wu@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": "<1457502180-14124-1-git-send-email-jingjing.wu@intel.com>", "References": "<1456918207-31696-1-git-send-email-jingjing.wu@intel.com>\n\t<1457502180-14124-1-git-send-email-jingjing.wu@intel.com>", "Cc": "dev@dpdk.org", "Subject": "[dpdk-dev] [PATCH v3 10/12] i40e: fix VLAN bitmasks for input set", "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": "This patch adds missing VLAN bitmask for inner frame in case of\ntunneling and fixes VLAN tags bitmasks for single or outer frame\nin case of tunneling.\n\nFixes: 98f055707685 (\"i40e: configure input fields for RSS or flow director\")\n\nSigned-off-by: Andrey Chilikin <andrey.chilikin@intel.com>\nSigned-off-by: Jingjing Wu <jingjing.wu@intel.com>\n---\n drivers/net/i40e/i40e_ethdev.c | 12 +++++++-----\n 1 file changed, 7 insertions(+), 5 deletions(-)", "diff": "diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c\nindex 70a1c6c..af87298 100644\n--- a/drivers/net/i40e/i40e_ethdev.c\n+++ b/drivers/net/i40e/i40e_ethdev.c\n@@ -199,10 +199,12 @@\n #define I40E_REG_INSET_L2_DMAC 0xE000000000000000ULL\n /* Source MAC address */\n #define I40E_REG_INSET_L2_SMAC 0x1C00000000000000ULL\n-/* VLAN tag in the outer L2 header */\n-#define I40E_REG_INSET_L2_OUTER_VLAN 0x0080000000000000ULL\n-/* VLAN tag in the inner L2 header */\n-#define I40E_REG_INSET_L2_INNER_VLAN 0x0100000000000000ULL\n+/* Outer (S-Tag) VLAN tag in the outer L2 header */\n+#define I40E_REG_INSET_L2_OUTER_VLAN 0x0200000000000000ULL\n+/* Inner (C-Tag) or single VLAN tag in the outer L2 header */\n+#define I40E_REG_INSET_L2_INNER_VLAN 0x0080000000000000ULL\n+/* Single VLAN tag in the inner L2 header */\n+#define I40E_REG_INSET_TUNNEL_VLAN 0x0100000000000000ULL\n /* Source IPv4 address */\n #define I40E_REG_INSET_L3_SRC_IP4 0x0001800000000000ULL\n /* Destination IPv4 address */\n@@ -6879,7 +6881,7 @@ i40e_translate_input_set_reg(uint64_t input)\n \t\t\tI40E_REG_INSET_TUNNEL_L4_UDP_SRC_PORT},\n \t\t{I40E_INSET_TUNNEL_DST_PORT,\n \t\t\tI40E_REG_INSET_TUNNEL_L4_UDP_DST_PORT},\n-\t\t{I40E_INSET_TUNNEL_ID, I40E_REG_INSET_TUNNEL_ID},\n+\t\t{I40E_INSET_VLAN_TUNNEL, I40E_REG_INSET_TUNNEL_VLAN},\n \t\t{I40E_INSET_FLEX_PAYLOAD_W1, I40E_REG_INSET_FLEX_PAYLOAD_WORD1},\n \t\t{I40E_INSET_FLEX_PAYLOAD_W2, I40E_REG_INSET_FLEX_PAYLOAD_WORD2},\n \t\t{I40E_INSET_FLEX_PAYLOAD_W3, I40E_REG_INSET_FLEX_PAYLOAD_WORD3},\n", "prefixes": [ "dpdk-dev", "v3", "10/12" ] }{ "id": 11240, "url": "