Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/109666/?format=api
https://patches.dpdk.org/api/patches/109666/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220413160932.2074781-33-kevinx.liu@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": "<20220413160932.2074781-33-kevinx.liu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220413160932.2074781-33-kevinx.liu@intel.com", "date": "2022-04-13T16:09:31", "name": "[v2,32/33] testpmd: force flow flush", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "81231cf022e29a7767a4dfae85994922d7230459", "submitter": { "id": 2440, "url": "https://patches.dpdk.org/api/people/2440/?format=api", "name": "Kevin Liu", "email": "kevinx.liu@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220413160932.2074781-33-kevinx.liu@intel.com/mbox/", "series": [ { "id": 22497, "url": "https://patches.dpdk.org/api/series/22497/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=22497", "date": "2022-04-13T16:08:59", "name": "support full function of DCF", "version": 2, "mbox": "https://patches.dpdk.org/series/22497/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/109666/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/109666/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 8C0B0A0508;\n\tWed, 13 Apr 2022 10:14:31 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9D29542823;\n\tWed, 13 Apr 2022 10:12:09 +0200 (CEST)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id A4DFB42855\n for <dev@dpdk.org>; Wed, 13 Apr 2022 10:12:05 +0200 (CEST)", "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Apr 2022 01:12:05 -0700", "from intel-cd-odc-kevin.cd.intel.com ([10.240.178.195])\n by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Apr 2022 01:12:03 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1649837525; x=1681373525;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=6916rklRMOIDhdIxoTtjqeyYdrSxqKUKN4C0RUzgDyE=;\n b=lysNo3xc1qtKvY5qV4mlGf4NuJAJxzLAWTXZr7vO91i8m2I1/zKse6nh\n YXhapsi/yKMQqokQIKanrArbjrZcwfN+tYhz2dtwq5f1JUB9h455AqqAd\n Gy5XKsiFhq0Ii2VrpbfzRoK271huL+SGuUyTPMAMaalwjYj26EPsOWpZo\n /Gmys+oI5mppoeT9T+LVA766YilmLWVbmBP9NpFiRSjUHBmCyLLEhbVxX\n KD2uEslw3ZPStYdy59kKOsj1E9zyN89RMffPiE7sWc+q7FSwvvvJcgLl0\n fkaeiHEk3hJ/fjucJ00jZKZOSSmBQ6AVppc/2jmU/cqU5rHGKsWKeXc6F A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10315\"; a=\"287630159\"", "E=Sophos;i=\"5.90,256,1643702400\"; d=\"scan'208\";a=\"287630159\"", "E=Sophos;i=\"5.90,256,1643702400\"; d=\"scan'208\";a=\"526847943\"" ], "From": "Kevin Liu <kevinx.liu@intel.com>", "To": "dev@dpdk.org", "Cc": "qiming.yang@intel.com, qi.z.zhang@intel.com, stevex.yang@intel.com,\n Kevin Liu <kevinx.liu@intel.com>", "Subject": "[PATCH v2 32/33] testpmd: force flow flush", "Date": "Wed, 13 Apr 2022 16:09:31 +0000", "Message-Id": "<20220413160932.2074781-33-kevinx.liu@intel.com>", "X-Mailer": "git-send-email 2.33.1", "In-Reply-To": "<20220413160932.2074781-1-kevinx.liu@intel.com>", "References": "<20220407105706.18889-1-kevinx.liu@intel.com>\n <20220413160932.2074781-1-kevinx.liu@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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" }, "content": "From: Qi Zhang <qi.z.zhang@intel.com>\n\nFor mdcf, rte_flow_flush is still need to be invoked even there are\nno flows be created in current instance.\n\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\nSigned-off-by: Kevin Liu <kevinx.liu@intel.com>\n---\n app/test-pmd/config.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c\nindex cc8e7aa138..3d40e3e43d 100644\n--- a/app/test-pmd/config.c\n+++ b/app/test-pmd/config.c\n@@ -2923,15 +2923,15 @@ port_flow_flush(portid_t port_id)\n \n \tport = &ports[port_id];\n \n-\tif (port->flow_list == NULL)\n-\t\treturn ret;\n-\n \t/* Poisoning to make sure PMDs update it in case of error. */\n \tmemset(&error, 0x44, sizeof(error));\n \tif (rte_flow_flush(port_id, &error)) {\n \t\tport_flow_complain(&error);\n \t}\n \n+\tif (port->flow_list == NULL)\n+\t\treturn ret;\n+\n \twhile (port->flow_list) {\n \t\tstruct port_flow *pf = port->flow_list->next;\n \n", "prefixes": [ "v2", "32/33" ] }{ "id": 109666, "url": "