From owner-freebsd-net@freebsd.org Tue Mar 27 18:20:26 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8EC4F72658 for ; Tue, 27 Mar 2018 18:20:25 +0000 (UTC) (envelope-from aspam@cox.net) Received: from fed1rmfepo202.cox.net (fed1rmfepo202.cox.net [68.230.241.147]) by mx1.freebsd.org (Postfix) with ESMTP id 59CF4779F2 for ; Tue, 27 Mar 2018 18:20:25 +0000 (UTC) (envelope-from aspam@cox.net) Received: from eastrmimpo209.cox.net ([68.230.241.224]) by eastrmfepo202.cox.net (InterMail vM.8.01.05.28 201-2260-151-171-20160122) with ESMTP id <20180327181935.SFC7322.eastrmfepo202.cox.net@eastrmimpo209.cox.net> for ; Tue, 27 Mar 2018 14:19:35 -0400 Received: from thunder.sweets ([68.100.138.62]) by eastrmimpo209.cox.net with cox id T6Ka1x00l1LxgH8016Kap7; Tue, 27 Mar 2018 14:19:34 -0400 X-Authority-Analysis: v=2.2 cv=K+pSJ2eI c=1 sm=1 tr=0 a=3mkzfl4ircflX6G+lDqBYw==:117 a=3mkzfl4ircflX6G+lDqBYw==:17 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=v2DPQv5-lfwA:10 a=e9ASbk4n0QUA:10 a=pGLkceISAAAA:8 a=kviXuzpPAAAA:8 a=L01Y0KvKqF-WzihgYD4A:9 a=-Rr1gJl0YjS6l9S_:21 a=sCfkV1Ty7I_x_TyR:21 a=QEXdDO2ut3YA:10 a=qrIFiuKZe2vaD64auk6j:22 X-CM-Score: 0.00 Authentication-Results: cox.net; auth=pass (LOGIN) smtp.auth=jbuehler@cox.net Received: from [10.10.10.15] (thunder.sweets [10.10.10.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by thunder.sweets (Postfix) with ESMTP id F13B4FED4; Tue, 27 Mar 2018 14:19:33 -0400 (EDT) Message-ID: <5ABA8B31.9010908@cox.net> Date: Tue, 27 Mar 2018 14:19:29 -0400 From: Joe Buehler User-Agent: Thunderbird 1.5.0.12 (X11/20120201) MIME-Version: 1.0 To: Vincenzo Maffione CC: "freebsd-net@freebsd.org" Subject: Re: netmap ixgbevf mtu References: <5AAC49BE.3030508@cox.net> <5AAC4A96.1040107@cox.net> <5AB01439.3090003@cox.net> <5AB166DC.8060708@cox.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2018 18:20:26 -0000 Grazie mille. I will test it as time allows -- swamped. Joe Buehler Vincenzo Maffione wrote: > Hi, > This commit (fe13476b106ed1f4b517b1590e1dfb3f268b6e78) in the upstream > netmap should have fixed the NS_MOREFRAG issue for ixgbe. > If you happen give a try let us know. > > Cheers, > Vincenzo > > 2018-03-21 21:40 GMT+01:00 Vincenzo Maffione >: > > I see. Unfortunately this breaks the API, so I don't think we can > accept it. > We should probably sum up the fragment lengths, remember which one > was the first descriptor and write the olinfo field when we process > the last descriptor ... > I hope this does not slow down the simpler case where NS_MOREFRAG is > not used. > > In any, case we should move this discussion to the github, if > possible (so that the issue gets tracked). > > Cheers, > Vincenzo > > 2018-03-20 20:54 GMT+01:00 Joe Buehler >: > > Attached is a patch that allows fragmented TX with the ixgbevf > driver. > > For the first TX buffer set the slot length to the full length > of the frame and make sure that the slot buffer is fully > filled. For succeeding slots just set the length to the amount > of the buffer filled. > > Not intended as the perfect solution but it works fine for my > situation. > > Joe Buehler > > > > > -- > Vincenzo Maffione > > > > > -- > Vincenzo Maffione