0010-nss-dp-include-net-netdev_rx_queue.h.patch 691 B

12345678910111213141516171819202122232425
  1. From 01ec275bd0942ddc6b80e1d3671cdc66be670f57 Mon Sep 17 00:00:00 2001
  2. From: Robert Marko <[email protected]>
  3. Date: Fri, 1 Sep 2023 12:23:58 +0200
  4. Subject: [PATCH] nss-dp: include <net/netdev_rx_queue.h>
  5. Since 6.5 netdev_rx_queue was moved out of netdevice.h so include the new
  6. header since that is where it lives now.
  7. Signed-off-by: Robert Marko <[email protected]>
  8. ---
  9. nss_dp_main.c | 3 +++
  10. 1 file changed, 3 insertions(+)
  11. --- a/nss_dp_main.c
  12. +++ b/nss_dp_main.c
  13. @@ -34,6 +34,9 @@
  14. #if defined(NSS_DP_MAC_POLL_SUPPORT)
  15. #include <init/ssdk_init.h>
  16. #endif
  17. +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 5, 0))
  18. +#include <net/netdev_rx_queue.h>
  19. +#endif
  20. #include "nss_dp_hal.h"