From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B21127F; Thu, 3 Aug 2023 01:02:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 352C7C433C7; Thu, 3 Aug 2023 01:02:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691024553; bh=sYYfk/2eVecFJH7npSFnjENPYDc0pKt9rIwxWWq7LrM=; h=From:To:Cc:Subject:Date:From; b=rn+PS/04jmWYQXCs1Q9Lh+IQHbL2uTaP9X6GbNxBGEM+S3ghDfdFF6XrE9NIoUsXE Iax5cTmd3QJ84Bsw2R9GDy0T+pQyRvfgUzkQGAyxqsadLCKnKpPiPNCWUJcTPDYoNd yAO2DzA7BXxAoWCGxtvgNEXTFlrsjkItcJv6V4H+yEqnk/TJQPPotZdvwgnO/dLFeG 8QCITdZ/J1xcdg9/b3+n3WtQRvSWvH8SDvyDgFLlGV1vU4UWQl7W3O3I4D0LojiW9V tH0Il4wqTD51N1Btd3RkND4J22nuoe3aMnY6nZJHlF5EcacP6FKv8xwGDiRYpxuw4G y5XYIdTJ/CRNQ== From: Jakub Kicinski To: ast@kernel.org Cc: netdev@vger.kernel.org, bpf@vger.kernel.org, hawk@kernel.org, amritha.nambiar@intel.com, aleksander.lobakin@intel.com, Jakub Kicinski Subject: [PATCH bpf-next v2 0/3] net: struct netdev_rx_queue and xdp.h reshuffling Date: Wed, 2 Aug 2023 18:02:27 -0700 Message-ID: <20230803010230.1755386-1-kuba@kernel.org> X-Mailer: git-send-email 2.41.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit While poking at struct netdev_rx_queue I got annoyed by the huge rebuild times. I split it out from netdevice.h and then realized that it was the main reason we included xdp.h in there. So I removed that dependency as well. This gives us very pleasant build times for both xdp.h and struct netdev_rx_queue changes. I'm sending this for bpf-next because I think it'd be easiest if it goes in there, and then bpf-next gets flushed soon after? I can also make a branch on merge-base for net-next and bpf-next.. v2: - build fix - reorder some includes v1: https://lore.kernel.org/all/20230802003246.2153774-1-kuba@kernel.org/ Jakub Kicinski (3): eth: add missing xdp.h includes in drivers net: move struct netdev_rx_queue out of netdevice.h net: invert the netdevice.h vs xdp.h dependency drivers/net/bonding/bond_main.c | 1 + drivers/net/ethernet/amazon/ena/ena_netdev.h | 1 + drivers/net/ethernet/engleder/tsnep.h | 1 + .../net/ethernet/freescale/dpaa2/dpaa2-eth.h | 1 + drivers/net/ethernet/freescale/enetc/enetc.h | 1 + drivers/net/ethernet/freescale/fec.h | 1 + .../ethernet/fungible/funeth/funeth_txrx.h | 1 + drivers/net/ethernet/google/gve/gve.h | 1 + drivers/net/ethernet/intel/igc/igc.h | 1 + .../ethernet/microchip/lan966x/lan966x_main.h | 1 + drivers/net/ethernet/microsoft/mana/mana_en.c | 1 + drivers/net/ethernet/stmicro/stmmac/stmmac.h | 1 + drivers/net/ethernet/ti/cpsw_priv.h | 1 + drivers/net/hyperv/hyperv_net.h | 1 + drivers/net/tap.c | 1 + drivers/net/virtio_net.c | 1 + include/linux/filter.h | 17 ------ include/linux/netdevice.h | 55 ++----------------- include/net/busy_poll.h | 1 + include/net/mana/mana.h | 2 + include/net/netdev_rx_queue.h | 53 ++++++++++++++++++ include/net/xdp.h | 29 ++++++++-- include/trace/events/xdp.h | 1 + kernel/bpf/btf.c | 1 + kernel/bpf/offload.c | 1 + kernel/bpf/verifier.c | 1 + net/bpf/test_run.c | 1 + net/core/dev.c | 1 + net/core/net-sysfs.c | 1 + net/netfilter/nf_conntrack_bpf.c | 1 + net/xdp/xsk.c | 1 + 31 files changed, 110 insertions(+), 72 deletions(-) create mode 100644 include/net/netdev_rx_queue.h -- 2.41.0