From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 0F35C3B5 for ; Tue, 16 Dec 2014 13:24:56 +0100 (CET) Received: by mail-wg0-f54.google.com with SMTP id l2so17291202wgh.41 for ; Tue, 16 Dec 2014 04:24:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0P1a/sgqKP1vF4l/u1Zcc10FZ8U2sBLAQHfyLCnQLAs=; b=HqY2WU0wf35pFccx2XDP3Eez8aFO6XpZS1YN3cXU9kYeVOkd9rpF30tgKWBu500axc ueBpk8pLnJGXijfyvee8JHae2hnG99weUoqPFHE2VFK30qQRDdfaUdc6AngNSsqpkHjZ xr0j6pTgXHklMbS+s8AK0Fu9R978ggqYcNLh5C1AaRYCNxBozFPZkqJVbiKdo4m+/Bwa UCK/WSn8KTsW5Qiz3jEGUaiLG3mKnd9mTYeQxiYhdlYDG/46Q8Cu+zU4Gv95U+TfEjkZ Jt7EgzggOL+Kb97N/BPmXJ9xCGF3vkdKAISXZ99zTcJ0IhAhNqjGWpknQLd/caa+TcUd U+Ug== MIME-Version: 1.0 X-Received: by 10.180.21.140 with SMTP id v12mr4466023wie.44.1418732695783; Tue, 16 Dec 2014 04:24:55 -0800 (PST) Received: by 10.194.64.9 with HTTP; Tue, 16 Dec 2014 04:24:55 -0800 (PST) In-Reply-To: References: Date: Tue, 16 Dec 2014 14:24:55 +0200 Message-ID: From: Helmut Sim To: Alex Markuze Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] two tso related questions 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: Tue, 16 Dec 2014 12:24:56 -0000 Thanks Alex, So i probably miss something... what you are saying is correct for IP segmentation where the segmentation is at the IP level, and all segments are identified according to the Identification field in the IP header. However in TCP segmentation the segments are at the TCP level (isn't it?), where each frame is at a size of MSS+sizeof(tcp_hdr)+sizeof(ip_hdr)+sizeof(eth_hdr). Hence, for each of the sent packets, the IP Identification is 0 and the IP total length is MSS+sizeof(tcp_hdr)+sizeof(ip_hdr). Please correct me if i am wrong. thanks. On Tue, Dec 16, 2014 at 11:10 AM, Alex Markuze wrote: > > > > On Mon, Dec 15, 2014 at 10:20 PM, Helmut Sim wrote: >> >> Hi, >> >> While working on TSO based solution I faced the following two questions: >> >> 1. >> is there a maximum pkt_len to be used with TSO?, e.g. let's say if seg_sz >> is 1400 can the entire segmented pkt be 256K (higer than 64K) ?, then the >> driver gets a list of chanined mbufs while the first mbuf is set to TSO >> offload. >> > > TSO segments a TCP packet into mtu sied bits. The TCP/IP protocols are > limited to 64K due to the length fields being 16bit wide. You can't build a > valid packet longer then 64K regardless of the NIC. > > >> 2. >> I wonder, Is there a specific reason why TSO is supported only for IXGBE >> and not for IGB ? the 82576 NIC supports TSO though. >> Is it due to a kind of tecnical barrier or is it because of priorities? >> >> It will be great if someone from the forum could address this. >> >> Thanks, >> Sim >> >