Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/9820/?format=api
http://patches.dpdk.org/api/patches/9820/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1452609006-32496-1-git-send-email-andrey.chilikin@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": "<1452609006-32496-1-git-send-email-andrey.chilikin@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1452609006-32496-1-git-send-email-andrey.chilikin@intel.com", "date": "2016-01-12T14:30:06", "name": "[dpdk-dev] i40e: fix VLAN bitmasks for hash/fdir input sets for tunnels", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "49c1bd5eb764a693b0224ec6b1672806bbd392dc", "submitter": { "id": 94, "url": "http://patches.dpdk.org/api/people/94/?format=api", "name": "Chilikin, Andrey", "email": "andrey.chilikin@intel.com" }, "delegate": { "id": 10, "url": "http://patches.dpdk.org/api/users/10/?format=api", "username": "bruce", "first_name": "Bruce", "last_name": "Richardson", "email": "bruce.richardson@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1452609006-32496-1-git-send-email-andrey.chilikin@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/9820/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/9820/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 30E6E8E72;\n\tTue, 12 Jan 2016 15:30:34 +0100 (CET)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 6EF1F8E62\n\tfor <dev@dpdk.org>; Tue, 12 Jan 2016 15:30:33 +0100 (CET)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby fmsmga102.fm.intel.com with ESMTP; 12 Jan 2016 06:30:34 -0800", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga004.fm.intel.com with ESMTP; 12 Jan 2016 06:30:31 -0800", "from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com\n\t[10.237.217.45])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tu0CEUUc4011968; Tue, 12 Jan 2016 14:30:30 GMT", "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id u0CEUUtG032595;\n\tTue, 12 Jan 2016 14:30:30 GMT", "(from achiliki@localhost)\n\tby sivswdev01.ir.intel.com with id u0CEUUEV032591;\n\tTue, 12 Jan 2016 14:30:30 GMT" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.20,557,1444719600\"; d=\"scan'208\";a=\"27991468\"", "From": "Andrey Chilikin <andrey.chilikin@intel.com>", "To": "dev@dpdk.org", "Date": "Tue, 12 Jan 2016 14:30:06 +0000", "Message-Id": "<1452609006-32496-1-git-send-email-andrey.chilikin@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "Subject": "[dpdk-dev] [PATCH] i40e: fix VLAN bitmasks for hash/fdir input sets\n\tfor tunnels", "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\nSigned-off-by: Andrey Chilikin <andrey.chilikin@intel.com>\n---\n drivers/net/i40e/i40e_ethdev.c | 12 +++++++-----\n 1 files changed, 7 insertions(+), 5 deletions(-)", "diff": "diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c\nindex bf6220d..453276f 100644\n--- a/drivers/net/i40e/i40e_ethdev.c\n+++ b/drivers/net/i40e/i40e_ethdev.c\n@@ -206,10 +206,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@@ -6777,7 +6779,7 @@ i40e_translate_input_set_reg(uint64_t input)\n \t\t{I40E_INSET_SRC_PORT, I40E_REG_INSET_L4_SRC_PORT},\n \t\t{I40E_INSET_DST_PORT, I40E_REG_INSET_L4_DST_PORT},\n \t\t{I40E_INSET_SCTP_VT, I40E_REG_INSET_L4_SCTP_VERIFICATION_TAG},\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_TUNNEL_DMAC,\n \t\t\tI40E_REG_INSET_TUNNEL_L2_INNER_DST_MAC},\n \t\t{I40E_INSET_TUNNEL_IPV4_DST, I40E_REG_INSET_TUNNEL_L3_DST_IP4},\n", "prefixes": [ "dpdk-dev" ] }{ "id": 9820, "url": "