From patchwork Wed Aug 17 09:59:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Elo, Matias \(Nokia - FI/Espoo\)" X-Patchwork-Id: 74053 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp2424252qga; Wed, 17 Aug 2016 03:00:58 -0700 (PDT) X-Received: by 10.55.5.5 with SMTP id 5mr42168553qkf.24.1471428058618; Wed, 17 Aug 2016 03:00:58 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id m22si20557557qtc.21.2016.08.17.03.00.58; Wed, 17 Aug 2016 03:00:58 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE dis=NONE) header.from=nokia.com Received: by lists.linaro.org (Postfix, from userid 109) id 37E6160BD9; Wed, 17 Aug 2016 10:00:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 5013A60C3A; Wed, 17 Aug 2016 10:00:20 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 57FB860BD9; Wed, 17 Aug 2016 10:00:12 +0000 (UTC) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0111.outbound.protection.outlook.com [104.47.1.111]) by lists.linaro.org (Postfix) with ESMTPS id F27F460AEF for ; Wed, 17 Aug 2016 10:00:04 +0000 (UTC) Received: from VI1PR07CA0054.eurprd07.prod.outlook.com (10.164.94.150) by DB5PR07MB1158.eurprd07.prod.outlook.com (10.169.32.16) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.21; Wed, 17 Aug 2016 10:00:03 +0000 Received: from DB3FFO11FD045.protection.gbl (2a01:111:f400:7e04::130) by VI1PR07CA0054.outlook.office365.com (2a01:111:e400:5967::22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.21 via Frontend Transport; Wed, 17 Aug 2016 10:00:01 +0000 Received-SPF: Pass (protection.outlook.com: domain of nokia.com designates 131.228.2.240 as permitted sender) receiver=protection.outlook.com; client-ip=131.228.2.240; helo=fihe3nok0734.emea.nsn-net.net; Received: from fihe3nok0734.emea.nsn-net.net (131.228.2.240) by DB3FFO11FD045.mail.protection.outlook.com (10.47.217.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.567.7 via Frontend Transport; Wed, 17 Aug 2016 10:00:01 +0000 Received: from fihe3nok0734.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id u7H9xLZ2019011 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 Aug 2016 12:59:21 +0300 Received: from 10.144.19.15 ([10.144.104.92]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id u7H9xLEC019008 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT); Wed, 17 Aug 2016 12:59:21 +0300 X-HPESVCS-Source-Ip: 10.144.104.92 From: Matias Elo To: Date: Wed, 17 Aug 2016 12:59:20 +0300 Message-ID: <1471427961-17187-1-git-send-email-matias.elo@nokia.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.240; IPV:NLI; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(7916002)(2980300002)(438002)(189002)(199003)(575784001)(68736007)(15395725005)(50226002)(8936002)(77096005)(16796002)(5003940100001)(11100500001)(15975445007)(2906002)(8676002)(81156014)(110136002)(81166006)(1720100001)(97736004)(626004)(356003)(4326007)(92566002)(305945005)(189998001)(7846002)(50466002)(47776003)(19580405001)(48376002)(19580395003)(229853001)(106466001)(2351001)(33646002)(586003)(19273905006)(36756003)(50986999)(87936001)(42882005)(563064011); DIR:OUT; SFP:1102; SCL:1; SRVR:DB5PR07MB1158; H:fihe3nok0734.emea.nsn-net.net; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD045; 1:pymIv/LTv7xJLuR8LYS8mbm2N4CdA58u2U90QjNGpqt82o+L9QuNiiShHHnGs7M1AvZhdbv+WIq5GcdSyjzzwfn1NVrmqJXdZ/HKMA1/D14mjMbcMAipS9Pp2pZARCpLeEz87UzR1hrMubRb1KL16JdPbwBp/iwA3abgfdG1RGk7zPHzq0zp75eF3UIcUDDy0VQlSVIiggf4/iikFDSwn7r92UVl5nj4uFdPTLWmzT1lh5wZnWoPtGIqETLCTIx7wxrxOzUE07eLR/An/xT7gGhRxYJjxchODdimsCPfC8Wg28Zsdb/jvjWIOS0RCNLKBn3xY4fp/yW4F90bQ4NWH96Y7zAJfqWzxoXNil35WNtBVNVLSQBGKrrqK7mrotGMWMWy0oQKwW6LUNg+KkZmgfXVAhL2MFUOdjhYYbx4gOMhnqOa8Lsh3N/LBwonUp6+NXof1Ujtd3sKC+h+iJTnaTMrwr3KRDOa4bPTLNV7vec= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: cf2d2b9e-3569-4586-012d-08d3c6854178 X-Microsoft-Exchange-Diagnostics: 1; DB5PR07MB1158; 2:hGEj+FDlbHShHQulQjlBF6+rXUgGk7qXSh+c8YL7EEW4YGtf1TDU6x+tvBwiXNJ80uPIQApM0pYK0MMipqaWiwT3kDrknta/7TQdgaZwBHyt+AvLOsheZpsusogK2Ol4ilnUz5vzrwgeezhI0bGXtGZfS7AxjkW5lqh9mg3Zbv6TmgK2wOYL5MqSIZTe22is; 3:elDdSavc2qEwK9xzTuf4i3rj7ekPwDiprXinCXMNbbnX2z5+ZkEZxjigsCQYHmtHsgcZuXujzlEkqGtEsY97KesTYRvfgREPMNTOSacQ+gydgIvJDrAs16ZPYeUOaIhPC0LiePVJjOuyVbEkfRTT/ziWJVp0B1tyV3TYRp8ug+B5Cr4Bwq6F4sO9ELmxSwH5OXVYmpMZAl4QjHsXkw+4GnWeeJrUSPZ4zeoiYo8mwnIzn6HS0kLo7LUy7HPzIg3FbWELlv4RQpMwOrHptipFcQ==; 25:bscjfHRKbUSX54vv1p5yTD8+F8QgAH8NhtnFfkoYR5yGwDHz94jCTxSHb2L4rO0Rzsej4hGXZ7W9ooswC3OUYsFZCYjRaiWM6XksZA9zqrhxAmsLmqJlUwDvaKj5zmFygY6enbR2+2iiaJm+5/Emyg873m8e8TektaMqwy74X1bTi9D3w6Pn8mhZTCM4eYp7zZP0UfhTglP/v8PGlvf8Gdvh7XiDqHJ/t5GyZdvb+rWBrF00N5bBUp3i0JHrOreBkLUaQWD6JOL6gAzxNhME5ErMdruCCOmUlKxo25WC9ZcNQAcXEkhuLqT4wSQeNR3YtOhNRrD5EOSRoVfbyGpIACLFBJdVUZkofio31n0BEkXEnbMc+s/pxdeK81IpYjaWwLYT5FFZ+TdEDDLqGRk5FnRWRs6/MAPOuGAejXxJaEo= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:DB5PR07MB1158; X-Microsoft-Exchange-Diagnostics: 1; DB5PR07MB1158; 31:5oK5lB/2ngZyAOtEc4P3pmJGa5Ro1M145lEyx1fpFe+ju4jetViEjqtuBug1vSCQjdZU6uAc9lxSDhzzJMCc44UCcLhsufawKe4Ml62vcsdMSjMfxdXxYFVplTvMZbVdJCyoQ5yO4hfh57nSxxRglZ2OBRSLNhpd3fP9OLHxWZbazvCJYEsxfDPYd4o3kb+eo3KhFpo+cD1+MmrYCXiZQQXufYVaxMwhnzkXmNlxubU=; 20:LFFyaCgQJHWs8RSlRA21elrb7kP0Qv7VMBpAjBE77srJCJxf/gI7TiIsimBZZ36ucRw4dBujOYLwL877JGyZYv5FXfyJ6X3glApEezkuuXTWp9ZyIUh64QZ2N+8Vf7WmyyW8sUtCXY0AvuXQjNEpguUDGDZVtgahQzjUdt3I/iG6RAukoc5DcQexSlN+9zSPrepzvMCZ+PfqqMvjhfL/NenEK8kt520x3u4vb9MOcySPV/c5horysWDwHToajaVHfW5GuFq/B6aZpufD25sdjiceMTEWH5f8QN/7ZfjQZJ6TuSLh0ae3d6OPankLCiiW19tZ+Y5psWyE28wepgTiDP2D4OXSWBfsNwz+oyaTssfyGtXS0YkKjkG7LY7jUd7hP7y1hUNq9O+d+9+275BcCKSlyoWWOIxFxcE+chvHhZl9W2UwzDX0X3Tyki//DCbzVrA06xX209yi6bCNe4O7dUn6lDdXTTCIoMrHjzWT7KUUucawKzSRNMM4vKXJlJK0+jtqIg5Nzw9IY5584QaGads2x5kvOwc4/AhiPLGnfx3xGfDueqTFp22DldAyQwijb0gtgDPMC/kbfI9rTe8zpvyRI+s8RMpK0REK/2TcfsQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(82608151540597); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13018025)(8121501046)(13016025)(5005006)(10201501046)(3002001)(6055026); SRVR:DB5PR07MB1158; BCL:0; PCL:0; RULEID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htAW0TgU9cAwbWOBc2Vm1bjBgUZCRr4PfnscTuPgCsfYR/ZKRJaKdcmlMxl/cCVMpmp74QN4I52JqmIgp9z5fnrbvgRiTdj/LMEwnRgATEycEDUA7O1+FHDhaYPGqrXlbMBrM8BEe788jgbQyZDTLIEghXVJEOHIATWaTJLNlQ0RjU3F6Ki7iFO9Z78/7QYhgZCq0Rcbp7Tp/kCv+tc+NVnSwoINq9jJhpVc7+pkO3Su44jNiUKRiAXBZu2ZFqHP3OWoTzNlAO9UJJMagnc2gwkjb7gQyvvIlX0PsAJ6YCyw+/tVzV3nGnkQTw==; 5:zLIJ4L5WXj/Po4FETPT9BXW1UNI5FnDb4uFj2AAF5LSuL+N2B3xKFDUGw4jOBCetNz2xsKWsFIUdpquKIPRh1Fg1b5t783zAmyNrkw2qGyPW7LURIoRc+1OESPxZMN3TjnG3uh2LadrI6I5Cmn8JFg==; 24:TJ4RcPJ2Q0ZFtt/r1jHsnlulJAq90F22P08aZI2RA0uZCbhDag27lG2/T8lkTjaEBGd10y/OSH3UZI1LQJragnCdLmeD2ix4LJFa4D+llPY=; 7:gs1cTEHrGmP/oUKsLlq4SekHc6wdsfvydvKh7AUENsdPVBCtQNrPzbunBihm0MRxqO7OjQF/fA6c/gwY9soy4uVgMOZUUG3dgnkbHCPV33zvjCloaXzM5V86yqMuUhJI1nC04HrsmYRXkF8tRRJiphxiPFOy2U4cNDv04nV+w+yVQY83jTCn4DfyO9O5gixVHYG4gKZL06XROMqgAQFFHUV6L8MGQgYrRrVeCeem8VNMIHtQt2XTxZYu3TkPW645 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Aug 2016 10:00:01.2125 (UTC) X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0; Ip=[131.228.2.240]; Helo=[fihe3nok0734.emea.nsn-net.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR07MB1158 X-Topics: patch Subject: [lng-odp] [PATCH 1/2] linux-gen: dpdk: bump target dpdk version to 16.07 X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Change target dpdk version to 16.07 and add init functions for the new drivers. Update dpdk build script. Signed-off-by: Matias Elo Signed-off-by: Zoltan Kiss --- DEPENDENCIES | 4 ++-- platform/linux-generic/pktio/dpdk.c | 38 ++++++++++++++++++++++++++++++++++++- scripts/build-pktio-dpdk | 3 +-- 3 files changed, 40 insertions(+), 5 deletions(-) -- 2.7.4 diff --git a/DEPENDENCIES b/DEPENDENCIES index a5266c9..f1f0edd 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -165,7 +165,7 @@ Prerequisites for building the OpenDataPlane (ODP) API 3.4.1 Building DPDK and ODP with DPDK pktio support - DPDK packet I/O has been tested to work with DPDK v16.04. + DPDK packet I/O has been tested to work with DPDK v16.07. Follow steps in ./scripts/build-pktio-dpdk @@ -179,7 +179,7 @@ Prerequisites for building the OpenDataPlane (ODP) API Reserve and mount hugepages and bind supported interfaces to DPDK modules following the DPDK documentation. ODP DPDK packet I/O has been tested with 512 x 2MB hugepages. All this can be done with the DPDK setup script - (/tools/setup.sh). + (/tools/dpdk-setup.sh). 3.4.3 Running ODP with DPDK pktio diff --git a/platform/linux-generic/pktio/dpdk.c b/platform/linux-generic/pktio/dpdk.c index 1fad8a9..bf8b499 100644 --- a/platform/linux-generic/pktio/dpdk.c +++ b/platform/linux-generic/pktio/dpdk.c @@ -36,12 +36,14 @@ extern void devinitfn_##drv(void) PMD_EXT(aesni_gcm_pmd_drv); PMD_EXT(cryptodev_aesni_mb_pmd_drv); +PMD_EXT(cryptodev_kasumi_pmd_drv); PMD_EXT(cryptodev_null_pmd_drv); PMD_EXT(cryptodev_snow3g_pmd_drv); PMD_EXT(pmd_qat_drv); PMD_EXT(pmd_af_packet_drv); PMD_EXT(rte_bnx2x_driver); PMD_EXT(rte_bnx2xvf_driver); +PMD_EXT(bnxt_pmd_drv); PMD_EXT(bond_drv); PMD_EXT(rte_cxgbe_driver); PMD_EXT(em_pmd_drv); @@ -61,17 +63,30 @@ PMD_EXT(pmd_mpipe_gbe_drv); PMD_EXT(rte_nfp_net_driver); PMD_EXT(pmd_null_drv); PMD_EXT(pmd_pcap_drv); +PMD_EXT(rte_qede_driver); +PMD_EXT(rte_qedevf_driver); PMD_EXT(pmd_ring_drv); PMD_EXT(pmd_szedata2_drv); +PMD_EXT(rte_nicvf_driver); PMD_EXT(pmd_vhost_drv); PMD_EXT(rte_virtio_driver); +PMD_EXT(virtio_user_driver); PMD_EXT(rte_vmxnet3_driver); PMD_EXT(pmd_xenvirt_drv); +#define MEMPOOL_OPS(hdl) \ +extern void mp_hdlr_init_##hdl(void) + +MEMPOOL_OPS(ops_mp_mc); +MEMPOOL_OPS(ops_sp_sc); +MEMPOOL_OPS(ops_mp_sc); +MEMPOOL_OPS(ops_sp_mc); +MEMPOOL_OPS(ops_stack); + /* * This function is not called from anywhere, it's only purpose is to make sure * that if ODP and DPDK are statically linked to an application, the GCC - * constuctors of the PMDs are linked as well. Otherwise the linker would omit + * constructors of the PMDs are linked as well. Otherwise the linker would omit * them. It's not an issue with dynamic linking. */ void refer_constructors(void); void refer_constructors(void) @@ -82,6 +97,9 @@ void refer_constructors(void) #ifdef RTE_LIBRTE_PMD_AESNI_MB devinitfn_cryptodev_aesni_mb_pmd_drv(); #endif +#ifdef RTE_LIBRTE_PMD_KASUMI + devinitfn_cryptodev_kasumi_pmd_drv(); +#endif #ifdef RTE_LIBRTE_PMD_NULL_CRYPTO devinitfn_cryptodev_null_pmd_drv(); #endif @@ -98,6 +116,9 @@ void refer_constructors(void) devinitfn_rte_bnx2x_driver(); devinitfn_rte_bnx2xvf_driver(); #endif +#ifdef RTE_LIBRTE_BNXT_PMD + devinitfn_bnxt_pmd_drv(); +#endif #ifdef RTE_LIBRTE_PMD_BOND devinitfn_bond_drv(); #endif @@ -147,24 +168,39 @@ void refer_constructors(void) #ifdef RTE_LIBRTE_PMD_PCAP devinitfn_pmd_pcap_drv(); #endif +#ifdef RTE_LIBRTE_QEDE_PMD + devinitfn_rte_qede_driver(); + devinitfn_rte_qedevf_driver(); +#endif #ifdef RTE_LIBRTE_PMD_RING devinitfn_pmd_ring_drv(); #endif #ifdef RTE_LIBRTE_PMD_SZEDATA2 devinitfn_pmd_szedata2_drv(); #endif +#ifdef RTE_LIBRTE_THUNDERX_NICVF_PMD + devinitfn_rte_nicvf_driver(); +#endif #ifdef RTE_LIBRTE_PMD_VHOST devinitfn_pmd_vhost_drv(); #endif #ifdef RTE_LIBRTE_VIRTIO_PMD devinitfn_rte_virtio_driver(); #endif +#ifdef RTE_VIRTIO_USER + devinitfn_rte_virtio_driver(); +#endif #ifdef RTE_LIBRTE_VMXNET3_PMD devinitfn_rte_vmxnet3_driver(); #endif #ifdef RTE_LIBRTE_PMD_XENVIRT devinitfn_pmd_xenvirt_drv(); #endif + mp_hdlr_init_ops_mp_mc(); + mp_hdlr_init_ops_sp_sc(); + mp_hdlr_init_ops_mp_sc(); + mp_hdlr_init_ops_sp_mc(); + mp_hdlr_init_ops_stack(); } /* Test if s has only digits or not. Dpdk pktio uses only digits.*/ diff --git a/scripts/build-pktio-dpdk b/scripts/build-pktio-dpdk index 53f703a..280f518 100755 --- a/scripts/build-pktio-dpdk +++ b/scripts/build-pktio-dpdk @@ -12,12 +12,11 @@ fi git clone http://dpdk.org/git/dpdk dpdk pushd dpdk -git checkout -b bv16.04 v16.04 +git checkout -b bv16.07 v16.07 #Make and edit DPDK configuration make config T=${TARGET} O=${TARGET} pushd ${TARGET} -sed -ri 's,(CONFIG_RTE_BUILD_COMBINE_LIBS=).*,\1y,' .config #To use I/O without DPDK supported NIC's enable pcap pmd: sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config popd