From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D9F34A054F; Wed, 7 Sep 2022 15:44:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C853442B70; Wed, 7 Sep 2022 15:44:43 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 54031427F9 for ; Wed, 7 Sep 2022 15:44:42 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 287Dd24Z021501; Wed, 7 Sep 2022 06:44:38 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=iGvGQ8PNkW+zVXM2pbvUsapiVr7meaBWIvdavy4OmNg=; b=O8/vGTCnHCAyjXy0ykHZ8TXyQFY0Q4gyo3mTBHm2jF8m1/7QFjMr48rdPUnFO17UiYg1 ddYNsC8tZpQNqtNtrlNrVp4xY3qWO9l3x79TAFxbvyrjDcDyI2PtLThnsfcroragMAT6 ElTNiORHIq/QjT0r+FFfGV7Gq6NdQkSXB8PxoMbF8/D51cFFIQZGUEv3Ks9n5mBx8MSq MRMg0/UNVcHtQCqbTlALwWtRiDNQu4jVUU+iifTVkzhcelzf4oy2tE6HGYdoMQoPU1MK RDDMBChz9czLVZtuxPeOv2w1oJIfkNGFxjMJNJYn1r+/WwUEBMxN6Ee/aYV0k5MBd2Gw Fg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3jc6epxg8p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 07 Sep 2022 06:44:37 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 7 Sep 2022 06:44:35 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Wed, 7 Sep 2022 06:44:35 -0700 Received: from localhost.localdomain (unknown [10.28.34.29]) by maili.marvell.com (Postfix) with ESMTP id B9B5A3F7081; Wed, 7 Sep 2022 06:44:27 -0700 (PDT) From: Shijith Thotton To: CC: , Shijith Thotton , , , , , , , , Ruifeng Wang , Fan Zhang , Pablo de Lara , Chengwen Feng , Kevin Laatz , =?UTF-8?q?Mattias=20R=C3=B6nnblom?= , Liang Ma , "Peter Mccarthy" , Harry van Haaren , "Artem V. Andreev" , Andrew Rybchenko , "John W. Linville" , Ciara Loftus , Qi Zhang , "Chas Williams" , "Min Hu (Connor)" , "Gaetan Rivet" , Jakub Grajciar , Tetsuya Mukawa , Sachin Saxena , "Hemant Agrawal" Subject: [PATCH v2 5/5] drivers: mark software PMDs work with IOVA as VA Date: Wed, 7 Sep 2022 19:13:40 +0530 Message-ID: <20220907134340.3629224-6-sthotton@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220829151626.2101336-1-sthotton@marvell.com> References: <20220829151626.2101336-1-sthotton@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: daYFTuH6FRg2kv0sMib5wRPvVsbQDrov X-Proofpoint-GUID: daYFTuH6FRg2kv0sMib5wRPvVsbQDrov X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-07_08,2022-09-07_01,2022-06-22_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Enabled software PMDs in IOVA as VA build as they work with IOVA as VA. Signed-off-by: Shijith Thotton --- drivers/crypto/armv8/meson.build | 1 + drivers/crypto/ipsec_mb/meson.build | 1 + drivers/crypto/null/meson.build | 1 + drivers/crypto/openssl/meson.build | 1 + drivers/dma/skeleton/meson.build | 1 + drivers/event/dsw/meson.build | 1 + drivers/event/opdl/meson.build | 1 + drivers/event/skeleton/meson.build | 1 + drivers/event/sw/meson.build | 1 + drivers/mempool/bucket/meson.build | 1 + drivers/mempool/ring/meson.build | 1 + drivers/mempool/stack/meson.build | 1 + drivers/net/af_packet/meson.build | 1 + drivers/net/af_xdp/meson.build | 2 ++ drivers/net/bonding/meson.build | 1 + drivers/net/failsafe/meson.build | 1 + drivers/net/memif/meson.build | 1 + drivers/net/null/meson.build | 1 + drivers/net/pcap/meson.build | 1 + drivers/net/ring/meson.build | 1 + drivers/net/tap/meson.build | 1 + drivers/raw/skeleton/meson.build | 1 + 22 files changed, 23 insertions(+) diff --git a/drivers/crypto/armv8/meson.build b/drivers/crypto/armv8/meson.build index 5effba8bbc..a2c9d69e3f 100644 --- a/drivers/crypto/armv8/meson.build +++ b/drivers/crypto/armv8/meson.build @@ -17,3 +17,4 @@ endif ext_deps += dep deps += ['bus_vdev'] sources = files('rte_armv8_pmd.c', 'rte_armv8_pmd_ops.c') +pmd_iova_as_va = true diff --git a/drivers/crypto/ipsec_mb/meson.build b/drivers/crypto/ipsec_mb/meson.build index a89b29d6c3..785440b593 100644 --- a/drivers/crypto/ipsec_mb/meson.build +++ b/drivers/crypto/ipsec_mb/meson.build @@ -37,3 +37,4 @@ sources = files( 'pmd_zuc.c', ) deps += ['bus_vdev', 'net', 'security'] +pmd_iova_as_va = true diff --git a/drivers/crypto/null/meson.build b/drivers/crypto/null/meson.build index acc16e7d81..68dc030075 100644 --- a/drivers/crypto/null/meson.build +++ b/drivers/crypto/null/meson.build @@ -9,3 +9,4 @@ endif deps += 'bus_vdev' sources = files('null_crypto_pmd.c', 'null_crypto_pmd_ops.c') +pmd_iova_as_va = true diff --git a/drivers/crypto/openssl/meson.build b/drivers/crypto/openssl/meson.build index cd962da1d6..25c44d0064 100644 --- a/drivers/crypto/openssl/meson.build +++ b/drivers/crypto/openssl/meson.build @@ -15,3 +15,4 @@ endif deps += 'bus_vdev' sources = files('rte_openssl_pmd.c', 'rte_openssl_pmd_ops.c') ext_deps += dep +pmd_iova_as_va = true diff --git a/drivers/dma/skeleton/meson.build b/drivers/dma/skeleton/meson.build index 8871b80956..2b48d4e031 100644 --- a/drivers/dma/skeleton/meson.build +++ b/drivers/dma/skeleton/meson.build @@ -5,3 +5,4 @@ deps += ['dmadev', 'kvargs', 'ring', 'bus_vdev'] sources = files( 'skeleton_dmadev.c', ) +pmd_iova_as_va = true diff --git a/drivers/event/dsw/meson.build b/drivers/event/dsw/meson.build index 2df0fac4ff..477a6e5910 100644 --- a/drivers/event/dsw/meson.build +++ b/drivers/event/dsw/meson.build @@ -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_iova_as_va = true diff --git a/drivers/event/opdl/meson.build b/drivers/event/opdl/meson.build index 786d2f4e82..e1a3de7ee3 100644 --- a/drivers/event/opdl/meson.build +++ b/drivers/event/opdl/meson.build @@ -9,3 +9,4 @@ sources = files( 'opdl_test.c', ) deps += ['bus_vdev'] +pmd_iova_as_va = true diff --git a/drivers/event/skeleton/meson.build b/drivers/event/skeleton/meson.build index acfe156532..0ae514668c 100644 --- a/drivers/event/skeleton/meson.build +++ b/drivers/event/skeleton/meson.build @@ -3,3 +3,4 @@ sources = files('skeleton_eventdev.c') deps += ['bus_pci', 'bus_vdev'] +pmd_iova_as_va = true diff --git a/drivers/event/sw/meson.build b/drivers/event/sw/meson.build index 6f81567efb..210cc1d048 100644 --- a/drivers/event/sw/meson.build +++ b/drivers/event/sw/meson.build @@ -9,3 +9,4 @@ sources = files( 'sw_evdev.c', ) deps += ['hash', 'bus_vdev'] +pmd_iova_as_va = true diff --git a/drivers/mempool/bucket/meson.build b/drivers/mempool/bucket/meson.build index 0051b6ac3c..31ba101677 100644 --- a/drivers/mempool/bucket/meson.build +++ b/drivers/mempool/bucket/meson.build @@ -12,3 +12,4 @@ if is_windows endif sources = files('rte_mempool_bucket.c') +pmd_iova_as_va = true diff --git a/drivers/mempool/ring/meson.build b/drivers/mempool/ring/meson.build index a021e908cf..f75f2125d7 100644 --- a/drivers/mempool/ring/meson.build +++ b/drivers/mempool/ring/meson.build @@ -2,3 +2,4 @@ # Copyright(c) 2017 Intel Corporation sources = files('rte_mempool_ring.c') +pmd_iova_as_va = true diff --git a/drivers/mempool/stack/meson.build b/drivers/mempool/stack/meson.build index 580dde79eb..3b94ed5b5e 100644 --- a/drivers/mempool/stack/meson.build +++ b/drivers/mempool/stack/meson.build @@ -4,3 +4,4 @@ sources = files('rte_mempool_stack.c') deps += ['stack'] +pmd_iova_as_va = true diff --git a/drivers/net/af_packet/meson.build b/drivers/net/af_packet/meson.build index c014e9b61b..92fafea363 100644 --- a/drivers/net/af_packet/meson.build +++ b/drivers/net/af_packet/meson.build @@ -6,3 +6,4 @@ if not is_linux reason = 'only supported on Linux' endif sources = files('rte_eth_af_packet.c') +pmd_iova_as_va = true diff --git a/drivers/net/af_xdp/meson.build b/drivers/net/af_xdp/meson.build index 1e0de23705..35812511e2 100644 --- a/drivers/net/af_xdp/meson.build +++ b/drivers/net/af_xdp/meson.build @@ -55,3 +55,5 @@ else build = false reason = 'missing header, "linux/if_xdp.h"' endif + +pmd_iova_as_va = true diff --git a/drivers/net/bonding/meson.build b/drivers/net/bonding/meson.build index 18ad7e21f3..b61166888e 100644 --- a/drivers/net/bonding/meson.build +++ b/drivers/net/bonding/meson.build @@ -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_iova_as_va = true diff --git a/drivers/net/failsafe/meson.build b/drivers/net/failsafe/meson.build index b8e5bf70f8..a90be869d1 100644 --- a/drivers/net/failsafe/meson.build +++ b/drivers/net/failsafe/meson.build @@ -27,3 +27,4 @@ sources = files( 'failsafe_ops.c', 'failsafe_rxtx.c', ) +pmd_iova_as_va = true diff --git a/drivers/net/memif/meson.build b/drivers/net/memif/meson.build index 680bc8631c..59140dc3dd 100644 --- a/drivers/net/memif/meson.build +++ b/drivers/net/memif/meson.build @@ -12,3 +12,4 @@ sources = files( ) deps += ['hash'] +pmd_iova_as_va = true diff --git a/drivers/net/null/meson.build b/drivers/net/null/meson.build index 0251578aab..6b7adbd760 100644 --- a/drivers/net/null/meson.build +++ b/drivers/net/null/meson.build @@ -8,3 +8,4 @@ if is_windows endif sources = files('rte_eth_null.c') +pmd_iova_as_va = true diff --git a/drivers/net/pcap/meson.build b/drivers/net/pcap/meson.build index ed7864eb9d..73c65dd2a6 100644 --- a/drivers/net/pcap/meson.build +++ b/drivers/net/pcap/meson.build @@ -15,3 +15,4 @@ ext_deps += pcap_dep if is_windows ext_deps += cc.find_library('iphlpapi', required: true) endif +pmd_iova_as_va = true diff --git a/drivers/net/ring/meson.build b/drivers/net/ring/meson.build index 0156b37aad..45fa3492cf 100644 --- a/drivers/net/ring/meson.build +++ b/drivers/net/ring/meson.build @@ -9,3 +9,4 @@ endif sources = files('rte_eth_ring.c') headers = files('rte_eth_ring.h') +pmd_iova_as_va = true diff --git a/drivers/net/tap/meson.build b/drivers/net/tap/meson.build index c09713a67b..da23599830 100644 --- a/drivers/net/tap/meson.build +++ b/drivers/net/tap/meson.build @@ -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_iova_as_va = true diff --git a/drivers/raw/skeleton/meson.build b/drivers/raw/skeleton/meson.build index 950a33cc20..439ab8792d 100644 --- a/drivers/raw/skeleton/meson.build +++ b/drivers/raw/skeleton/meson.build @@ -6,3 +6,4 @@ sources = files( 'skeleton_rawdev.c', 'skeleton_rawdev_test.c', ) +pmd_iova_as_va = true -- 2.25.1