From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= Subject: [PATCH bpf-next 0/8] AF_XDP follow-up patches, uapi and cleanups Date: Tue, 22 May 2018 09:34:55 +0200 Message-ID: <20180522073503.2199-1-bjorn.topel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= To: magnus.karlsson@intel.com, magnus.karlsson@gmail.com, ast@fb.com, daniel@iogearbox.net, netdev@vger.kernel.org Return-path: Received: from mga05.intel.com ([192.55.52.43]:21728 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751339AbeEVHfK (ORCPT ); Tue, 22 May 2018 03:35:10 -0400 Sender: netdev-owner@vger.kernel.org List-ID: From: Björn Töpel This the second follow-up set. The first four patches are uapi changes: * Removing rebind support * Getting rid of structure hole * Removing explicit cache line alignment * Stricter bind checks The last patches do some cleanups, where the umem and refcount_t changes were suggested by Daniel. * Add a missing write-barrier and use READ_ONCE for data-dependencies * Clean up umem and do proper locking * Convert atomic_t to refcount_t Björn Töpel (7): xsk: remove rebind support xsk: fill hole in struct sockaddr_xdp xsk: remove explicit ring structure from uapi samples/bpf: adapt xdpsock to the new uapi xsk: add missing write- and data-dependency barrier xsk: simplified umem setup xsk: convert atomic_t to refcount_t Magnus Karlsson (1): xsk: proper queue id check at bind include/uapi/linux/if_xdp.h | 46 ++++++++--------- net/xdp/xdp_umem.c | 85 +++++++++++++++--------------- net/xdp/xdp_umem.h | 5 +- net/xdp/xsk.c | 105 +++++++++++++++++++++++-------------- net/xdp/xsk_queue.h | 17 ++++++ samples/bpf/xdpsock_user.c | 123 +++++++++++++++++++++++++++----------------- 6 files changed, 225 insertions(+), 156 deletions(-) -- 2.14.1