Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/8349/?format=api
http://patches.dpdk.org/api/patches/8349/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1446202336-8723-7-git-send-email-zhe.tao@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": "<1446202336-8723-7-git-send-email-zhe.tao@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1446202336-8723-7-git-send-email-zhe.tao@intel.com", "date": "2015-10-30T10:52:14", "name": "[dpdk-dev,6/8,v2] change the postion of data prefetch for splitter packets", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "c5d579c80b4372b7ded585b4aa94e34a51ad17f7", "submitter": { "id": 276, "url": "http://patches.dpdk.org/api/people/276/?format=api", "name": "Zhe Tao", "email": "zhe.tao@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1446202336-8723-7-git-send-email-zhe.tao@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/8349/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/8349/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 6C8558E82;\n\tFri, 30 Oct 2015 11:52:45 +0100 (CET)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 3A9018E68\n\tfor <dev@dpdk.org>; Fri, 30 Oct 2015 11:52:40 +0100 (CET)", "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga101.jf.intel.com with ESMTP; 30 Oct 2015 03:52:37 -0700", "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga002.jf.intel.com with ESMTP; 30 Oct 2015 03:52:36 -0700", "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id t9UAqY60012296;\n\tFri, 30 Oct 2015 18:52:34 +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 t9UAqWBf008859; Fri, 30 Oct 2015 18:52:34 +0800", "(from zhetao@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t9UAqWCg008855; \n\tFri, 30 Oct 2015 18:52:32 +0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.20,217,1444719600\"; d=\"scan'208\";a=\"838757642\"", "From": "Zhe Tao <zhe.tao@intel.com>", "To": "dev@dpdk.org", "Date": "Fri, 30 Oct 2015 18:52:14 +0800", "Message-Id": "<1446202336-8723-7-git-send-email-zhe.tao@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": "<1446202336-8723-1-git-send-email-zhe.tao@intel.com>", "References": "<1443373527-28948-1-git-send-email-zhe.tao@intel.com>\n\t<1446202336-8723-1-git-send-email-zhe.tao@intel.com>", "Subject": "[dpdk-dev] [PATCH 6/8 v2] change the postion of data prefetch for\n\tsplitter packets", "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": "according to ixgbe vector implementation, change the data prefetch position\n\nSigned-off-by: Zhe Tao <zhe.tao@intel.com>\n---\n drivers/net/i40e/i40e_rxtx_vec.c | 14 +++++++-------\n 1 file changed, 7 insertions(+), 7 deletions(-)", "diff": "diff --git a/drivers/net/i40e/i40e_rxtx_vec.c b/drivers/net/i40e/i40e_rxtx_vec.c\nindex 6f89002..f5b2db6 100644\n--- a/drivers/net/i40e/i40e_rxtx_vec.c\n+++ b/drivers/net/i40e/i40e_rxtx_vec.c\n@@ -314,13 +314,6 @@ _recv_raw_pkts_vec(struct i40e_rx_queue *rxq, struct rte_mbuf **rx_pkts,\n \t\t__m128i zero, staterr, sterr_tmp1, sterr_tmp2;\n \t\t__m128i mbp1, mbp2; /* two mbuf pointer in one XMM reg. */\n \n-\t\tif (split_packet) {\n-\t\t\trte_prefetch0(&rx_pkts[pos]->cacheline1);\n-\t\t\trte_prefetch0(&rx_pkts[pos + 1]->cacheline1);\n-\t\t\trte_prefetch0(&rx_pkts[pos + 2]->cacheline1);\n-\t\t\trte_prefetch0(&rx_pkts[pos + 3]->cacheline1);\n-\t\t}\n-\n \t\t/* B.1 load 1 mbuf point */\n \t\tmbp1 = _mm_loadu_si128((__m128i *)&sw_ring[pos]);\n \t\t/* Read desc statuses backwards to avoid race condition */\n@@ -341,6 +334,13 @@ _recv_raw_pkts_vec(struct i40e_rx_queue *rxq, struct rte_mbuf **rx_pkts,\n \t\t/* B.2 copy 2 mbuf point into rx_pkts */\n \t\t_mm_storeu_si128((__m128i *)&rx_pkts[pos+2], mbp2);\n \n+\t\tif (split_packet) {\n+\t\t\trte_prefetch0(&rx_pkts[pos]->cacheline1);\n+\t\t\trte_prefetch0(&rx_pkts[pos + 1]->cacheline1);\n+\t\t\trte_prefetch0(&rx_pkts[pos + 2]->cacheline1);\n+\t\t\trte_prefetch0(&rx_pkts[pos + 3]->cacheline1);\n+\t\t}\n+\n \t\t/*shift the pktlen field*/\n \t\tdesc_pktlen_align(descs);\n \n", "prefixes": [ "dpdk-dev", "6/8", "v2" ] }{ "id": 8349, "url": "