Skip to content

Commit

Permalink
net/mana: support arm64
Browse files Browse the repository at this point in the history
The driver has been verified on Linux arm64. Enable this build option
and add a missing header file for arm64.

Signed-off-by: Long Li <longli@microsoft.com>
  • Loading branch information
longlimsft authored and ferruhy committed Aug 27, 2024
1 parent 334bda1 commit 077056e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/mana/meson.build
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 1 addition & 0 deletions drivers/net/mana/mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <rte_malloc.h>
#include <ethdev_driver.h>
#include <rte_log.h>
#include <stdlib.h>

#include <infiniband/verbs.h>

Expand Down

0 comments on commit 077056e

Please sign in to comment.