From owner-freebsd-net@freebsd.org Thu Nov 22 10:22:34 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 BB517114460E for ; Thu, 22 Nov 2018 10:22:34 +0000 (UTC) (envelope-from avv314@gmail.com) Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) (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 99098705A8 for ; Thu, 22 Nov 2018 10:22:33 +0000 (UTC) (envelope-from avv314@gmail.com) Received: by mail-lj1-x230.google.com with SMTP id s5-v6so7483156ljd.12 for ; Thu, 22 Nov 2018 02:22:33 -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=N9B8sne8mkHDxG85KWG75AfHObgyYhvvIh72VTdFNo8=; b=LS1Sy3YwhzCg0lhjf/Hk2bAy3rkmCet+2is0JMG7XjldVPtsibtsHyyKMVZZh3pwg+ Lx5qKuTJjj4fmmfULfcbccX00upOITZqUZopowEkTu5k/0K/VpALfyZxWYHtb53QLzUv OsP1ymhgW6RdGcZ8NCQUHgOCKkVwDHPP7jC/69LYV4APIghrg8cyp4pIR7K5pP8RpmH6 dPuhw4u1nSbOWWo3v7vl5gRcXf7MDY1ueIo9YM2WNAKz8rHxDMH943ECUfAHenhUTq3W B5fVH+7rEhGfTbr3vqmAIr5Txe6/+SP4PQGPOn/Dew5ujntvBRXiCZe3snNVNsuuMgAj dGNQ== 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=N9B8sne8mkHDxG85KWG75AfHObgyYhvvIh72VTdFNo8=; b=awNNWun4EJ5TyXYo/koLW+uKO2TIfsRrx3e0w8BtxtHRUTUEBhNidXLzPP64Tja5E7 rhNH56FzbQHh1n3Ztx9TVEhlyRSNwEBF9TYp8SBKMRYAXA18v5YD7kp4EnsRAUNha7Lx BtBD/VTvDglJjOHdq39Z9p1zmsauzxCr+dFhUNR/jhAC6gOPkcjOXAxK/Hf8rqDCvMgg 8s2G9RVReXwpwpRdCkwZoxVxg16Q8TUHyuYRwNvzvvt/42b6riAphOtN81INyssO/16M jKoBT/PQMSmNhkCP7T0K62bTmvm/4R9N7tm/aI8HyaKBgA+dR+NbkefYEoSou8stcjct vbHA== X-Gm-Message-State: AA+aEWYFpU8wifI38tFDd4qPQWjn/kseU6yVAEdCGIAJr2JLLBw43DNR wWOw2arsqJQrPErrL90iC5yiTxReHgoIiasO7sQ= X-Google-Smtp-Source: AFSGD/UCTRoftSvRCQoTXtBkyXMbQw/DA4dU+vuZ9OpOG469f0Z9U9MbwPR/LK4TRp5w0HGGGj3U433aiWYoQL7wlZM= X-Received: by 2002:a2e:478f:: with SMTP id u137-v6mr6461028lja.142.1542882152210; Thu, 22 Nov 2018 02:22:32 -0800 (PST) MIME-Version: 1.0 References: <5756C17D.1090409@yandex.ru> <1502708678.10983095.1465385308094.JavaMail.zimbra@ulg.ac.be> In-Reply-To: <1502708678.10983095.1465385308094.JavaMail.zimbra@ulg.ac.be> From: Andrew Vylegzhanin Date: Thu, 22 Nov 2018 13:22:21 +0300 Message-ID: Subject: Re: Is netmap jumbo frames broken in STABLE? To: tom.barbette@ulg.ac.be Cc: Luigi Rizzo , "Andrey V. Elsukov" , freebsd-net , Ryan Stone X-Rspamd-Queue-Id: 99098705A8 X-Spamd-Result: default: False [-3.51 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; 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]; RCVD_IN_DNSWL_NONE(0.00)[0.3.2.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]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_SHORT(-0.84)[-0.842,0]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-0.65)[ipnet: 2a00:1450::/32(-1.62), asn: 15169(-1.56), country: US(-0.09)] 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: Thu, 22 Nov 2018 10:22:35 -0000 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 >