From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by dpdk.org (Postfix) with ESMTP id 7B70D5A98 for ; Fri, 30 Jan 2015 14:16:44 +0100 (CET) Received: by mail-wi0-f180.google.com with SMTP id h11so2608120wiw.1 for ; Fri, 30 Jan 2015 05:16:44 -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=rzd+tZRzLI5Sh0ngq0jW4BAHgFIwU3ArIcu77Pi/uNA=; b=HQySDc3HU5lfIl8O6uaKXlFD9Hy2cJvH5xzodSMaMf9gz2XboL/grsnXVsGkfaKT2b EG/ADo5/zyg8m7eF+xxxxKf7bBA/Zx3NJWbLBK0CFZnkNBhxU8vZjSSgJyvQTctCLUvw BDayF/6ybom5W7ZQJqDCJqBXF5BA3R1oHczhEuE0U0oVItE35U5vTzJom/MlQYuN9fVY PsU8EB/vXOadsZ7gPCwLp3rpJdzhewgknqKPDAz+VV9WRQXIq7mDVZXeLgmJtS0gvJSc wosPJXucMAD4ACBxC4JT67xdSiEOzmAghr15LUPGIerz3Mch/Y34fs0hcd4VYZOnR9Gz B+5A== X-Gm-Message-State: ALoCoQnvDTEvgbX+rTiPPp7ksNkv7IFm9uAt7T2XdILRzgfCqjQdGHjV5UHsmw+tFW73AExlI6q3 X-Received: by 10.194.60.19 with SMTP id d19mr11759918wjr.48.1422623804391; Fri, 30 Jan 2015 05:16:44 -0800 (PST) Received: from glumotte.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id li7sm6911300wic.4.2015.01.30.05.16.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Jan 2015 05:16:43 -0800 (PST) From: Olivier Matz To: dev@dpdk.org Date: Fri, 30 Jan 2015 14:16:13 +0100 Message-Id: <1422623775-8050-19-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1422623775-8050-1-git-send-email-olivier.matz@6wind.com> References: <1421883395-27235-1-git-send-email-olivier.matz@6wind.com> <1422623775-8050-1-git-send-email-olivier.matz@6wind.com> Subject: [dpdk-dev] [PATCH 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: Fri, 30 Jan 2015 13:16:48 -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 407e3b3..56dd2f3 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