Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1414/?format=api
https://patches.dpdk.org/api/patches/1414/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1416530816-2159-12-git-send-email-jingjing.wu@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": "<1416530816-2159-12-git-send-email-jingjing.wu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1416530816-2159-12-git-send-email-jingjing.wu@intel.com", "date": "2014-11-21T00:46:45", "name": "[dpdk-dev,v6,11/22] testpmd: print extended fdir info in mbuf", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "182d5ff2fffd95596f474e9ed2e441eacf02089e", "submitter": { "id": 47, "url": "https://patches.dpdk.org/api/people/47/?format=api", "name": "Jingjing Wu", "email": "jingjing.wu@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1416530816-2159-12-git-send-email-jingjing.wu@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/1414/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/1414/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 6E0EA7F50;\n\tFri, 21 Nov 2014 01:36:58 +0100 (CET)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 1375D7F6D\n\tfor <dev@dpdk.org>; Fri, 21 Nov 2014 01:36:55 +0100 (CET)", "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga103.jf.intel.com with ESMTP; 20 Nov 2014 16:44:39 -0800", "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga001.jf.intel.com with ESMTP; 20 Nov 2014 16:47:26 -0800", "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id sAL0lO05004173;\n\tFri, 21 Nov 2014 08:47:24 +0800", "from shecgisg004.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid sAL0lMEO002271; Fri, 21 Nov 2014 08:47:24 +0800", "(from wujingji@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id sAL0lMr2002267; \n\tFri, 21 Nov 2014 08:47:22 +0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.07,426,1413270000\"; d=\"scan'208\";a=\"611514583\"", "From": "Jingjing Wu <jingjing.wu@intel.com>", "To": "dev@dpdk.org", "Date": "Fri, 21 Nov 2014 08:46:45 +0800", "Message-Id": "<1416530816-2159-12-git-send-email-jingjing.wu@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": "<1416530816-2159-1-git-send-email-jingjing.wu@intel.com>", "References": "<1414654006-7472-1-git-send-email-jingjing.wu@intel.com>\n\t<1416530816-2159-1-git-send-email-jingjing.wu@intel.com>", "Subject": "[dpdk-dev] [PATCH v6 11/22] testpmd: print extended fdir info in\n\tmbuf", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <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": "Extended fdir info is printed in rxonly fwd engine when fdir match.\n\nSigned-off-by: jingjing.wu <jingjing.wu@intel.com>\n---\n app/test-pmd/rxonly.c | 14 +++++++++++---\n 1 file changed, 11 insertions(+), 3 deletions(-)", "diff": "diff --git a/app/test-pmd/rxonly.c b/app/test-pmd/rxonly.c\nindex 9ad1df6..88b65bc 100644\n--- a/app/test-pmd/rxonly.c\n+++ b/app/test-pmd/rxonly.c\n@@ -167,10 +167,18 @@ pkt_burst_receive(struct fwd_stream *fs)\n \t\tif (ol_flags & PKT_RX_RSS_HASH) {\n \t\t\tprintf(\" - RSS hash=0x%x\", (unsigned) mb->hash.rss);\n \t\t\tprintf(\" - RSS queue=0x%x\",(unsigned) fs->rx_queue);\n+\t\t} else if (ol_flags & PKT_RX_FDIR) {\n+\t\t\tprintf(\" - FDIR matched \");\n+\t\t\tif (ol_flags & PKT_RX_FDIR_ID)\n+\t\t\t\tprintf(\"ID=0x%x\",\n+\t\t\t\t mb->hash.fdir.hi);\n+\t\t\telse if (ol_flags & PKT_RX_FDIR_FLX)\n+\t\t\t\tprintf(\"flex bytes=0x%08x %08x\",\n+\t\t\t\t mb->hash.fdir.hi, mb->hash.fdir.lo);\n+\t\t\telse\n+\t\t\t\tprintf(\"hash=0x%x ID=0x%x \",\n+\t\t\t\t mb->hash.fdir.hash, mb->hash.fdir.id);\n \t\t}\n-\t\telse if (ol_flags & PKT_RX_FDIR)\n-\t\t\tprintf(\" - FDIR hash=0x%x - FDIR id=0x%x \",\n-\t\t\t mb->hash.fdir.hash, mb->hash.fdir.id);\n \t\tif (ol_flags & PKT_RX_VLAN_PKT)\n \t\t\tprintf(\" - VLAN tci=0x%x\", mb->vlan_tci);\n \t\tif (is_encapsulation) {\n", "prefixes": [ "dpdk-dev", "v6", "11/22" ] }{ "id": 1414, "url": "