Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/20145/?format=api
http://patches.dpdk.org/api/patches/20145/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1486111437-32778-1-git-send-email-wei.zhao1@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": "<1486111437-32778-1-git-send-email-wei.zhao1@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1486111437-32778-1-git-send-email-wei.zhao1@intel.com", "date": "2017-02-03T08:43:57", "name": "[dpdk-dev] net/ixgbe: add tci mask check in fdir pasrer", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "9ac2b1915459a00735ebe49c2e9a820bdda90087", "submitter": { "id": 495, "url": "http://patches.dpdk.org/api/people/495/?format=api", "name": "Zhao1, Wei", "email": "wei.zhao1@intel.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1486111437-32778-1-git-send-email-wei.zhao1@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/20145/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/20145/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 5308F2C08;\n\tFri, 3 Feb 2017 09:49:41 +0100 (CET)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id EB2AD2BF5\n\tfor <dev@dpdk.org>; Fri, 3 Feb 2017 09:49:39 +0100 (CET)", "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby orsmga103.jf.intel.com with ESMTP; 03 Feb 2017 00:49:38 -0800", "from dpdk1.bj.intel.com ([172.16.182.84])\n\tby orsmga003.jf.intel.com with ESMTP; 03 Feb 2017 00:49:26 -0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.33,328,1477983600\"; d=\"scan'208\";a=\"929715098\"", "From": "Wei Zhao <wei.zhao1@intel.com>", "To": "dev@dpdk.org", "Cc": "Wei Zhao <wei.zhao1@intel.com>", "Date": "Fri, 3 Feb 2017 16:43:57 +0800", "Message-Id": "<1486111437-32778-1-git-send-email-wei.zhao1@intel.com>", "X-Mailer": "git-send-email 2.5.5", "Subject": "[dpdk-dev] [PATCH] net/ixgbe: add tci mask check in fdir pasrer", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <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 more check on the tci mask of vlan and vxlan parser\nin fdir filter rule pattern parser.If do not add such check,\nit maybe cause error in fdir configuration set check.\n\nFixes: 11777435c727 (\"net/ixgbe: parse flow director filter\")\n\nSigned-off-by: Wei Zhao <wei.zhao1@intel.com>\n---\n drivers/net/ixgbe/ixgbe_flow.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/ixgbe/ixgbe_flow.c\nindex 82aceed..d64cfd1 100644\n--- a/drivers/net/ixgbe/ixgbe_flow.c\n+++ b/drivers/net/ixgbe/ixgbe_flow.c\n@@ -1400,7 +1400,7 @@ ixgbe_parse_fdir_act_attr(const struct rte_flow_attr *attr,\n * ETH\t\tdst_addr\n \t\t{0xAC, 0x7B, 0xA1,\t{0xFF, 0xFF, 0xFF,\n \t\t0x2C, 0x6D, 0x36}\t0xFF, 0xFF, 0xFF}\n- * MAC VLAN\ttci\t0x2016\t\t0xFFFF\n+ * MAC VLAN\ttci\t0x2016\t\t0xEFFF\n *\t\ttpid\t0x8100\t\t0xFFFF\n * END\n * Other members in mask and spec should set to 0x00.\n@@ -1617,6 +1617,7 @@ ixgbe_parse_fdir_filter_normal(const struct rte_flow_attr *attr,\n \t\t\treturn -rte_errno;\n \t\t}\n \t\trule->mask.vlan_tci_mask = vlan_mask->tci;\n+\t\trule->mask.vlan_tci_mask &= 0xEFFF;\n \t\t/* More than one tags are not supported. */\n \n \t\t/**\n@@ -2360,6 +2361,7 @@ ixgbe_parse_fdir_filter_tunnel(const struct rte_flow_attr *attr,\n \t\t\treturn -rte_errno;\n \t\t}\n \t\trule->mask.vlan_tci_mask = vlan_mask->tci;\n+\t\trule->mask.vlan_tci_mask &= 0xEFFF;\n \t\t/* More than one tags are not supported. */\n \n \t\t/**\n", "prefixes": [ "dpdk-dev" ] }{ "id": 20145, "url": "