5253fe372e
HIF or host interface is responsible for transmit and receive packets between physical ethernet interfaces and HIF library defined logical interfaces. This patch initialise that host interface and MAC. Signed-off-by: Gagandeep Singh <g.singh@nxp.com> Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Nipun Gupta <nipun.gupta@nxp.com>
24 lines
455 B
Meson
24 lines
455 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright 2019 NXP
|
|
|
|
if host_machine.system() != 'linux'
|
|
build = false
|
|
endif
|
|
deps += ['bus_dpaa']
|
|
|
|
sources = files('pfe_ethdev.c',
|
|
'pfe_hal.c',
|
|
'pfe_hif_lib.c',
|
|
'pfe_hif.c')
|
|
|
|
if cc.has_argument('-Wno-pointer-arith')
|
|
cflags += '-Wno-pointer-arith'
|
|
endif
|
|
|
|
# Driver uses below experimental APIs
|
|
# rte_mem_iova2virt
|
|
# rte_mem_virt2memseg
|
|
allow_experimental_apis = true
|
|
|
|
includes += include_directories('base')
|