From owner-freebsd-net@freebsd.org Mon Mar 18 01:52:30 2019 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 9B9081527EB5 for ; Mon, 18 Mar 2019 01:52:30 +0000 (UTC) (envelope-from avv314@gmail.com) Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5616D6AD2E for ; Mon, 18 Mar 2019 01:52:29 +0000 (UTC) (envelope-from avv314@gmail.com) Received: by mail-lf1-x12c.google.com with SMTP id g7so10502948lfh.10 for ; Sun, 17 Mar 2019 18:52:29 -0700 (PDT) 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=IkQOwzdlnEziXmBJ4uAyCJuaF8kT06COO/FyobOTUEQ=; b=b+YshFu+hoBOeP/2dQ7HdG6mBLdJAkEWkwZeeU5eh5hlX0D1DEZJB2Mm8bfLzC7N4V ymj976ecWTS/db6GVU5suzvtO0g+vXJdPzzj4Edff2LeoIBir4D9ONr6vel17MvlFxpe fCZ2s5kvIv7xf1lP52prVE0hCnVN/O5hr0ieY8TaN1P6W5dVOtOKioCKORsRr4MbjZEY Be3NcDZehUj/mebKVEH574A6iLL2i/3+G/a9PomL93vLJocN/Qd0FL7cIpFQB4eDHK4u 9wJq4qK6+hJubVV4w1BLHA5Ua07NjY6a3WhDDebBpuP5KKxgaN2ODAWKy83KjiIXRRBt 2lhQ== 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=IkQOwzdlnEziXmBJ4uAyCJuaF8kT06COO/FyobOTUEQ=; b=ct4H2jfc2IK4fEL9cKniw2f5Zf3k4N1wPeitYyOg/FFdrHpIGN02YRxRam/3PhlVN1 GW5zQJ9pE2LTWh8StSy9PggjyO8RQ1lBDgfoCPaE1DqOqrJJw08Tv87xpb+mAq7djr8m MV/Q9sB19OchbzWBDHVdVkbexryuDmclRTXMAFfW5YFRH00bfeZ9ep/4Q1qX6b+2rr34 At6Yt/clSbGMQ9/ZW7h44UnyhD6W+9X+rDb4Rf7RXGjGu8d7749RCFyTqL3LQ4SK8nxi V6YwQi+Ybs/dllxDoOaA2WHtH1fatIFz7/6cbAWCNUdBWrOj1M/vNGJuXlqO1k0MCgga JNVw== X-Gm-Message-State: APjAAAVElgSxzheyi/eiKtmqGcm3aE8XS+EfRFADODqieqpoYFBlHypy 6LAxUuiOs0+K5oBITez/6ZyqGncj/pGRr15Rlco= X-Google-Smtp-Source: APXvYqwARIl0WeGoIC8cdov3otU3vpF/T/myJLVCR1xZmDBIKtB8AlfxBSizVkSxhpHMr91dg3EWZiEXs/yCO4etuR4= X-Received: by 2002:ac2:50d8:: with SMTP id h24mr1477674lfm.7.1552873948066; Sun, 17 Mar 2019 18:52:28 -0700 (PDT) MIME-Version: 1.0 References: <5756C17D.1090409@yandex.ru> <1502708678.10983095.1465385308094.JavaMail.zimbra@ulg.ac.be> In-Reply-To: From: Andrew Vylegzhanin Date: Mon, 18 Mar 2019 04:52:17 +0300 Message-ID: Subject: Re: Is netmap jumbo frames broken in STABLE? To: Vincenzo Maffione Cc: "freebsd-net@freebsd.org" , Ryan Stone , "Andrey V. Elsukov" , Luigi Rizzo X-Rspamd-Queue-Id: 5616D6AD2E X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=b+YshFu+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of avv314@gmail.com designates 2a00:1450:4864:20::12c as permitted sender) smtp.mailfrom=avv314@gmail.com X-Spamd-Result: default: False [-5.66 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; 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.88)[-0.882,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[c.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.77)[ip: (-9.32), ipnet: 2a00:1450::/32(-2.36), asn: 15169(-2.09), country: US(-0.07)] 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: Mon, 18 Mar 2019 01:52:30 -0000 Hi, After some time I want to return to testing netmap+jumbo_frames+ixgbe(and ixl later) setup. What is current situation with this bundle (stable/11 and stable/12)? -- Andrew =D1=87=D1=82, 6 =D0=B4=D0=B5=D0=BA. 2018 =D0=B3. =D0=B2 11:20, Vincenzo Maf= fione : > Hi, > Actually I just realized that this patch is suitable for stable/11, > whereas on stable/12 ixgbe is served by iflib, and therefore > we need a different patch. > > I'll keep you updated then. > > Cheers, > Vincenzo > > Il giorno mer 5 dic 2018 alle ore 20:45 Andrew Vylegzhanin < > avv314@gmail.com> ha scritto: > >> Hi, >> of course I want to test. >> But it takes time up to 1-2 weeks, since I need setup HEAD environment >> in lab and modify my code for NS_MOREFRAG. >> >> When we can wait for MFC to stable/12 (or stable/11) >> >> -- >> Andrew >> >> =D0=B2=D1=81, 2 =D0=B4=D0=B5=D0=BA. 2018 =D0=B3. =D0=B2 13:30, Vincenzo = Maffione : >> >>> Hi, >>> I prepared a patch (against FreeBSD-HEAD) to to support jumbo frames >>> in ixgbe. >>> https://reviews.freebsd.org/D18402 >>> Would you be able to test it? >>> >>> Thanks, >>> Vincenzo >>> >>> Il giorno gio 22 nov 2018 alle ore 13:37 Andrew Vylegzhanin < >>> avv314@gmail.com> ha scritto: >>> >>>> >>>> >>>> =D1=87=D1=82, 22 =D0=BD=D0=BE=D1=8F=D0=B1. 2018 =D0=B3. =D0=B2 13:42, = Vincenzo 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 ? >>>> >>>> > >>>> > >>>> > 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 >>>> drains. >>>> > If you want to give a try in the meanwhile, and/or test ixgbe on >>>> FreeBSD it would be great. >>>> > >>>> >>>> I will look forward to ixgbe-jumbo-frames. >>>> Of course, I'm ready to test on both stable's. >>>> >>> >>> >>>> >>>> > >>>> > 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_li= nux.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/fc1e77560a8a8ea93cc3594de5= fae94334debcd3 >>>> >> > >>>> >> > I think the change for freebsd would be quite the same looking at >>>> >> > >>>> https://github.com/freebsd/freebsd/blob/master/sys/dev/netmap/ixgbe_ne= tmap.h#L396 >>>> >> > >>>> >> > After that, your userspace application simply have to check for t= he >>>> >> > NS_MOREFRAG flag in the receive ring, and if it's set he knows th= e >>>> 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 >>>> >>> >>> >>> -- >>> Vincenzo >>> >> > > -- > Vincenzo >