aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2023-08-03 15:38:07 +0000
committerMartin KaFai Lau <[email protected]>2023-08-03 15:38:53 +0000
commit648880e9331c68b2008430fd90f3648d1795399d (patch)
tree738e89e1fdb86967ee4f9d3f266bacde2d9fc170 /drivers/net/ethernet/intel/igc
parentMerge branch 'bpf-xdp-add-tracepoint-to-xdp-attaching-failure' (diff)
parentnet: invert the netdevice.h vs xdp.h dependency (diff)
downloadkernel-648880e9331c68b2008430fd90f3648d1795399d.tar.gz
kernel-648880e9331c68b2008430fd90f3648d1795399d.zip
Merge branch 'net: struct netdev_rx_queue and xdp.h reshuffling'
Jakub Kicinski says: ==================== 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/[email protected]/ ==================== Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
-rw-r--r--drivers/net/ethernet/intel/igc/igc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc.h b/drivers/net/ethernet/intel/igc/igc.h
index 9db384f66a8e..4bffc3cb502f 100644
--- a/drivers/net/ethernet/intel/igc/igc.h
+++ b/drivers/net/ethernet/intel/igc/igc.h
@@ -15,6 +15,7 @@
#include <linux/net_tstamp.h>
#include <linux/bitfield.h>
#include <linux/hrtimer.h>
+#include <net/xdp.h>
#include "igc_hw.h"