[Bug 287445] [qlnxe] QLogic/Marvell/Dell 41164 ping loss

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 13 Jul 2025 15:20:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287445

--- Comment #29 from Zhenlei Huang <zlei@FreeBSD.org> ---
It appears this is a regression from change [1]. May you please have a try with
the following patch ?


```
diff --git a/sys/dev/qlnx/qlnxe/qlnx_os.c b/sys/dev/qlnx/qlnxe/qlnx_os.c
index 49d3f20aa0c2..73f3172b065c 100644
--- a/sys/dev/qlnx/qlnxe/qlnx_os.c
+++ b/sys/dev/qlnx/qlnxe/qlnx_os.c
@@ -30,6 +30,9 @@
  * Author : David C Somayajulu, Cavium, Inc., San Jose, CA 95131.
  */

+#include "opt_inet.h"
+#include "opt_inet6.h"
+
 #include <sys/cdefs.h>
 #include "qlnx_os.h"
 #include "bcm_osal.h"
diff --git a/sys/modules/qlnx/qlnxe/Makefile b/sys/modules/qlnx/qlnxe/Makefile
index 3d8415cf0e57..2e1b7a158adf 100644
--- a/sys/modules/qlnx/qlnxe/Makefile
+++ b/sys/modules/qlnx/qlnxe/Makefile
@@ -42,6 +42,7 @@ SRCS+=ecore_init_fw_funcs.c ecore_int.c ecore_mcp.c
 SRCS+=ecore_sp_commands.c ecore_spq.c ecore_l2.c
 SRCS+=ecore_init_ops.c ecore_dbg_fw_funcs.c
 SRCS+=ecore_mng_tlv.c
+SRCS+=opt_inet.h opt_inet6.h

 SRCS+=ecore_sriov.c
 SRCS+=ecore_vf.c
```

[1] 5684c8783b64e qlnxe: Add missing #ifdef INET to fix amd64 LINT-NOINET/NOIP
builds

-- 
You are receiving this mail because:
You are the assignee for the bug.