drivers: mark SW PMDs to support disabling IOVA as PA

Enabled software PMDs in IOVA as PA disabled build
as they work with IOVA as VA.

Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
This commit is contained in:
Shijith Thotton 2022-10-08 02:32:11 +05:30 committed by Thomas Monjalon
parent 6771216c2f
commit b1ae367ab8
22 changed files with 23 additions and 0 deletions

View File

@ -17,3 +17,4 @@ endif
ext_deps += dep
deps += ['bus_vdev']
sources = files('rte_armv8_pmd.c', 'rte_armv8_pmd_ops.c')
pmd_supports_disable_iova_as_pa = true

View File

@ -41,3 +41,4 @@ sources = files(
'pmd_zuc.c',
)
deps += ['bus_vdev', 'net', 'security']
pmd_supports_disable_iova_as_pa = true

View File

@ -9,3 +9,4 @@ endif
deps += 'bus_vdev'
sources = files('null_crypto_pmd.c', 'null_crypto_pmd_ops.c')
pmd_supports_disable_iova_as_pa = true

View File

@ -15,3 +15,4 @@ endif
deps += 'bus_vdev'
sources = files('rte_openssl_pmd.c', 'rte_openssl_pmd_ops.c')
ext_deps += dep
pmd_supports_disable_iova_as_pa = true

View File

@ -5,3 +5,4 @@ deps += ['dmadev', 'kvargs', 'ring', 'bus_vdev']
sources = files(
'skeleton_dmadev.c',
)
pmd_supports_disable_iova_as_pa = true

View File

@ -6,3 +6,4 @@ if cc.has_argument('-Wno-format-nonliteral')
cflags += '-Wno-format-nonliteral'
endif
sources = files('dsw_evdev.c', 'dsw_event.c', 'dsw_xstats.c')
pmd_supports_disable_iova_as_pa = true

View File

@ -9,3 +9,4 @@ sources = files(
'opdl_test.c',
)
deps += ['bus_vdev']
pmd_supports_disable_iova_as_pa = true

View File

@ -3,3 +3,4 @@
sources = files('skeleton_eventdev.c')
deps += ['bus_pci', 'bus_vdev']
pmd_supports_disable_iova_as_pa = true

View File

@ -9,3 +9,4 @@ sources = files(
'sw_evdev.c',
)
deps += ['hash', 'bus_vdev']
pmd_supports_disable_iova_as_pa = true

View File

@ -12,3 +12,4 @@ if is_windows
endif
sources = files('rte_mempool_bucket.c')
pmd_supports_disable_iova_as_pa = true

View File

@ -2,3 +2,4 @@
# Copyright(c) 2017 Intel Corporation
sources = files('rte_mempool_ring.c')
pmd_supports_disable_iova_as_pa = true

View File

@ -4,3 +4,4 @@
sources = files('rte_mempool_stack.c')
deps += ['stack']
pmd_supports_disable_iova_as_pa = true

View File

@ -6,3 +6,4 @@ if not is_linux
reason = 'only supported on Linux'
endif
sources = files('rte_eth_af_packet.c')
pmd_supports_disable_iova_as_pa = true

View File

@ -70,3 +70,5 @@ if build
cflags += ['-DRTE_NET_AF_XDP_LIBBPF_XDP_ATTACH']
endif
endif
pmd_supports_disable_iova_as_pa = true

View File

@ -22,3 +22,4 @@ deps += 'sched' # needed for rte_bitmap.h
deps += ['ip_frag']
headers = files('rte_eth_bond.h', 'rte_eth_bond_8023ad.h')
pmd_supports_disable_iova_as_pa = true

View File

@ -27,3 +27,4 @@ sources = files(
'failsafe_ops.c',
'failsafe_rxtx.c',
)
pmd_supports_disable_iova_as_pa = true

View File

@ -12,3 +12,4 @@ sources = files(
)
deps += ['hash']
pmd_supports_disable_iova_as_pa = true

View File

@ -8,3 +8,4 @@ if is_windows
endif
sources = files('rte_eth_null.c')
pmd_supports_disable_iova_as_pa = true

View File

@ -15,3 +15,4 @@ ext_deps += pcap_dep
if is_windows
ext_deps += cc.find_library('iphlpapi', required: true)
endif
pmd_supports_disable_iova_as_pa = true

View File

@ -9,3 +9,4 @@ endif
sources = files('rte_eth_ring.c')
headers = files('rte_eth_ring.h')
pmd_supports_disable_iova_as_pa = true

View File

@ -35,3 +35,4 @@ foreach arg:args
config.set(arg[0], cc.has_header_symbol(arg[1], arg[2]))
endforeach
configure_file(output : 'tap_autoconf.h', configuration : config)
pmd_supports_disable_iova_as_pa = true

View File

@ -6,3 +6,4 @@ sources = files(
'skeleton_rawdev.c',
'skeleton_rawdev_test.c',
)
pmd_supports_disable_iova_as_pa = true