Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76116/?format=api
https://patches.dpdk.org/api/patches/76116/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200828023328.62492-1-guinanx.sun@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": "<20200828023328.62492-1-guinanx.sun@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200828023328.62492-1-guinanx.sun@intel.com", "date": "2020-08-28T02:33:28", "name": "net/ice: fix flow validation for unsupported patterns", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": true, "hash": "933f8e832a1122fb1356cc070f78c0170329fa46", "submitter": { "id": 1476, "url": "https://patches.dpdk.org/api/people/1476/?format=api", "name": "Guinan Sun", "email": "guinanx.sun@intel.com" }, "delegate": { "id": 1540, "url": "https://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200828023328.62492-1-guinanx.sun@intel.com/mbox/", "series": [ { "id": 11834, "url": "https://patches.dpdk.org/api/series/11834/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11834", "date": "2020-08-28T02:33:28", "name": "net/ice: fix flow validation for unsupported patterns", "version": 1, "mbox": "https://patches.dpdk.org/series/11834/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/76116/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/76116/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id B4955A04B1;\n\tFri, 28 Aug 2020 04:50:03 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B6D1A1BC24;\n\tFri, 28 Aug 2020 04:50:02 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id 244EA255;\n Fri, 28 Aug 2020 04:49:59 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Aug 2020 19:49:58 -0700", "from dpdk.sh.intel.com ([10.239.255.12])\n by orsmga002.jf.intel.com with ESMTP; 27 Aug 2020 19:49:54 -0700" ], "IronPort-SDR": [ "\n Xxg5rUlcQ6EgnyyFx2QPNBVhRevDc/5LEMA3q/QukZdkFoxxgHCUPWHKB8ZSAcqBhK7uaRseu3\n MA3ekRZhQ2zg==", "\n fCulUpMD3ZafuzwVO7r2+Om9U2BOf1elFXuT5DFuvfFA/8smm7Jq1estLCe0r4saytadeG9kme\n JHWFVy99pg/Q==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9726\"; a=\"154013829\"", "E=Sophos;i=\"5.76,362,1592895600\"; d=\"scan'208\";a=\"154013829\"", "E=Sophos;i=\"5.76,362,1592895600\"; d=\"scan'208\";a=\"313453365\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Guinan Sun <guinanx.sun@intel.com>", "To": "dev@dpdk.org", "Cc": "Qi Zhang <qi.z.zhang@intel.com>, Qiming Yang <qiming.yang@intel.com>,\n Guinan Sun <guinanx.sun@intel.com>, stable@dpdk.org", "Date": "Fri, 28 Aug 2020 02:33:28 +0000", "Message-Id": "<20200828023328.62492-1-guinanx.sun@intel.com>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dpdk-dev] [PATCH] net/ice: fix flow validation for unsupported\n\tpatterns", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "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 loading the OS default package and the pipeline mode is enabled\nby the \"pipeline-mode-support=1\" operation. In this case, the wrong\nparser is selected for processing and it will cause the unsupported\npatterns(pppoes/pfcp/l2tpv3/esp/ah) to be validated successfully.\nThis patch corrects the parser selection issue.\n\nFixes: 47d460d63233 (\"net/ice: rework switch filter\")\nCc: stable@dpdk.org\n\nSigned-off-by: Guinan Sun <guinanx.sun@intel.com>\n---\n drivers/net/ice/ice_switch_filter.c | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c\nindex c4b00b6a2..884fbaae2 100644\n--- a/drivers/net/ice/ice_switch_filter.c\n+++ b/drivers/net/ice/ice_switch_filter.c\n@@ -1806,7 +1806,8 @@ ice_switch_init(struct ice_adapter *ad)\n \telse\n \t\treturn -EINVAL;\n \n-\tif (ad->devargs.pipe_mode_support)\n+\tif (ad->devargs.pipe_mode_support &&\n+\t ad->active_pkg_type != ICE_PKG_TYPE_OS_DEFAULT)\n \t\tret = ice_register_parser(perm_parser, ad);\n \telse\n \t\tret = ice_register_parser(dist_parser, ad);\n@@ -1824,7 +1825,8 @@ ice_switch_uninit(struct ice_adapter *ad)\n \telse\n \t\tdist_parser = &ice_switch_dist_parser_os;\n \n-\tif (ad->devargs.pipe_mode_support)\n+\tif (ad->devargs.pipe_mode_support &&\n+\t ad->active_pkg_type != ICE_PKG_TYPE_OS_DEFAULT)\n \t\tice_unregister_parser(perm_parser, ad);\n \telse\n \t\tice_unregister_parser(dist_parser, ad);\n", "prefixes": [] }{ "id": 76116, "url": "