Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2021 21:28:56 -0400
From:      Daniel Morante <daniel@morante.net>
To:        Hans Petter Selasky <hps@selasky.org>, freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: qlnxe driver not in 13.0 arm64
Message-ID:  <cba640c7-e8e3-dd2b-cdde-0781ca91ad0f@morante.net>
In-Reply-To: <eca982c1-25cd-20a5-59e4-a5bab76835a1@selasky.org>
References:  <91b9a597-8089-76cc-061d-84c29afc2a26@morante.net> <20210330183144.GN14975@funkthat.com> <eca982c1-25cd-20a5-59e4-a5bab76835a1@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms000400080302060906040708
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

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

|dev/qlnx/qlnxe/ecore_cxt.c optional qlnxe pci \ compile-with=20
"${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=20
pci \ compile-with "${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_dev.c optional=20
qlnxe pci \ compile-with "${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_hw.c=20
optional qlnxe pci \ compile-with "${LINUXKPI_C}"=20
dev/qlnx/qlnxe/ecore_init_fw_funcs.c optional qlnxe pci \ compile-with=20
"${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_init_ops.c optional qlnxe pci \=20
compile-with "${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_int.c optional qlnxe=20
pci \ compile-with "${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_l2.c optional=20
qlnxe pci \ compile-with "${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_mcp.c=20
optional qlnxe pci \ compile-with "${LINUXKPI_C}"=20
dev/qlnx/qlnxe/ecore_sp_commands.c optional qlnxe pci \ compile-with=20
"${LINUXKPI_C}" dev/qlnx/qlnxe/ecore_spq.c optional qlnxe pci \=20
compile-with "${LINUXKPI_C}" dev/qlnx/qlnxe/qlnx_ioctl.c optional qlnxe=20
pci \ compile-with "${LINUXKPI_C}" dev/qlnx/qlnxe/qlnx_os.c optional=20
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,=20
>> 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>).=20
>>>
>>> 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=3Dqlnxe&manpath=3DFreeBSD+1=
3.0-current.=20
>>>
>>>
>>>
>>> Running "make buildkernel KERNCONF=3DTHUNDERX2" 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=20
>> files,
>> but it does appear that qnlxe depends upon the Linux compat layer, whi=
ch
>> may not be complete for arm64..
>>
>
> The LinuxKPI works for ARM64 aswell. Maybe the QLNXE driver is not=20
> tested for ARM64.
>
> --HPS
>

--------------ms000400080302060906040708
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
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UgRGFu
aWVsIE1vcmFudGUgQ29tcGFueSwgSW5jLjEYMBYGA1UECwwPUGFjeSBXb3JsZCwgTExDMSMw
IQYDVQQDDBpQYWN5IFdvcmxkIEludGVybWVkaWF0ZSBDQQICEB0wDQYJKoZIhvcNAQEBBQAE
ggIArzI7ZMPChWukwnj5DvDYGBjo2KD0FesPYE4va14RYjdx6ZhihML3Bdn3Ej1S4FVeytgf
7FSpELqXKbGmKSD2rR1T1prmBnh+x1U2pVr05so8JSBSEV2Saeq+sZfuwXBeWst2iQmnbngL
NFIhZMExWLdpt+hEU3mPoR54ngGWQVsw3eeM38fIPR5R5EsM+TO0uAqNv45j+oV1diAQfkQu
mdEaVlfX5QXdWr122NvTf7GKdQ9khmmB68XBpO41yGykDtjXuPgCu6EobuQkliigvHRQX77G
IKRNSs8oNlm5UVnaozU9M9t2UmqzwRDe/7BO9FJYHRU7FW8nJw4D0R/B7oMThJ4B3U1QEO+Y
yDQqZkuyrQPnaWzq8+6tbcyKo+ghvt5PDRLx1VNVjmy6+JXRTqJIFDeUQXHboEsmru0e0M/o
JYj9tzEVUO+gUccxZCnpqI/JMbTbPQ0crOhFPhsrakJeJ3OwxuX+3je17V1uUqP2Nexu4s30
E7TUWrRnE/MeabMn/2tdoyJBVwo8ZNYTHaNSWJl94OPkCZ8uUBf1OZr6x3y2Rqtvd/lMxZuk
munzMo97IpdxKwkbKmIyHRng358AJGLxphcAjq1ufbpTGmTEBLhENA1AOy+AlIQlk1xEWNDU
cEIrm26aQilSzZ/L+nla1cHBZI4luxVMnRSNXl0AAAAAAAA=
--------------ms000400080302060906040708--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cba640c7-e8e3-dd2b-cdde-0781ca91ad0f>