From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 36F87B410 for ; Fri, 13 Feb 2015 10:23:15 +0100 (CET) Received: by mail-wg0-f46.google.com with SMTP id a1so15426412wgh.5 for ; Fri, 13 Feb 2015 01:23:15 -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=mtWCt3GGoz+t9RCbQhOLEjhL8d0ZzFgmUjBuD+0F5ns=; b=PHtD6v6VZkZTUWm0NJgJdXBq7ohoigxCbc+A2Wa3x0WoyelQep7jA84p2bBhwo0l31 0cE4zXmv9aEnnKW7QnJ2arnUN+mCOt1WM1yNCrTQbmQQUZIR1pMUT6Ji6C+sfwPoXwxC 1TQCyOHZj+NPzUV3+IJbqupkn4Iwi7lQdERDHdnpJcnAUbz1CUSlQZBuv4pmYY0GNbaq HOB6wFlVih7hOmf5KwKML6/kwU8qP+mXASy5kG9omFNkqjNwTBHL339cxNoJRUDeuWd6 DDSjTxrceyz/VMlzpB4tGJvrvXHNuQGT43PQnnL4Lx7jAWQYlzAAUafkSadgQ3wISE2s lPuA== X-Gm-Message-State: ALoCoQkk83sqvDzgggIGYyuoEdtNWrdCKmzb6CWA7g+KYjyRRRmBd/QjVFUA+vQZ/ya/joZi9FQi X-Received: by 10.194.110.137 with SMTP id ia9mr16346686wjb.153.1423819395058; Fri, 13 Feb 2015 01:23:15 -0800 (PST) Received: from glumotte.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id a5sm2100153wib.20.2015.02.13.01.23.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Feb 2015 01:23:14 -0800 (PST) From: Olivier Matz To: dev@dpdk.org Date: Fri, 13 Feb 2015 10:22:49 +0100 Message-Id: <1423819371-24222-19-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1423819371-24222-1-git-send-email-olivier.matz@6wind.com> References: <1423041925-26956-1-git-send-email-olivier.matz@6wind.com> <1423819371-24222-1-git-send-email-olivier.matz@6wind.com> Subject: [dpdk-dev] [PATCH v3 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, 13 Feb 2015 09:23:15 -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 bee652a..0a7af79 100644 --- a/app/test-pmd/csumonly.c +++ b/app/test-pmd/csumonly.c @@ -593,6 +593,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