Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/43257/?format=api
http://patchwork.dpdk.org/api/patches/43257/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1532255950-105866-1-git-send-email-rosen.xu@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<1532255950-105866-1-git-send-email-rosen.xu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1532255950-105866-1-git-send-email-rosen.xu@intel.com", "date": "2018-07-22T10:39:10", "name": "[v3] examples/flow_filtering: add rte_fdir_conf initialization", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "32fd9f26305f9c4e766221b8fd80a45d9beef013", "submitter": { "id": 946, "url": "http://patchwork.dpdk.org/api/people/946/?format=api", "name": "Xu, Rosen", "email": "rosen.xu@intel.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1532255950-105866-1-git-send-email-rosen.xu@intel.com/mbox/", "series": [ { "id": 704, "url": "http://patchwork.dpdk.org/api/series/704/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=704", "date": "2018-07-22T10:39:10", "name": "[v3] examples/flow_filtering: add rte_fdir_conf initialization", "version": 3, "mbox": "http://patchwork.dpdk.org/series/704/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/43257/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/43257/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 89FCA1E34;\n\tSun, 22 Jul 2018 12:42:12 +0200 (CEST)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n\tby dpdk.org (Postfix) with ESMTP id 38689235;\n\tSun, 22 Jul 2018 12:42:10 +0200 (CEST)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t22 Jul 2018 03:42:09 -0700", "from dpdkx8602.sh.intel.com ([10.67.110.200])\n\tby fmsmga002.fm.intel.com with ESMTP; 22 Jul 2018 03:41:13 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.51,389,1526367600\"; d=\"scan'208\";a=\"69167523\"", "From": "Rosen Xu <rosen.xu@intel.com>", "To": "dev@dpdk.org", "Cc": "rosen.xu@intel.com, ferruh.yigit@intel.com, orika@mellanox.com,\n\twalter.e.gilmore@intel.com, qi.z.zhang@intel.com, stable@dpdk.org", "Date": "Sun, 22 Jul 2018 18:39:10 +0800", "Message-Id": "<1532255950-105866-1-git-send-email-rosen.xu@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1531361387-116027-1-git-send-email-rosen.xu@intel.com>", "References": "<1531361387-116027-1-git-send-email-rosen.xu@intel.com>", "Subject": "[dpdk-dev] [PATCH v3] examples/flow_filtering: add rte_fdir_conf\n\tinitialization", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Rte_fdir_conf of rte_eth_conf should be initialized before\nport initialization. It is a workaround solution when working\nwith Intel I40e.\n\nFixes: 4a3ef59a10c8 (\"examples/flow_filtering: add simple demo of flow API\")\nCc: stable@dpdk.org\n\nSigned-off-by: Rosen Xu <rosen.xu@intel.com>\nAcked-by: Ori Kam <orika@mellanox.com>\n\nv3 updates:", "diff": "===========\n - Fix small comment of commit log and code comment\n\nv2 updates:\n===========\n - Take more test on I40e\n - Add comments\n---\n examples/flow_filtering/main.c | 11 +++++++++++\n 1 file changed, 11 insertions(+)\n\ndiff --git a/examples/flow_filtering/main.c b/examples/flow_filtering/main.c\nindex f595034..e3f99f5 100644\n--- a/examples/flow_filtering/main.c\n+++ b/examples/flow_filtering/main.c\n@@ -132,6 +132,17 @@\n \t\t\t\tDEV_TX_OFFLOAD_SCTP_CKSUM |\n \t\t\t\tDEV_TX_OFFLOAD_TCP_TSO,\n \t\t},\n+\t\t/*\n+\t\t * Initialize fdir_conf of ete_eth_conf\n+\t\t * it is a workaround solution when working with Intel I40e\n+\t\t * and it is not the normal way\n+\t\t */\n+\t\t.fdir_conf = {\n+\t\t\t.mode = RTE_FDIR_MODE_PERFECT,\n+\t\t\t.pballoc = RTE_FDIR_PBALLOC_64K,\n+\t\t\t.status = RTE_FDIR_REPORT_STATUS,\n+\t\t\t.drop_queue = 127,\n+\t\t},\n \t};\n \tstruct rte_eth_txconf txq_conf;\n \tstruct rte_eth_rxconf rxq_conf;\n", "prefixes": [ "v3" ] }{ "id": 43257, "url": "