From owner-freebsd-net@freebsd.org Fri Nov 23 09:16:42 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 725AD11405D4 for ; Fri, 23 Nov 2018 09:16:42 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C01A67E5DB for ; Fri, 23 Nov 2018 09:16:41 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-qk1-x744.google.com with SMTP id o125so8164564qkf.3 for ; Fri, 23 Nov 2018 01:16:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bxp4XiaPcGdTKl0yGw+xxAgooeZJcXGkcHchxMrYntA=; b=aE5InNakjZoy8AnEmQVzObPhzlq1mYRohMzJ/Nxv2OMe6HnpLrcI9InsSWhqDSt5ti O2mLX5DiR9MVAkhe1hxxJOdOX/xviHdy2Litdrla5ym3YqTlC1/g7+YKCwv/y+hfQPWg S31B5D6+auaobbp48HbNcrwPYtbfbP2WA2qq5g3Wd05AkKg/OW1q33XMxfpvJDbLK0lt sKomBm1y8wrIMh2O0J9ch08vXijaap+draL3/LyFrLSMUelVgF3Z7opU7BDwQ5FBrwhw 8rrbC85DHNukMF2f84LtLEDoN/Ov0YdNh3TTSI3YH1PWMh2qGT5PDjRZS1ohkQZEek8T GbnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bxp4XiaPcGdTKl0yGw+xxAgooeZJcXGkcHchxMrYntA=; b=MoiBlIVRprt4YiicQyJ6oeaGXSWHV9QQ4KwKHR1O0dOve1MTKrYvMJ+gMPRM8qmTbe JQeEwaY238Jpx2x24AP5YjcPqAdvCRRTy5gfpK83w57RbkwiPHHZV9MBO4seoizlC45M FxE8PHjSb1j9lURXOd08tAATHUXZKvf2ekQ761qnhAlavUTgtpjuXJ4IgU1mZdGtyx20 hU2fTzaexeYDDbHrHEdA8zWy3wUjtrbcY6FZJ5xIGfA8dIxV2T6cKjqLni+sMkB7RPKs 2Mqx5TglTSPFa2KSHNP3RtdZYrIICAL5mIosFJhbx2ekCg+LVXZK444YdbqxY2LWhWwV 4mMg== X-Gm-Message-State: AA+aEWZY/GZ1bst1xM9iZyVJZoq6W2DL23xsD1dlJx3I01kZM82u7382 M0VtUkfPrLDoTvcEjXiRMg0RFX/nzvzFKo4Tk0hLNA== X-Google-Smtp-Source: AFSGD/Wy7c9VCsxvHF526ubLbjhDEP8/oNfTtOEwQS2vCqqwlVVLbXviFr6Wipl6Qd1ywAwYx0NCHw+HexpMOuhqzmU= X-Received: by 2002:a37:b581:: with SMTP id e123mr12783020qkf.183.1542964601138; Fri, 23 Nov 2018 01:16:41 -0800 (PST) MIME-Version: 1.0 References: <5756C17D.1090409@yandex.ru> <1502708678.10983095.1465385308094.JavaMail.zimbra@ulg.ac.be> In-Reply-To: From: Vincenzo Maffione Date: Fri, 23 Nov 2018 10:16:28 +0100 Message-ID: Subject: Re: Is netmap jumbo frames broken in STABLE? To: Andrew Vylegzhanin Cc: FreeBSD Net , rysto32@gmail.com, "Andrey V. Elsukov" , Luigi Rizzo X-Rspamd-Queue-Id: C01A67E5DB X-Spamd-Result: default: False [-2.55 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.71)[-0.712,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.968,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.93)[-0.925,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[4.4.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.07)[ip: (4.00), ipnet: 2607:f8b0::/32(-2.08), asn: 15169(-1.50), country: US(-0.09)]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 23 Nov 2018 09:16:42 -0000 On Thu, Nov 22, 2018, 1:37 PM Andrew Vylegzhanin > > =D1=87=D1=82, 22 =D0=BD=D0=BE=D1=8F=D0=B1. 2018 =D0=B3. =D0=B2 13:42, Vin= cenzo Maffione : > > > > Hi, > > Yes, absolutely, I'm currently working on aligning netmap on FreeBSD > (head, stable/12 and stable/11) to > > the same status it has on Linux (more features, more bugfixes, > continuous integration infrastructure ... ). > > Great! > > > > > In particular, on Linux jumbo frames are already supported on ixgbe, > e1000, igb, e1000e, etc. > > BTW, what situation with ixl driver and chelsio ? > The situation for ixl is the same as ixgbe. I plan to update both. I don't know about chelsio; you should ask the cxgbe maintainers. > > > > > > > I have some netmap patches are already in the queue (see here > https://reviews.freebsd.org/differential/query/Ol8MNtAi2AIs/#R), > > so I can address the ixgbe-jumbo-frames item as soon as the queue drain= s. > > If you want to give a try in the meanwhile, and/or test ixgbe on FreeBS= D > it would be great. > > > > I will look forward to ixgbe-jumbo-frames. > Of course, I'm ready to test on both stable's. > > Ok thanks. Vincenzo > > > > Cheers, > > Vincenzo > > > WBR, > -- > Andrew > > > Il giorno gio 22 nov 2018 alle ore 11:23 Andrew Vylegzhanin < > avv314@gmail.com> ha scritto: > >> > >> Hi, > >> > >> Come back to subject after two years. > >> I would like to clarify situation with jumbo frames in ixgbe driver. > >> > >> I've looked to > >> > https://github.com/luigirizzo/netmap/blob/master/LINUX/ixgbe_netmap_linux= .h > >> and see a lot of changes compared 11/12-STABLE version ixgbe_netmap.h. > >> Is it possible to back port it? > >> > >> In general, is there a chance to get worked jumbo frames on ixgbe? > >> > >> -- > >> Andrew > >> > >> =D1=81=D1=80, 8 =D0=B8=D1=8E=D0=BD. 2016 =D0=B3. =D0=B2 14:28, : > >> > >> > Support for fragmented packets with ixgbe was recently added on the > linux > >> > version of Netmap : > >> > > >> > > >> > > https://github.com/luigirizzo/netmap/commit/fc1e77560a8a8ea93cc3594de5fae= 94334debcd3 > >> > > >> > I think the change for freebsd would be quite the same looking at > >> > > https://github.com/freebsd/freebsd/blob/master/sys/dev/netmap/ixgbe_netma= p.h#L396 > >> > > >> > After that, your userspace application simply have to check for the > >> > NS_MOREFRAG flag in the receive ring, and if it's set he knows the > end of > >> > the packet will follow in the next buf. > >> > > >> > Tom > >> > > >> _______________________________________________ > >> freebsd-net@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-net > >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > > > > > -- > > Vincenzo >