From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: AF_XDP. Was: [net-next 00/12][pull request] Intel Wired LAN Driver Updates 2018-06-04 Date: Mon, 4 Jun 2018 16:32:25 -0700 Message-ID: <20180604233224.hjuh2hcbsnsn2lwr@ast-mbp> References: <20180604.163017.1841938428912069611.davem@davemloft.net> <20180604.172717.1793799218358789924.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: David Miller , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , "Karlsson, Magnus" , Alexei Starovoitov , Daniel Borkmann , Or Gerlitz , Jeff Kirsher , Netdev To: Alexander Duyck Return-path: Received: from mail-pg0-f54.google.com ([74.125.83.54]:44386 "EHLO mail-pg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751962AbeFDXc3 (ORCPT ); Mon, 4 Jun 2018 19:32:29 -0400 Received: by mail-pg0-f54.google.com with SMTP id p21-v6so210662pgd.11 for ; Mon, 04 Jun 2018 16:32:29 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Mon, Jun 04, 2018 at 03:02:31PM -0700, Alexander Duyck wrote: > On Mon, Jun 4, 2018 at 2:27 PM, David Miller wrote: > > From: Or Gerlitz > > Date: Tue, 5 Jun 2018 00:11:35 +0300 > > > >> Just to make sure, is the AF_XDP ZC (Zero Copy) UAPI going to be > >> merged for this window -- AFAIU from [1], it's still under > >> examination/development/research for non Intel HWs, am I correct or > >> this is going to get in now? > > > > All of the pending AF_XDP changes will be merged this merge window. > > > > I think Intel folks need to review things as fast as possible because > > I pretty much refuse to revert the series or disable it in Kconfig at > > this point. > > > > Thank you. > > My understanding of things is that the current AF_XDP patches were > going to be updated to have more of a model agnostic API such that > they would work for either the "typewriter" mode or the descriptor > ring based approach. The current plan was to have the zero copy > patches be a follow-on after the vendor agnostic API bits in the > descriptors and such had been sorted out. I believe you guys have the > descriptor fixes already right? > > In my opinion the i40e code isn't mature enough yet to really go into > anything other than maybe net-next in a couple weeks. We are going to > need a while to get adequate testing in order to flush out all the > bugs and performance regressions we are likely to see coming out of > this change. I think the work everyone did in this release cycle increased my confidence that the way descriptors are defined and the rest of uapi are stable enough and i40e zero copy bits can land in the next release without uapi changes. In that sense even if we merge i40e parts now, the other nic vendors will be in the same situation and may find things that they would like to improve in uapi. So I propose we merge the first 7 patches of the last series now and let 3 remaining i40e patches go via intel trees for the next release. In the mean time other NIC vendors should start actively working on AF_XDP support as well. If somehow uapi would need tweaks, we can still do minor adjustments since 4.18 won't be released for ~10 weeks.