Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/93313/?format=api
http://patches.dpdk.org/api/patches/93313/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210519032745.707639-1-stevex.yang@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": "<20210519032745.707639-1-stevex.yang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210519032745.707639-1-stevex.yang@intel.com", "date": "2021-05-19T03:27:45", "name": "[v1] net/i40e: fix flow director does not work", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "f88df43b2bed0382129ed5fbaf4d338ee82f89fb", "submitter": { "id": 1883, "url": "http://patches.dpdk.org/api/people/1883/?format=api", "name": "Steve Yang", "email": "stevex.yang@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/20210519032745.707639-1-stevex.yang@intel.com/mbox/", "series": [ { "id": 17024, "url": "http://patches.dpdk.org/api/series/17024/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=17024", "date": "2021-05-19T03:27:45", "name": "[v1] net/i40e: fix flow director does not work", "version": 1, "mbox": "http://patches.dpdk.org/series/17024/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/93313/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/93313/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 99CFFA0A0A;\n\tWed, 19 May 2021 05:28:53 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 215CE40143;\n\tWed, 19 May 2021 05:28:53 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 41AD640041\n for <dev@dpdk.org>; Wed, 19 May 2021 05:28:51 +0200 (CEST)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 May 2021 20:28:50 -0700", "from intel-npg-odc-srv01.cd.intel.com ([10.240.178.194])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 May 2021 20:28:48 -0700" ], "IronPort-SDR": [ "\n RGzvaYtznSoybP7JoRv/EPQfdeDccpFenS7YzszQSlh/Nzmqh073eXjO3S5AOl52+sAIg/ufkY\n yzJMb8ZaBk2A==", "\n oQjIYrdax1Nq1bjx8PIQj2NF9x10zNWZC44OnCczscb3fvyWI60oacbVDxsjlV+wQ30z1HA62h\n KqjhBWRFSQNw==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,9988\"; a=\"181159012\"", "E=Sophos;i=\"5.82,311,1613462400\"; d=\"scan'208\";a=\"181159012\"", "E=Sophos;i=\"5.82,311,1613462400\"; d=\"scan'208\";a=\"439772851\"" ], "From": "Steve Yang <stevex.yang@intel.com>", "To": "dev@dpdk.org", "Cc": "beilei.xing@intel.com,\n\tSteve Yang <stevex.yang@intel.com>", "Date": "Wed, 19 May 2021 03:27:45 +0000", "Message-Id": "<20210519032745.707639-1-stevex.yang@intel.com>", "X-Mailer": "git-send-email 2.27.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v1] net/i40e: fix flow director does not work", "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": "When user configured the flow rule with raw packet via command\n\"flow_director_filter\", it would reset all previous fdir input set\nflags with \"i40e_flow_set_fdir_inset()\".\n\nIgnore to configure the flow input set with raw packet rule used.\n\nFixes: ff04964ea6d5 (\"net/i40e: fix flow director for common pctypes\")\n\nSigned-off-by: Steve Yang <stevex.yang@intel.com>\n---\n drivers/net/i40e/i40e_fdir.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/i40e/i40e_fdir.c b/drivers/net/i40e/i40e_fdir.c\nindex ac0e09bfdd..3c7cf1ba90 100644\n--- a/drivers/net/i40e/i40e_fdir.c\n+++ b/drivers/net/i40e/i40e_fdir.c\n@@ -1768,7 +1768,8 @@ i40e_flow_add_del_fdir_filter(struct rte_eth_dev *dev,\n \n \tif (add) {\n \t\t/* configure the input set for common PCTYPEs*/\n-\t\tif (!filter->input.flow_ext.customized_pctype) {\n+\t\tif (!filter->input.flow_ext.customized_pctype &&\n+\t\t !filter->input.flow_ext.pkt_template) {\n \t\t\tret = i40e_flow_set_fdir_inset(pf, pctype,\n \t\t\t\t\tfilter->input.flow_ext.input_set);\n \t\t\tif (ret < 0)\n", "prefixes": [ "v1" ] }{ "id": 93313, "url": "