From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by dpdk.org (Postfix) with ESMTP id 5D52EB3EA for ; Wed, 4 Feb 2015 10:26:07 +0100 (CET) Received: by mail-wi0-f175.google.com with SMTP id fb4so30328243wid.2 for ; Wed, 04 Feb 2015 01:26:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=N3fDhFGwsqNpnvkw0S5zdlLVLkDUr2FHIzBa9K+Kv1E=; b=Vo0Lj8n/1Mo1ZSNoQo8ShzVWcPlSVV7josAMkZJbrwYopqSBQrsQ8nx624cHMOKZq3 d5xecqmennzh7Wt1o9jvv5XFXwpgc6USXwd6i1SmnmL20nL6InZThtiBN4rZ/RazutF+ mwX2nTyuqEuiR7cH8xmLrgqwPh927qNOkdW8f71mHgsUyf9qH7d0CPTbzlLG1bqEn6kS YduZvJ6BCme3SBfZBeIUs7qq4U6zV9TfiB5hRZio0LaILIAfzxFjKadsMQrj7BIwsIDo ZPvn18qYfqeWoINAcdPkudJ262Ca+6BcJuSJZqtvKrgAv0eeQ71nHi/0MiYvaiUMuw9J EJAg== X-Gm-Message-State: ALoCoQno/t7wc3vgCT2ho5pE/z8A7kLMze+eeotFJ8Mdu4NTkdbyOU87IEaGr0KwePAS8Y0p6iiX X-Received: by 10.194.59.232 with SMTP id c8mr38992283wjr.76.1423041967217; Wed, 04 Feb 2015 01:26:07 -0800 (PST) Received: from glumotte.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id a13sm2346491wic.3.2015.02.04.01.26.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Feb 2015 01:26:06 -0800 (PST) From: Olivier Matz To: dev@dpdk.org Date: Wed, 4 Feb 2015 10:25:23 +0100 Message-Id: <1423041925-26956-19-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1423041925-26956-1-git-send-email-olivier.matz@6wind.com> References: <1422623775-8050-1-git-send-email-olivier.matz@6wind.com> <1423041925-26956-1-git-send-email-olivier.matz@6wind.com> Subject: [dpdk-dev] [PATCH v2 18/20] testpmd: fix TSO when using outer checksum offloads X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2015 09:26:07 -0000 The l4_len has also to be copied in mbuf in case we are offloading outer IP checksum. Currently, TSO + outer checksum is not supported by any driver but it will soon be supported by i40e. Pointed-out-by: Jijiang Liu Signed-off-by: Olivier Matz --- app/test-pmd/csumonly.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c index 88f7696..5ddbaf5 100644 --- a/app/test-pmd/csumonly.c +++ b/app/test-pmd/csumonly.c @@ -585,6 +585,7 @@ pkt_burst_checksum_forward(struct fwd_stream *fs) m->outer_l3_len = info.outer_l3_len; m->l2_len = info.l2_len; m->l3_len = info.l3_len; + m->l4_len = info.l4_len; } else { /* if there is a outer UDP cksum -- 2.1.4