qlnxe driver not in 13.0 arm64

Daniel Morante daniel at morante.net
Wed Mar 31 01:29:04 UTC 2021


To test it with a custom kernel, would I only need to add these lines 
(https://cgit.freebsd.org/src/tree/sys/conf/files.amd64#n279-306)?

|dev/qlnx/qlnxe/ecore_cxt.c optional qlnxe pci \ compile-with 
"${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c optional qlnxe pci \ 
compile-with "${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_dcbx.c optional qlnxe 
pci \ compile-with "${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_dev.c optional 
qlnxe pci \ compile-with "${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_hw.c 
optional qlnxe pci \ compile-with "${LINUXKPI_C}" 
dev/qlnx/qlnxe/ecore_init_fw_funcs.c optional qlnxe pci \ compile-with 
"${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_init_ops.c optional qlnxe pci \ 
compile-with "${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_int.c optional qlnxe 
pci \ compile-with "${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_l2.c optional 
qlnxe pci \ compile-with "${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_mcp.c 
optional qlnxe pci \ compile-with "${LINUXKPI_C}" 
dev/qlnx/qlnxe/ecore_sp_commands.c optional qlnxe pci \ compile-with 
"${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_spq.c optional qlnxe pci \ 
compile-with "${LINUXKPI_C}" dev/qlnx/qlnxe/qlnx_ioctl.c optional qlnxe 
pci \ compile-with "${LINUXKPI_C}" dev/qlnx/qlnxe/qlnx_os.c optional 
qlnxe pci \ compile-with "${LINUXKPI_C}"|


On 3/30/21 3:00 PM, Hans Petter Selasky wrote:
> On 3/30/21 8:31 PM, John-Mark Gurney wrote:
>> Daniel Morante via freebsd-stable wrote this message on Sun, Mar 28, 
>> 2021 at 03:23 -0400:
>>> I installed 13.0-RC3 ARM64 from the DVD ISO image
>>> (FreeBSD-13.0-BETA4-arm64-aarch64-dvd1.iso
>>> <http://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/13.0/FreeBSD-13.0-BETA4-arm64-aarch64-dvd1.iso>). 
>>>
>>> There is no "if_qlnxe" kernel model present on the install media, or on
>>> the system after installing.
>>>
>>> Next I try to build a custom kernel. I add "device qlnxe" to the
>>> configuration file as instructed in
>>> https://www.freebsd.org/cgi/man.cgi?query=qlnxe&manpath=FreeBSD+13.0-current. 
>>>
>>>
>>>
>>> Running "make buildkernel KERNCONF=THUNDERX2" results in:
>>>
>>> config: Error: device "qlnxe" is unknown
>>>
>>> Is this module not available for ARM64 architecture?
>>
>> Correct, this is only available for amd64.
>>
>> HPS might have some more insight as to why it's amd64 only.
>>
>> I have cc'd him.
>>
>> It could be as simple as moving the qlnxe lines from files.amd64 to 
>> files,
>> but it does appear that qnlxe depends upon the Linux compat layer, which
>> may not be complete for arm64..
>>
>
> The LinuxKPI works for ARM64 aswell. Maybe the QLNXE driver is not 
> tested for ARM64.
>
> --HPS
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4571 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20210330/e6ca4ea8/attachment.bin>


More information about the freebsd-stable mailing list