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 D2650A0548; Fri, 24 Sep 2021 16:52:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BE1E5412F8; Fri, 24 Sep 2021 16:52:33 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id CCC3E40041 for ; Fri, 24 Sep 2021 16:52:31 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10116"; a="309643132" X-IronPort-AV: E=Sophos;i="5.85,320,1624345200"; d="scan'208";a="309643132" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Sep 2021 07:52:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,320,1624345200"; d="scan'208";a="654043525" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga005.jf.intel.com with ESMTP; 24 Sep 2021 07:52:30 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) 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 07:52:30 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX612.amr.corp.intel.com (10.22.229.25) 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 07:52:29 -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 07:52:29 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) 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 07:52:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mtLJ85i6S626ytk4l1GURXk71QDuipzlYdaOkQKjMAfnRT8DyjsDiG1yZAVDeL6p+TXLRYfnCUjAuVtpazKdphMrwTPoVuWE0vemaOfQ9RPsoeHb3YZ6yZXIoHsh4dcxeD+85Xp9YYKP9kdgN/dvGP0AtecUeaBzS1wJjTIPwZi7DkQsVtj3c1vQS430AbXgDU6GY74z9UXC8bz1HPNFokeO5WAEpSVhCQbEurFIi8uqVBpCRiU40vSAz89rc93Xt4AuElUbFSSrd1qcZgDC463upVZ3/tS1cUpoAntd6JGDxAWZHLvJUH+FNcf0QQ19z4I2ma7ydcVflITvyqlUIw== 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=8NTwO8teyjk74m1HLTIc7T8pKhgHLlrl8Ta036Lcjjw=; b=jGr3IphTmYHD3btaQqr4BdfbynHhV1O0QyCicRPy7HbJYehmWcDRaDq3ueaCZ9id9E42+LOTaYfSQU756KeXREdFIcvIFjbaj6HNZ+r1sLx1I9p/D/QCFz99OfAyWN7LSSk/VD1xmcyNi0xFSVktqBNwIt4O8xewubqv/e29tgFKuDAh3J30hTgysYwW3f/yI1G2pO+hI1VTaOxPvWdqJ+2ds+euNea/1yYkKNQWNMttm+wc8TSuv9w6jD0WoPc76wKpa153sEKMjdlhqgc+4Lwu1QrKjyc2cQ4wzGxLi/G/QdExLxBnaK68OvrfkRnVLuo+KLkdW/QLY5h+TXRkcg== 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=8NTwO8teyjk74m1HLTIc7T8pKhgHLlrl8Ta036Lcjjw=; b=zKBE1IPHByt53o7yN6qifT+/mNlPozUFeEW0lYpNizbVGIj/MUKfsVwo88vx/1RXtsGpwCnKaqtaRNDuV4KUq/6TbMdQzMrRu3G1S13Ni59OgDw1k61pP+rjxCy7kWSHIbzKjYHzn9gGr6J/JCUfzmpDSaCa9/YJomsr8DFcSLg= Authentication-Results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5207.namprd11.prod.outlook.com (2603:10b6:510:32::15) by PH0PR11MB4919.namprd11.prod.outlook.com (2603:10b6:510:34::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Fri, 24 Sep 2021 14:52:26 +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.4544.018; Fri, 24 Sep 2021 14:52:26 +0000 To: Bruce Richardson , CC: , , References: <20210924102942.2878051-1-bruce.richardson@intel.com> <20210924103113.2878126-1-bruce.richardson@intel.com> From: Conor Walsh Message-ID: <5ffcf716-dad3-0308-46b1-2c245758a5e0@intel.com> Date: Fri, 24 Sep 2021 15:52:21 +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-US X-ClientProxiedBy: DB8PR04CA0026.eurprd04.prod.outlook.com (2603:10a6:10:110::36) To PH0PR11MB5207.namprd11.prod.outlook.com (2603:10b6:510:32::15) MIME-Version: 1.0 Received: from [192.168.1.20] (64.43.0.18) by DB8PR04CA0026.eurprd04.prod.outlook.com (2603:10a6:10:110::36) 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 14:52:25 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 93d5766b-d74d-4cba-c833-08d97f6aeca1 X-MS-TrafficTypeDiagnostic: PH0PR11MB4919: 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: hvO2AFMwj9wyS3gTLTSxK5x69NzAq4IfForMpNhkhYhu4UrtjUEpj5X8BHnd/+lPMluYsToA6K1O035cJiZTwRcahvDbDpF40suQnYLg1avjBC6Ct64xBYPGHizZNwxRQh7LT2Moh5Wu6sfAtMd85vLmwqbUAc2xhI9HQ/mzzCUfaaE7AKfEbqhckv+0AD/V+WjUShiy+VOCN6dJumKqBpxqQO1aLsKJxsED5F58Jx0fpUwCFDuyTK5cFjgq3/iboUgyoCobc2CWn4DohJAbFoYdyQ7EyxDsbtTKXEjTbdH8nRRGLKQ0hsRVrfXoW/A+Ctxp5GfapjV/XRGZlO76lpXrmfgnPwTwGL0GaOvTJ9tB/ioDU0s34NfqQiWWC9rD//0z/LAIN/rUY1Ze8XOHP65RP8gFPIQjh2/+4yWR3s4yAq/u/pvNT/5FGh1+9TMPy3X2ovCmOf3IQa7dphxOmsDqqLcPWYor8TyGHqxbyHwT628pmCejktQPE41Dc3+7liae7V9UjN+vmLLtMsVK1XlG0KRcEw9FgS223SIalzjM5kzeggI6ww7JxbKhUA+BYA6mWAT5w7b1vTS9xfDuHvgx3Gox5oafCT03FENtAPjxfi4+y8aStb/c1lnbCXfY+ztL/iBUsIbDHtqU2fdOJp+pfNTgkXJ4g1xy3HNGIR/s32hNBc1YKmO0FIKSSGYWCZzw9bkdUJVkYvQfkwimHayc40uqSnVL18nCLp3XLww= 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)(31686004)(956004)(36756003)(2906002)(508600001)(5660300002)(26005)(4326008)(8676002)(8936002)(186003)(53546011)(16576012)(66946007)(316002)(66556008)(38100700002)(66476007)(44832011)(4744005)(86362001)(31696002)(6666004)(2616005)(6486002)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OVB1djk0L0xsdm1GREdUbDcxeFlwZDlmeVVqVG4wQ29pNWFFN3hZSW5CaGZF?= =?utf-8?B?TGx1VzBaTWlDd1hCbzUrSFgxRTNxUHVSakpqZEpVMURFZVR4N1V4UEtvUnNL?= =?utf-8?B?Wk94RFBEanBVdmcyWTEvai84UVVaWFlBRVZ6ZzR4aTRHRHppN2Vnb3k4Rk9Q?= =?utf-8?B?ZXBRSnoyRU9Xb2w4Z3AwVUFjbkdUaXFmTFdOd0lJUVZwc25CRnFtM0pkc1Fp?= =?utf-8?B?VFJXNlcvMHVtWnhqZXg0dGRIRFBlaXJmMWROd0NWUWxFdy9vVC9GL0Q3d1FM?= =?utf-8?B?cWNVZkxHakZpZlBnczJ5RXkvejczaXcwQ0pEY3lOc3Z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VJpR1NJc2VDRmlwYS8vajBC?= =?utf-8?B?VmJaUytoZGxad3ZrSURYUi8zVWVualZ5NTBuYjFNSkZnQlcyZHdmRVZ2dFJO?= =?utf-8?B?cG5rcFkrb2M0UFllT2djeEZTNENmY2Mwa2RsWnV4aHpJcTFTMlpQd1l5M2Jt?= =?utf-8?B?enVBemVFVlpDeGhUMDY5ai91UHQyTFJKUWN1VmZoaXdhS3pob1JjM1ZIVzhP?= =?utf-8?B?a3QzTk5BRHQ0Tys5OEpFNm00VS9tM3hJMGFiY3R5My93NS8wQktFSlIvYTRE?= =?utf-8?B?bGQ4OFJyZk9kQWVrNkNhM003ckdDUEN1emVOektEbHU5M1FRMmI4QTBINTFV?= =?utf-8?B?WTdCUVpJYlhTeHRhYUhHQXRHUzY4MWxtK1NlZlIydTlSeS9lWStma2w3SWM3?= =?utf-8?B?ZVNLZFhESWl4SUd0Y2tOY2F2MkNEMkZFbm84UUVickVaTm00NURFRTlUQVdF?= =?utf-8?B?eGZkd3RDb1lIbWpRQW1ZeVQxbm1mbnFVYXNZR2d2Y2FvdGhDMElzSk9xR1ND?= =?utf-8?Q?MWv3KHrjFgNzwqKsXe646+f2jknnwxET+AVZkDm?= X-MS-Exchange-CrossTenant-Network-Message-Id: 93d5766b-d74d-4cba-c833-08d97f6aeca1 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5207.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Sep 2021 14:52:26.4316 (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: AaToRKOnrmcMXbvtHgvlEVht5cCkc5JXD4erDhezcWVmaX266Y9rFvYy8d13DSZ4TUBg2F5oc6ZWXZVrl0XpTQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4919 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 > --- This is very useful for the IOAT driver too, thanks! Reviewed-by: Conor Walsh