Date: Tue, 19 Mar 2019 16:21:48 +0100 From: Vincenzo Maffione <v.maffione@gmail.com> To: Andrew Vylegzhanin <avv314@gmail.com> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Ryan Stone <rysto32@gmail.com>, "Andrey V. Elsukov" <bu7cher@yandex.ru>, Luigi Rizzo <rizzo@iet.unipi.it> Subject: Re: Is netmap jumbo frames broken in STABLE? Message-ID: <CA%2B_eA9iMAZVL-aZS5AQjMgTNjcj7K_0oU=1Nu8en%2B5=N3rEnhg@mail.gmail.com> In-Reply-To: <CA%2BBi_YjeaK42dtVeyXFMZC78k%2BwsqXQnFjfBo2aPWUri05fNBg@mail.gmail.com> References: <CA%2BBi_YhqCnt5pQ_hC5zWdBp24=Zn3Rcj29AwtMrguPhSoJZSdQ@mail.gmail.com> <CA%2BhQ2%2BjcT_E4osrTB00%2Bf0gwSCoG_Zy%2BVdU8LXndqsjnmxPQ3Q@mail.gmail.com> <CAFMmRNy=PEFOxM4tGM7TQqpMnhTba17ACiaOcfuG8fkDET0RZw@mail.gmail.com> <CA%2BBi_YiqcOTw7T_dDzjis8yFu7oGd8G-av2BEaStXFiU7ovUCw@mail.gmail.com> <5756C17D.1090409@yandex.ru> <CA%2BhQ2%2Bjtd9FGuaJfJ6N1yt2%2BjSkez8Bj1usjpO%2BBCt-3Yvx2ww@mail.gmail.com> <1502708678.10983095.1465385308094.JavaMail.zimbra@ulg.ac.be> <CA%2BBi_Yhkw2JaGCgF%2Bo1BgLe=QmftneNM8mCrM4jo0OrYeoSGmw@mail.gmail.com> <CA%2B_eA9iSV=NjsaBWCYN2VGuvQvNvUh6fyDLvvmwHDJJAKTkkKg@mail.gmail.com> <CA%2BBi_Yj7GFxErjtu=bxi_ppX%2BDHQ4dOXdm8s1LGWLQM5CncxsQ@mail.gmail.com> <CA%2B_eA9hF3QMvxmGkBuc8fTCuaAHXYZWofGJiqGZUUExYAZpdEg@mail.gmail.com> <CA%2BBi_YhVxpbQCgMUG4K3CQb01TZFDX66WxSB_hn9DZufYSdErg@mail.gmail.com> <CA%2B_eA9jor2v4FeXw7dRO3BZO2f5Bvcfh27dvGa=kHrZgRzwTNQ@mail.gmail.com> <CA%2BBi_YjeaK42dtVeyXFMZC78k%2BwsqXQnFjfBo2aPWUri05fNBg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, It's not supported yet. But I think it is reasonably feasible to add jumbo frames support on head and stable/12, by improving iflib netmap support. I hope to find the time to do this soon. Cheers, Vincenzo Il giorno lun 18 mar 2019 alle ore 02:52 Andrew Vylegzhanin < avv314@gmail.com> ha scritto: > Hi, > > After some time I want to return to testing netmap+jumbo_frames+ixgbe(an= d > 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 M= affione <v.maffione@gmail.com>: > >> 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 <v.maffione@gmail.com>: >>> >>>> 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 <v.maffione@gmail.com >>>>> >: >>>>> > >>>>> > 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 drive= r. >>>>> >> >>>>> >> I've looked to >>>>> >> >>>>> https://github.com/luigirizzo/netmap/blob/master/LINUX/ixgbe_netmap_l= inux.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, <to= m.barbette@ulg.ac.be>: >>>>> >> >>>>> >> > Support for fragmented packets with ixgbe was recently added on >>>>> the linux >>>>> >> > version of Netmap : >>>>> >> > >>>>> >> > >>>>> >> > >>>>> https://github.com/luigirizzo/netmap/commit/fc1e77560a8a8ea93cc3594de= 5fae94334debcd3 >>>>> >> > >>>>> >> > I think the change for freebsd would be quite the same looking a= t >>>>> >> > >>>>> https://github.com/freebsd/freebsd/blob/master/sys/dev/netmap/ixgbe_n= etmap.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 >>>>> >>>> >>>> >>>> -- >>>> Vincenzo >>>> >>> >> >> -- >> Vincenzo >> > --=20 Vincenzo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B_eA9iMAZVL-aZS5AQjMgTNjcj7K_0oU=1Nu8en%2B5=N3rEnhg>