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 42A40A0548; Fri, 24 Sep 2021 17:58:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E085941349; Fri, 24 Sep 2021 17:58:32 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id A297141339 for ; Fri, 24 Sep 2021 17:58:31 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10116"; a="220902045" X-IronPort-AV: E=Sophos;i="5.85,320,1624345200"; d="scan'208";a="220902045" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Sep 2021 08:58:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,320,1624345200"; d="scan'208";a="519379221" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga001.jf.intel.com with ESMTP; 24 Sep 2021 08:58:21 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 24 Sep 2021 08:58:20 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 24 Sep 2021 08:58:20 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.48) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 24 Sep 2021 08:58:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fKi1UWd6pjm5UDdjtjGJK6I5fD+krO54/Yyin9FmshSjdWf+FIvR2U7L5bqxPoiV+MtAZGOy0vJwvGTxg4TkCrvTcAvwewT8Rubk1gdlTZYu9v5qWVmT580+3Ju5oFJbjPaEkAIV3OZ5MM8G0PxOVpRWdBJWKv4ua/SuFY3mGSiDSm6WSEye3YxJaIkh+t7NuwXYe7fjnH8X3UaVoosafeklEqs/0uGwB75hagaEvHX7sOfvFKRyaAgqzeJ9iQg0bK01jXsDhPGwZk2eRXdblWWH2j/h/u/yKI2ITla+Ec9jE6CsnWH9s2OP6uKq1Qb09t8cOf26kjiNbNvzo/VlTA== 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=+v8zOgvXEiVC7SNf1UWbEUo/XqM5oxgYXLWMVVkqFB0=; b=jvpSWxgnIHLAxvuv1vZLTDf2RH45WtbiLkEwRmGRlmTOOFPmO31+A69a5qi85Y/KO8vW3wkuYGS+FGC/fE58X+UwGtOmBKFyKGs6gBdaScjUAQkCpZvGmLdJrMlt/Ag/+calTGwhSmIiWpEpL+QD+BJJLzBAjQ+k4V2CS50EzTyBh1JgevtYoEF5LFB95f0VcO5vYBeEe0ihSxRNI/2SIkEcRgBFZT28iDxzWkaPHwXpH1Zey4AMKT1v079zvUDaxJm5/0olVnT20SExSZmuC3yLAHTNl9MDiX2qQqmViRcn4bAyTc0IH0JuptUxC6y7DPMVq6yvul2O4mHRhwHaew== 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=+v8zOgvXEiVC7SNf1UWbEUo/XqM5oxgYXLWMVVkqFB0=; b=loM6BrXNW8XgFCLzqiebHCYAMeYpKIUETo2Z5SxtcePUuVrnV4deMwMREKucl2opIbQUr4qq3UXpOJrLRZ8k6TQhu54tPLZyMN1vH1WLJQ+gPr2AlXPqqGjyAff9tgPzipsxdbvUauZ5tpc7RE3aAM7s9vI5WTJLIfYNTxpS814= Authentication-Results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=intel.com; Received: from SJ0PR11MB5055.namprd11.prod.outlook.com (2603:10b6:a03:2d9::10) by BY5PR11MB3862.namprd11.prod.outlook.com (2603:10b6:a03:182::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.18; Fri, 24 Sep 2021 15:58:19 +0000 Received: from SJ0PR11MB5055.namprd11.prod.outlook.com ([fe80::78d4:6f82:aa87:c271]) by SJ0PR11MB5055.namprd11.prod.outlook.com ([fe80::78d4:6f82:aa87:c271%7]) with mapi id 15.20.4523.018; Fri, 24 Sep 2021 15:58:19 +0000 To: Bruce Richardson , CC: , , References: <20210924102942.2878051-1-bruce.richardson@intel.com> <20210924103113.2878126-1-bruce.richardson@intel.com> From: Kevin Laatz Message-ID: Date: Fri, 24 Sep 2021 16:58:12 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: <20210924103113.2878126-1-bruce.richardson@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-ClientProxiedBy: DU2PR04CA0329.eurprd04.prod.outlook.com (2603:10a6:10:2b5::34) To SJ0PR11MB5055.namprd11.prod.outlook.com (2603:10b6:a03:2d9::10) MIME-Version: 1.0 Received: from [192.168.1.15] (109.78.133.43) by DU2PR04CA0329.eurprd04.prod.outlook.com (2603:10a6:10:2b5::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.15 via Frontend Transport; Fri, 24 Sep 2021 15:58:18 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 649d43c6-b681-4b4e-f5bd-08d97f742109 X-MS-TrafficTypeDiagnostic: BY5PR11MB3862: 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:6430; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Fj0oNGaRKgtVTiXCwZh4+MJ80tgPVSpYG9CllX41xkcksCFCyBMNWrJNnWIk21JQijp5neTv3zFAYAv9g4chNRgjbTVuSKcloOr9dgklkhj8bcQr+YF+3qnH6S3Rn6NgSHAvOeLI0QIx6VN0nCvaM+XM2uFIh1MzoTn8NiWxxtqTet+4SLNBWiylwc6Z34bU/plEIp66liBFlZYrLSe4X/+LVtwBM1qzOW5UT7nK6SNjhN8ffsi7ULb3+b0ebI8dp4aLJJdoDerpXGPd4Go5S6mTtCZCWE2KKVMQ93aVYSrEta/wc7RXeXJcoyzPOz1AE7hrrwBu3XKujxxop9WHBHqOpYtSwA7nrsvDF6IieDqBYbURARyfPOaZmZmobJH5/jhDuaG33ly3ISfoNiImZ1dpKHpeB0/z4Oy6HZiD9DzJNOY/G4LgcFbTzsqQnSKRg4+PlkccXMLVysX83crpqmnnb2WiTLH4ve88V+N6EZXj/i6gG94TLCcrn8rj0rVeYsJmzfFr/UnOESeexenQ6VLJ9j1Jmx9PnYZXEqnW59ULSeEX47JGxXzkE0zmiQDeMQfYpZN4NH1sTmARdhRcK4niC1T/T/1Zg11MINqs15rOjrfYqHUF1yRm/M/0Ror/OBc9k8NAPH73QBU7NHC/7+JDYh54cHQvzI2W/B8/AIXaf3Is8Rqr8U6OHafrPphqK/FkSV4U8fYDH2WHUJ8HPwxxgX6unXvchNTWm/9VleY= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5055.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(6486002)(53546011)(44832011)(508600001)(6666004)(31686004)(66946007)(26005)(66476007)(66556008)(8676002)(36756003)(186003)(31696002)(8936002)(956004)(4326008)(2616005)(316002)(16576012)(2906002)(38100700002)(5660300002)(86362001)(4744005)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aU1kV3NhSXJMZm9vRHhnVEdxcmFSTDNyTzY4cUF0VU9ySWd3eEV6UUNia2Zr?= =?utf-8?B?T1l2N3g4RElEbXRvZkJYV3prVHV2OWFGbWlza01qMHN3MXhoTEwzV0ZwMDNu?= =?utf-8?B?SkxMQXlzamp2aEl2eUFvWlQzeW04bzkzTkRkeFNyT056SE5jLzV2enNSRFJF?= =?utf-8?B?Wm03M1dBV1c2dHg2cWZuWlJEakVLWHc4T2liM3BzSS9oeGtGdnhJaEpUQ09j?= =?utf-8?B?VlNCWUVPRzFXeFlYSFVHMVVKcXF6ekZYZll0NUV3NzZLK09VS1pjcnAxTE9a?= =?utf-8?B?WXVKOEV3WU5OMXJsblEwbDNtcWF2aVhNOGxiOXBmS2F3aU91RE5GZHhJUlcv?= =?utf-8?B?bkM0bnMwZEsyU3B1OWNNd0c2d1FUVi9qak9xV0JtWU1iZEp6Nk5Sem1MOXEr?= =?utf-8?B?YWxXOE52Tlo0MUJ5Umh0NW4yQjdyMTZJR3VqOVNLK1FReXRDbjFRUFpxa2Qx?= =?utf-8?B?eC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Hky?= =?utf-8?B?WjhWblQ5aWxLTlRpaXpuQ1czblhtcEJZWVJ4WlpTTzJlWU0reTdvRk5CRFg5?= =?utf-8?B?RmZEN0dDWVFZK3FxZkxwbGxTSHVva2pZK1kva3VFNVErcHRmL1E2a1A4NHhP?= =?utf-8?B?clVLOThubnFxUjl0aG1wTEovMm9IZWpidXdISWdiMVJIODdRem5wZ0ZCN1h5?= =?utf-8?B?d1hkYWYrTkFDbUtlNlA3WDdsWUdaaTJJZ2RPTFZPeEpZTjZnRkVEUmw5SUhi?= =?utf-8?B?T3EzUC83MFh4ODRCT29TRWpFR2NKZlgxQnV2dkZDMUUrYkRDU2M2Rml6ZjY1?= =?utf-8?B?VzRYemViVXdNTHhuTFNLSEQzRDZ5OFo0aDdwRDUxUmtCeTlwY1I2TUpwaXJD?= =?utf-8?Q?5zBaaRfXfo2oAfQRvpGItLis4u4D7eNWUjYNaNC?= X-MS-Exchange-CrossTenant-Network-Message-Id: 649d43c6-b681-4b4e-f5bd-08d97f742109 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5055.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Sep 2021 15:58:19.8493 (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: IDo3Hf0Itsv73RkHy1hR8Jlj+7CDBLC/oL0Pyyn2LyJKvZ/AaM77J2WFnEeKfEdyYKoR5WKCK8o6sApHLfcEyA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB3862 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v6 10/13] dmadev: add flag for error handling support 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" On 24/09/2021 11:31, Bruce Richardson wrote: > Due to HW or driver limiations, not all dmadevs may support full error > handling e.g. safely managing and reporting an invalid address to a copy > operation. The skeleton dmadev, for example, being pure software will > always seg-fault if passed an invalid address. To indicate the > availability of safe error handling by a device, we add a capability > flag for it. > > Signed-off-by: Bruce Richardson > --- > lib/dmadev/rte_dmadev.c | 1 + > lib/dmadev/rte_dmadev.h | 9 +++++++++ > 2 files changed, 10 insertions(+) Reviewed-by: Kevin Laatz