From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com ([205.139.110.61]:58531 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726397AbgA3IC3 (ORCPT ); Thu, 30 Jan 2020 03:02:29 -0500 Date: Thu, 30 Jan 2020 09:02:03 +0100 From: Jesper Dangaard Brouer Subject: Re: xdpsock ... -N -z and AF_XDP XDP_ZEROCOPY not working: RESOLVED! Message-ID: <20200130090203.71b475a0@carbon> In-Reply-To: References: MIME-Version: 1.0 Sender: xdp-newbies-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: David Ahern Cc: Cameron Elliott , Xdp , Magnus Karlsson On Wed, 29 Jan 2020 21:41:57 -0700 David Ahern wrote: > On 1/29/20 6:02 PM, Cameron Elliott wrote: > > With this command: > > git clone git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git > > More info: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/ > > > > I built the kernel using these directions: > > https://wiki.ubuntu.com/KernelTeam/GitKernelBuild > > > > And after rebooting and running on the 5.5 bpf-next kernel, -z and > > XDP_ZEROCOPY were working fine! > > since this is literally bleeding edge, is there a wiki/doc/other for > kernel versions and supported features? Something similar to what MLX > does for switchdev [1] would be really helpful. > > [1] https://github.com/Mellanox/mlxsw/wiki The IOvisor BCC project tries to keep track of kernel version and BPF + XDP features, here[2]: [2] https://github.com/iovisor/bcc/blob/master/docs/kernel-versions.md -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer