From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilias Apalodimas Subject: Re: Explaining the XDP page-requirement (Was: [PATCH v2 net-next 0/8] dpaa2-eth: Introduce XDP support) Date: Mon, 7 Jan 2019 12:53:42 +0200 Message-ID: <20190107105342.GA31296@apalos> References: <20181205164502.5b11ff7e@redhat.com> <20181207172016.GA21965@apalos> <20181207175135.GA22649@apalos> <20181221163119.3fbef5dc@redhat.com> <20190107104506.GA31188@apalos> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jesper Dangaard Brouer , "netdev@vger.kernel.org" , "davem@davemloft.net" , Ioana Ciornei , "dsahern@gmail.com" , Camelia Alexandra Groza To: Ioana Ciocoi Radulescu Return-path: Received: from mail-wm1-f49.google.com ([209.85.128.49]:40052 "EHLO mail-wm1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725550AbfAGKxs (ORCPT ); Mon, 7 Jan 2019 05:53:48 -0500 Received: by mail-wm1-f49.google.com with SMTP id f188so434516wmf.5 for ; Mon, 07 Jan 2019 02:53:47 -0800 (PST) Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Hi Ioana, > > > Thanks a lot, that's great info, especially for someone who hasn't followed > > > so closely xdp development from its beginning. > > > > > > I'll look into updating the dpaa2-eth driver to use one page per frame and > > > see how that goes. > > > > If you have time, we can discuss merging whatever hardware features are > > not > > supported in the page_pool API and use that to allocate pages? > > Sure. I'd like to first transition to plain page allocations instead of > napi_alloc_frag() and validate that's ok (I've been meaning to try that for > a while now but haven't got around to it yet), and then we can explore > how that might be integrated in page_pool. Great, ping us if you need anything Thanks /Ilias