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 ext_deps += dep
deps += ['bus_vdev'] deps += ['bus_vdev']
sources = files('rte_armv8_pmd.c', 'rte_armv8_pmd_ops.c') 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', 'pmd_zuc.c',
) )
deps += ['bus_vdev', 'net', 'security'] deps += ['bus_vdev', 'net', 'security']
pmd_supports_disable_iova_as_pa = true

View File

@ -9,3 +9,4 @@ endif
deps += 'bus_vdev' deps += 'bus_vdev'
sources = files('null_crypto_pmd.c', 'null_crypto_pmd_ops.c') 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' deps += 'bus_vdev'
sources = files('rte_openssl_pmd.c', 'rte_openssl_pmd_ops.c') sources = files('rte_openssl_pmd.c', 'rte_openssl_pmd_ops.c')
ext_deps += dep ext_deps += dep
pmd_supports_disable_iova_as_pa = true

View File

@ -5,3 +5,4 @@ deps += ['dmadev', 'kvargs', 'ring', 'bus_vdev']
sources = files( sources = files(
'skeleton_dmadev.c', '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' cflags += '-Wno-format-nonliteral'
endif endif
sources = files('dsw_evdev.c', 'dsw_event.c', 'dsw_xstats.c') 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', 'opdl_test.c',
) )
deps += ['bus_vdev'] deps += ['bus_vdev']
pmd_supports_disable_iova_as_pa = true

View File

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

View File

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

View File

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

View File

@ -2,3 +2,4 @@
# Copyright(c) 2017 Intel Corporation # Copyright(c) 2017 Intel Corporation
sources = files('rte_mempool_ring.c') 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') sources = files('rte_mempool_stack.c')
deps += ['stack'] deps += ['stack']
pmd_supports_disable_iova_as_pa = true

View File

@ -6,3 +6,4 @@ if not is_linux
reason = 'only supported on Linux' reason = 'only supported on Linux'
endif endif
sources = files('rte_eth_af_packet.c') 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'] cflags += ['-DRTE_NET_AF_XDP_LIBBPF_XDP_ATTACH']
endif endif
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'] deps += ['ip_frag']
headers = files('rte_eth_bond.h', 'rte_eth_bond_8023ad.h') 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_ops.c',
'failsafe_rxtx.c', 'failsafe_rxtx.c',
) )
pmd_supports_disable_iova_as_pa = true

View File

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

View File

@ -8,3 +8,4 @@ if is_windows
endif endif
sources = files('rte_eth_null.c') 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 if is_windows
ext_deps += cc.find_library('iphlpapi', required: true) ext_deps += cc.find_library('iphlpapi', required: true)
endif endif
pmd_supports_disable_iova_as_pa = true

View File

@ -9,3 +9,4 @@ endif
sources = files('rte_eth_ring.c') sources = files('rte_eth_ring.c')
headers = files('rte_eth_ring.h') 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])) config.set(arg[0], cc.has_header_symbol(arg[1], arg[2]))
endforeach endforeach
configure_file(output : 'tap_autoconf.h', configuration : config) 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.c',
'skeleton_rawdev_test.c', 'skeleton_rawdev_test.c',
) )
pmd_supports_disable_iova_as_pa = true