From owner-freebsd-net@freebsd.org Fri Mar 16 22:52:15 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 0E1D2F543AD for ; Fri, 16 Mar 2018 22:52:15 +0000 (UTC) (envelope-from aspam@cox.net) Received: from eastrmfepo202.cox.net (eastrmfepo202.cox.net [68.230.241.217]) by mx1.freebsd.org (Postfix) with ESMTP id 9FAFB7908C for ; Fri, 16 Mar 2018 22:52:14 +0000 (UTC) (envelope-from aspam@cox.net) Received: from eastrmimpo305.cox.net ([68.230.241.237]) by eastrmfepo202.cox.net (InterMail vM.8.01.05.28 201-2260-151-171-20160122) with ESMTP id <20180316225208.CNXD7322.eastrmfepo202.cox.net@eastrmimpo305.cox.net> for ; Fri, 16 Mar 2018 18:52:08 -0400 Received: from thunder.sweets ([68.100.138.62]) by eastrmimpo305.cox.net with cox id Nms71x00y1LxgH801ms826; Fri, 16 Mar 2018 18:52:08 -0400 X-Authority-Analysis: v=2.2 cv=f7U4PK6M c=1 sm=1 tr=0 a=3mkzfl4ircflX6G+lDqBYw==:117 a=3mkzfl4ircflX6G+lDqBYw==:17 a=9cW_t1CCXrUA:10 a=8nJEP1OIZ-IA:10 a=x7bEGLp0ZPQA:10 a=v2DPQv5-lfwA:10 a=7-O5ulbGV6muH2ddRrgA:9 a=wPNLvfGTeEIA:10 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 8C47F1178C for ; Fri, 16 Mar 2018 18:52:07 -0400 (EDT) Message-ID: <5AAC4A96.1040107@cox.net> Date: Fri, 16 Mar 2018 18:52:06 -0400 From: Joe Buehler User-Agent: Thunderbird 1.5.0.12 (X11/20120201) MIME-Version: 1.0 CC: "freebsd-net@freebsd.org" Subject: Re: netmap ixgbevf mtu References: <5AAC49BE.3030508@cox.net> In-Reply-To: <5AAC49BE.3030508@cox.net> Content-Type: text/plain; charset=ISO-8859-1 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: Fri, 16 Mar 2018 22:52:15 -0000 Sorry, I should have added, this is LINUX if it matters. Joe Buehler wrote: > I am having difficulties with netmap over top of ixgbevf when attempting to use a large MTU (say 9000 bytes). > > Does the ixgbevf driver use 2048 byte buffers for RX regardless of the MTU or netmap buffer size? > > I can send large frames just fine but inbound frames are passed via netmap as 2048 bytes max. It is possible that netmap is passing frames in multiple pieces I suppose, I haven't checked that yet -- my code is looking at the frame headers only at the moment so would toss trailing pieces. > > Joe Buehler > >