Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8707715ybl; Thu, 16 Jan 2020 23:06:13 -0800 (PST) X-Google-Smtp-Source: APXvYqySpnyalbvIegEnG8LoB0VYaCOCSgNLoLOhe2WLhju7I59GqiXhFbYok/QJQlkG9gSjL+a3 X-Received: by 2002:aca:c509:: with SMTP id v9mr2283053oif.151.1579244773799; Thu, 16 Jan 2020 23:06:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579244773; cv=none; d=google.com; s=arc-20160816; b=MeO6jIDTS9CdaKYcFTeW8+GcNAW3e9JywPW5jRZZORQxJfe3n52ewJZaisrSF+kRhz 3QL9VMeJwx3cJcpTnFDfWRpagnuONB0AiJl/E9sqw/2e7cT20MxIVEOPvh5L6IIGAT3j BG5l48CH+oBrkmuQmgsbwibi++ZzXXB5J/ypVWuhyp9dmnV/UgaQ42xnBoHHD0xnoQk+ WSCWhxd9JobWHSHJZFoXRrSDE1DDrJb1aX4MIwygDC63fUsxPt8DY78gFe0/UKqvvJQi 5mYTAwFS0AGiew+XyefTVH8luq6TBJxAjh6f9OopzbqfcQ1smupLFy8vYN/LFlxAUdIs phfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=wAMZ2B36Bcp3MDlYtacjc4lm4JrJwaMHWSGc1pVL7tc=; b=MYm3RqTJRolLQWtZ06z4mCgQxf8G4ikZFm3MECKKjWUuspR3ybLDFPNaDb6qqISmDy Th1OryvX6LJ0iKLmvSw9GB88dbAuqP9YANdNlyP6mIlkpHvxe+cBd+Rdbm0dIhOGM4s2 xL1xpyIE2Hwjc3QOCZwsazaGJ4/i3ZJYHMN9eVT2Zy+3y7T8iLIhIErEvpNEcKmjs3y8 rdrNlN82AQ4bzzW9OmvFMP0Jqe1v4mJf7kaK3dOEQzsQMOXeRrXDKmpzX4p0KCmF3JLQ mGjyQ0PEaR/hsW7vHZ2/ZkB9vWEp6hV+Yf+Fg8yemCVExDLPaEgs0hJzoA1fmND+fpfT NytQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u25si14904948otg.170.2020.01.16.23.05.52; Thu, 16 Jan 2020 23:06:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727030AbgAQHEf (ORCPT + 99 others); Fri, 17 Jan 2020 02:04:35 -0500 Received: from a.mx.secunet.com ([62.96.220.36]:37010 "EHLO a.mx.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726726AbgAQHEf (ORCPT ); Fri, 17 Jan 2020 02:04:35 -0500 Received: from localhost (localhost [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id C64A920411; Fri, 17 Jan 2020 08:04:32 +0100 (CET) X-Virus-Scanned: by secunet Received: from a.mx.secunet.com ([127.0.0.1]) by localhost (a.mx.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f9YOAIht69iG; Fri, 17 Jan 2020 08:04:32 +0100 (CET) Received: from mail-essen-01.secunet.de (mail-essen-01.secunet.de [10.53.40.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a.mx.secunet.com (Postfix) with ESMTPS id 62956200AC; Fri, 17 Jan 2020 08:04:32 +0100 (CET) Received: from gauss2.secunet.de (10.182.7.193) by mail-essen-01.secunet.de (10.53.40.204) with Microsoft SMTP Server id 14.3.439.0; Fri, 17 Jan 2020 08:04:32 +0100 Received: by gauss2.secunet.de (Postfix, from userid 1000) id 1215E31801A7; Fri, 17 Jan 2020 08:04:32 +0100 (CET) Date: Fri, 17 Jan 2020 08:04:32 +0100 From: Steffen Klassert To: Ayush Sawal CC: Herbert Xu , , , Ayush Sawal , Subject: Re: Advertise maximum number of sg supported by driver in single request Message-ID: <20200117070431.GE23018@gauss3.secunet.de> References: <20200115060234.4mm6fsmsrryzpymi@gondor.apana.org.au> <9fd07805-8e2e-8c3f-6e5e-026ad2102c5a@chelsio.com> <20200117062300.qfngm2degxvjskkt@gondor.apana.org.au> <20d97886-e442-ed47-5685-ff5cd9fcbf1c@asicdesigners.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20d97886-e442-ed47-5685-ff5cd9fcbf1c@asicdesigners.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Jan 17, 2020 at 12:13:07PM +0530, Ayush Sawal wrote: > Hi Herbert, > > On 1/17/2020 11:53 AM, Herbert Xu wrote: > > On Thu, Jan 16, 2020 at 01:27:24PM +0530, Ayush Sawal wrote: > > > The max data limit is 15 sgs where each sg contains data of mtu size . > > > we are running a netperf udp stream test over ipsec tunnel .The ipsec tunnel > > > is established between two hosts which are directly connected > > Are you actually getting 15-element SG lists from IPsec? What is > > generating an skb with 15-element SG lists? > we have established the ipsec tunnel in transport mode using ip xfrm. > and running traffic using netserver and netperf. > > In server side we are running > netserver -4 > In client side we are running > "netperf -H -p -t UDP_STREAM? -Cc -- -m 21k" > where the packet size is 21k ,which is then fragmented into 15 ip fragments > each of mtu size. I'm lacking a bit of context here, but this should generate 15 IP packets that are encrypted one by one.