Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/6716/?format=api
http://patchwork.dpdk.org/api/patches/6716/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1438918156-1259-1-git-send-email-michael.qiu@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": "<1438918156-1259-1-git-send-email-michael.qiu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1438918156-1259-1-git-send-email-michael.qiu@intel.com", "date": "2015-08-07T03:29:16", "name": "[dpdk-dev] testpmd: modify the mac of csum forwarding", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "40269b3f46bee5cbc1074e1ef1421a537217cc06", "submitter": { "id": 101, "url": "http://patchwork.dpdk.org/api/people/101/?format=api", "name": "Michael Qiu", "email": "michael.qiu@intel.com" }, "delegate": null, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1438918156-1259-1-git-send-email-michael.qiu@intel.com/mbox/", "series": [], "comments": "http://patchwork.dpdk.org/api/patches/6716/comments/", "check": "pending", "checks": "http://patchwork.dpdk.org/api/patches/6716/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 69C175960;\n\tFri, 7 Aug 2015 05:29:26 +0200 (CEST)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 82CF7595C\n\tfor <dev@dpdk.org>; Fri, 7 Aug 2015 05:29:24 +0200 (CEST)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga102.fm.intel.com with ESMTP; 06 Aug 2015 20:29:23 -0700", "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby fmsmga002.fm.intel.com with ESMTP; 06 Aug 2015 20:29:24 -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 t773TL2J009282;\n\tFri, 7 Aug 2015 11:29:21 +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 t773THDj001294; Fri, 7 Aug 2015 11:29:20 +0800", "(from dayuqiu@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t773THdS001290; \n\tFri, 7 Aug 2015 11:29:17 +0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.15,627,1432623600\"; d=\"scan'208\";a=\"778578860\"", "From": "Michael Qiu <michael.qiu@intel.com>", "To": "dev@dpdk.org", "Date": "Fri, 7 Aug 2015 11:29:16 +0800", "Message-Id": "<1438918156-1259-1-git-send-email-michael.qiu@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "Subject": "[dpdk-dev] [PATCH] testpmd: modify the mac of csum forwarding", "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": "For some ethnet-switch like intel RRC, all the packet forwarded\nout by DPDK will be dropped in switch side, so the packet\ngenerator will never receive the packet.\n\nSigned-off-by: Michael Qiu <michael.qiu@intel.com>\n---\n app/test-pmd/csumonly.c | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c\nindex 1bf3485..bf8af1d 100644\n--- a/app/test-pmd/csumonly.c\n+++ b/app/test-pmd/csumonly.c\n@@ -550,6 +550,10 @@ pkt_burst_checksum_forward(struct fwd_stream *fs)\n \t\t * and inner headers */\n \n \t\teth_hdr = rte_pktmbuf_mtod(m, struct ether_hdr *);\n+\t\tether_addr_copy(&peer_eth_addrs[fs->peer_addr],\n+\t\t\t\tð_hdr->d_addr);\n+\t\tether_addr_copy(&ports[fs->tx_port].eth_addr,\n+\t\t\t\tð_hdr->s_addr);\n \t\tparse_ethernet(eth_hdr, &info);\n \t\tl3_hdr = (char *)eth_hdr + info.l2_len;\n \n", "prefixes": [ "dpdk-dev" ] }{ "id": 6716, "url": "