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 E3A1DA0548; Mon, 20 Sep 2021 13:25:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D2628410EC; Mon, 20 Sep 2021 13:25:41 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id A3D3A40DF5 for ; Mon, 20 Sep 2021 13:25:39 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10112"; a="222758780" X-IronPort-AV: E=Sophos;i="5.85,308,1624345200"; d="scan'208";a="222758780" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Sep 2021 04:25:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,308,1624345200"; d="scan'208";a="702444063" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga005.fm.intel.com with ESMTP; 20 Sep 2021 04:25:38 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 20 Sep 2021 04:25:37 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 20 Sep 2021 04:25:36 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 20 Sep 2021 04:25:36 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.41) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 20 Sep 2021 04:25:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d13AmE9/V8yUgyNlAXt6VC6DHgPjxANLljTuiHd5RiVKqB/4F3Fbpd/42sNgBByiLtxzE4UUh2y1ifZfb9sNvU0TWHw989dvp722HmtIWFQGKpzvayPrC9y4ryFkWmtsdGyJuQE1bjeACctO2ZeRrUesiwHitW8zeC2yRp8gF+qx/OP01C1xjY2WBNBG808TZgpz3lIIzSEBru5gViJ6eBUJd80Sq3x8madyresPdYSxe3GKNycWGM83IjDVQAr8fJuIYQO+Nl0YnMzg6FnUMROIIBx4AKqheOXlKmjrgyfJKU6NVykoHv7+lVkwTSofSMIR3gx0GbFTuulFt42Jtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yB2SfT3xZBPBmBHe1r74UaDxqMgu9DEsCoAxfsGx5JU=; b=JfC/GjwKVzPznCbBk9AYNsfbI6FHPZysAXb0gEnAt1ntTZEhgRCvGWy+IBcHP7wabbiie6TPL94NsYa6A/P8FLwXZdfFLzS2S350pggASDHipswQsg16dF9WagCKb0G0QSYk1OOvyFgGNKEzLCt7746M2KmQCBrXz1JsqTLg1ictCPQ7MO24dMJO85AhJQo5E54uISFbBn2SRsKgtrppRjuRS3mcOG+ZGaIMvhDzaRfPy7TfYy4VydtvsDPNOcZq/2514ZTfY4/6tpUBMZB49RQnrkWKKL7vSx14i8NnOXJhloirTrm59+JzOiHksvMiLHJ3EOIfIuXRQl8OIlWBBg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yB2SfT3xZBPBmBHe1r74UaDxqMgu9DEsCoAxfsGx5JU=; b=IX2bEeb9PnO1t3N7Z2p4ME3sJywcXHD2UBldoQLc1TJ67hDLlJBl4s/XtImDUSCRUliWZuj2c/e7LziZZyBWs7YklRbZDflN3qmsXd0Qc8sCg/pFiKOqiA+96IKn7Wuak89xdXPWujaHavUgKx1AiqHo0xeowp4WEZMY0jX8ZVc= Authentication-Results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5207.namprd11.prod.outlook.com (2603:10b6:510:32::15) by PH0PR11MB4855.namprd11.prod.outlook.com (2603:10b6:510:41::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.16; Mon, 20 Sep 2021 11:25:34 +0000 Received: from PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::9578:a4b5:2716:fbaa]) by PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::9578:a4b5:2716:fbaa%6]) with mapi id 15.20.4523.018; Mon, 20 Sep 2021 11:25:34 +0000 To: Kevin Laatz , CC: , References: <20210910172737.2561156-1-kevin.laatz@intel.com> <20210917164136.3499904-1-kevin.laatz@intel.com> <20210917164136.3499904-7-kevin.laatz@intel.com> From: Conor Walsh Message-ID: <1ab46179-a86f-a76d-8f53-c8a2e450a94f@intel.com> Date: Mon, 20 Sep 2021 12:25:29 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: <20210917164136.3499904-7-kevin.laatz@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-ClientProxiedBy: DB9PR01CA0003.eurprd01.prod.exchangelabs.com (2603:10a6:10:1d8::8) To PH0PR11MB5207.namprd11.prod.outlook.com (2603:10b6:510:32::15) MIME-Version: 1.0 Received: from [192.168.1.20] (109.76.159.128) by DB9PR01CA0003.eurprd01.prod.exchangelabs.com (2603:10a6:10:1d8::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.16 via Frontend Transport; Mon, 20 Sep 2021 11:25:33 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7639a57d-fabc-454b-7e72-08d97c295cdc X-MS-TrafficTypeDiagnostic: PH0PR11MB4855: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5/mx7OV6LRV1vGauvi1KgayH2c/xVDB3pVMCiRTPNG3Cvsazm3q5VRSEv6dZBsij3kRx2sDRKbtH5Yt9+BlyXEcOsSjU+JBmIbDAyoHtFVwRnC8tfUAKFHOssPItKoATDtc7451G+gLH5flIULZgR95ewcFNrdh+Hj9+FHFVppFnB0B2SGTWW0HHwtCg7cQNGFrjGNk44x/LrwNmHmyel8iKedC3v2SL2WsM4ZZl6zwZQfa3iy5cWVeRYPNQEn04pJtUAGTZjAyLgu/nzqpS7tt4fH1V60W5Ok6LM93msrFhhWA3YmogNLnk3o5gpJ0jNVN2IcUVHeyVX5gCFBZHIzkzk5X3Jc9qg0UarXpsRXfMlVme0ZCWHztiAd4D3gb5Lcub5PfhwQ/Jb9PhSVFTm8AfiSZCAvUwJVZl6Odp3XZ8UJ4jlytUQmnlnhY/CzT8LNSnxDJNr0mXTpoaWO6YX2kpTEbVjKLDEIwQ44mTFO1jmeq01r95qPKrPVsM31BCH5m96iK40XyAR1zwTbSoWqIa74lF2mHTAOwbUdDojj26kzqATjrDYG1/WnZ0dS2fhlf7h+3xAKTFokPn+K/pLeAHIwH4GLdc3duJdfJk96dtKfUV9w3SDAu4bfDFEkqHByCERuzGFwskpQr86W++eGyOa9iDBqmnFYGXxRIw72jNEfAH4etZ1AVgJeuScHAg9jT+pfxfDgEvc1+j/nA8tg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5207.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(346002)(376002)(136003)(396003)(39860400002)(4326008)(478600001)(66556008)(186003)(26005)(8936002)(6666004)(5660300002)(16576012)(31696002)(44832011)(86362001)(316002)(956004)(2616005)(2906002)(36756003)(31686004)(38100700002)(8676002)(6486002)(66946007)(83380400001)(66476007)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QXNOYkNLVFVIbDU1eDFaK0d6elhWRU4wR0FTTHRMQ2FROTd1eERzeDNvVlBp?= =?utf-8?B?U3lKUWxqMi9jTXJHbDIvb3hwS3lRd3dicVZPM0w2RVNMc0FZRGdGUmFsb09m?= =?utf-8?B?RFMrTWNJWmtEaVM1VG1xNnhvMWtLVExPM05kMzZaMU9VNmUyVnAwOGVadWRn?= =?utf-8?B?UkEzYitoVXFpMUVDaXViWC9XVmlQOC9UVTVJQnBqZnM1azlUTFpUTFNPdlhU?= =?utf-8?B?M2lJK3NndzB4dzFJNlZTSVZBZHdBdGNPVWswYWU3UC85VVJlMEJTMTA2ZmVU?= =?utf-8?B?TEcrTHNvTklhTTdablJqc1VQS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QlhFUC9Mcmh2aS96dk1DV1lYWEpkM0RnVlg4d3ArOU1Td3V1aHZa?= =?utf-8?B?WjFTTDlKREpXZmFlelNQQ3RyVU04VnJBNFZEeHZlSkhtM1lTd2hDaVNoTXFr?= =?utf-8?B?ZE5JWEdYdmY1TnlLWVVua3RPeEFOR1dmQmZIS0t5dGFqMTZyczBNTjlXdlZB?= =?utf-8?B?K3padVNzWGQ0UWJMSUdNemZmbXJObm41ejZleHgrOWxXQWN1eVQ2ejV4Q1Vk?= =?utf-8?B?c2J6TGU2OUtTaC85RjZVOFZmU0laNHo0ZzhVRUhubEpoVlFDWDVNRWpUcmJk?= =?utf-8?B?V3pIc2pyNmlDUkFSYTE1OHJVSjR2dU04WkhCdTUwbTZiekFVUFpWbEFQb0g3?= =?utf-8?B?YmZucm0rZ0NCKzE2YzlleWVUdE1BSDNQd0ZNN0xDV2JNNUdsYjB2Ti93TlhQ?= =?utf-8?B?dFZEbDBaemVCYUpDQlJOb2VCenJBbmF3dDcwZ3hkbjVsaXRpenREaXlrZDdn?= =?utf-8?B?MW9XSk9ON093cWJiY1lVb1RYRE9wU29GUkdsWkVpYjZZVzhvSVdnY2QwYzZG?= =?utf-8?Q?p5pMkJbh36//L9+6JxyoNFgZ6Y1bZFvV/2ZoDBd?= X-MS-Exchange-CrossTenant-Network-Message-Id: 7639a57d-fabc-454b-7e72-08d97c295cdc X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5207.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2021 11:25:34.4347 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9fYPlYMXlLSHLLdipJkxrMZNZPv4yAXPKekB+9NzY5NLKD7teqyICyILWfXcV6ul/H+sElfrJ3TU+s2/PcxChg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4855 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 6/6] examples/ioat: rename application to dmafwd 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 Sender: "dev" > Since the APIs have been updated from rawdev to dmadev, the application > should also be renamed to match. This patch also includes the documentation > updates for the renaming. > > Signed-off-by: Kevin Laatz > --- > -The initialization of hardware device is done by ``rte_rawdev_configure()`` > -function using ``rte_rawdev_info`` struct. After configuration the device is > -started using ``rte_rawdev_start()`` function. Each of the above operations > -is done in ``configure_rawdev_queue()``. > +The initialization of hardware device is done by ``rte_dmadev_configure()`` and > +``rte_dmadev_vchan_setup()`` functions using the ``rte_dmadev_conf`` and > +``rte_dmadev_vchan_conf`` structs. After configuration the device is started > +using ``rte_dmadev_start()`` function. Each of the above operations is done in > +``configure_dmadev_queue()``. These function names need to be updated for dmadev v22. > The packets are received in burst mode using ``rte_eth_rx_burst()`` > function. When using hardware copy mode the packets are enqueued in > -copying device's buffer using ``ioat_enqueue_packets()`` which calls > -``rte_ioat_enqueue_copy()``. When all received packets are in the > -buffer the copy operations are started by calling ``rte_ioat_perform_ops()``. > -Function ``rte_ioat_enqueue_copy()`` operates on physical address of > +copying device's buffer using ``dma_enqueue_packets()`` which calls > +``rte_dmadev_copy()``. When all received packets are in the > +buffer the copy operations are started by calling ``rte_dmadev_submit()``. > +Function ``rte_dmadev_copy()`` operates on physical address of > the packet. Structure ``rte_mbuf`` contains only physical address to > start of the data buffer (``buf_iova``). Thus the address is adjusted > by ``addr_offset`` value in order to get the address of ``rearm_data`` These function names need to be updated for dmadev v22. Reviewed-by: Conor Walsh