[openwrt/openwrt] kernel: qca-nss-dp: enable compiling against 6.6

LEDE Commits lede-commits at lists.infradead.org
Fri Mar 22 13:19:32 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d9a2886263570fa8be070fca6e592ebae4adeefd

commit d9a2886263570fa8be070fca6e592ebae4adeefd
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Thu Feb 29 22:35:52 2024 +0100

    kernel: qca-nss-dp: enable compiling against 6.6
    
    Since 6.5 netdev_rx_queue was moved out of netdevice.h so include the new
    header since that is where it lives now.
    
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 ...0010-nss-dp-include-net-netdev_rx_queue.h.patch | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/package/kernel/qca-nss-dp/patches/0010-nss-dp-include-net-netdev_rx_queue.h.patch b/package/kernel/qca-nss-dp/patches/0010-nss-dp-include-net-netdev_rx_queue.h.patch
new file mode 100644
index 0000000000..ddbf342868
--- /dev/null
+++ b/package/kernel/qca-nss-dp/patches/0010-nss-dp-include-net-netdev_rx_queue.h.patch
@@ -0,0 +1,25 @@
+From 01ec275bd0942ddc6b80e1d3671cdc66be670f57 Mon Sep 17 00:00:00 2001
+From: Robert Marko <robimarko at gmail.com>
+Date: Fri, 1 Sep 2023 12:23:58 +0200
+Subject: [PATCH] nss-dp: include <net/netdev_rx_queue.h>
+
+Since 6.5 netdev_rx_queue was moved out of netdevice.h so include the new
+header since that is where it lives now.
+
+Signed-off-by: Robert Marko <robimarko at gmail.com>
+---
+ nss_dp_main.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/nss_dp_main.c
++++ b/nss_dp_main.c
+@@ -34,6 +34,9 @@
+ #if defined(NSS_DP_MAC_POLL_SUPPORT)
+ #include <init/ssdk_init.h>
+ #endif
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 5, 0))
++#include <net/netdev_rx_queue.h>
++#endif
+ 
+ #include "nss_dp_hal.h"
+ 




More information about the lede-commits mailing list