Skip to contentSkip to conversation

net/mana: support building the driver on arm64

PATCH Applied [email protected] 4 participants 7 messages Aug 27, 2024 – Aug 28, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/mana: support building the driver on arm64

From: Long Li <[email protected]>

The driver has been verified on Linux arm64. Enable this build option and add a missing header file for arm64.

---
 drivers/net/mana/meson.build | 4 ++--
 drivers/net/mana/mp.c        | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
drivers/net/mana/meson.build +2 -2
index 2d72eca5a8..330d30b2ff 100644
@@ -1,9 +1,9 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2022 Microsoft Corporation
 
-if not is_linux or not dpdk_conf.has('RTE_ARCH_X86')
+if not is_linux or not (dpdk_conf.has('RTE_ARCH_X86') or dpdk_conf.has('RTE_ARCH_ARM64'))
     build = false
-    reason = 'only supported on x86 Linux'
+    reason = 'only supported on x86 or arm64 Linux'
     subdir_done()
 endif
 
drivers/net/mana/mp.c +1 -0
index 738487f65a..34b45ed832 100644
@@ -5,6 +5,7 @@
 #include <rte_malloc.h>
 #include <ethdev_driver.h>
 #include <rte_log.h>
+#include <stdlib.h>
 
 #include <infiniband/verbs.h>
 
Signature · 1 line
2.43.0
#1 lore raw
Quoted 7 lines · On 8/26/2024 11:38 PM, [email protected] wrote:

From: Long Li <[email protected]>

The driver has been verified on Linux arm64. Enable this build option and add a missing header file for arm64.

Hi Long,

I don't see this patch in the mail list and patchwork, it can be because of the email address it has been sent, fyi.

#2 lore raw

Hello,

Quoted 7 lines · Ferruh Yigit
Quoted 5 lines · On 8/26/2024 11:38 PM, [email protected] wrote:

From: Long Li <[email protected]>

The driver has been verified on Linux arm64. Enable this build option and add a missing header file for arm64.

Quoted 7 lines
Quoted 2 lines

Hi Long,

I don't see this patch in the mail list and patchwork, it can be because of the email address it has been sent, fyi.

The mail was waiting in the moderation queue.
Long, please fix your send-email setup, or send with a mail address registered to the dev@ ml.

Thanks.

Signature · 1 line
David Marchand
#3 lore raw
Quoted 8 lines
Quoted 4 lines

Hi Long,

I don't see this patch in the mail list and patchwork, it can be because of the email address it has been sent, fyi.

The mail was waiting in the moderation queue.
Long, please fix your send-email setup, or send with a mail address registered to the dev@ ml.

I think the patch has made it to patchwork:
https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/

The sender is [email protected], the author is [email protected]. I hope that is okay.

Long

#4 lore raw
Quoted 7 lines · Long Li
Quoted 3 lines

The mail was waiting in the moderation queue.
Long, please fix your send-email setup, or send with a mail address registered to the dev@ ml.

I think the patch has made it to patchwork:
https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/

I released this mail from the moderation queue, so the patch could make it to patchwork.

Quoted 1 line

The sender is [email protected], the author is [email protected]. I hope that is okay.

The @linuxonhyperv.com address one is not registered to the dev ml, which is the reason why the mail got moderated.

Hope it is clear now..

Signature · 1 line
David Marchand
#5 lore raw
Quoted 11 lines

I released this mail from the moderation queue, so the patch could make it to patchwork.

Quoted 1 line

The sender is [email protected], the author is

[email protected]. I hope that is okay.

The @linuxonhyperv.com address one is not registered to the dev ml, which is the reason why the mail got moderated.

Hope it is clear now..

Thank you, I have subscribed as [email protected]. I don't know the reason why it got bounced and membership disabled in the past.

Long