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 BBD8941DC9; Fri, 3 Mar 2023 17:51:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AB49E40EE3; Fri, 3 Mar 2023 17:51:17 +0100 (CET) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2056.outbound.protection.outlook.com [40.107.212.56]) by mails.dpdk.org (Postfix) with ESMTP id A465840ED9 for ; Fri, 3 Mar 2023 17:51:16 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jVKGQBLGzolwtrnb9m2uQntOsHglSFD1BBOezocz9ze0vAuRyflZSAB9c/Whd9NXCQduzYqkThk/Fb8JjrUG0vEyVz/Uy6cdx+S+G/Ug1G0iocj46sgExx8cffaiY1d9nv+W0fa89VNU5zQQzmOV1yRnueE4D+AV6khxCWf/2+TWvt+dH0MR/S5rnSerL5hYQu33c/A+bUuIHUgpQgovALy8LnQibgTEmVhA1XxenJqEMI9wXaPX7BVxjn/mdvSJ1ZEjCNHqLnLe/33QTHMBNQ0Ijja1a2URPkRHvWh7IHQ3lcD0/Iz9Hv7u0AJvGRPHuCoZ6xhY4f1Afo/Eh3msnA== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XxdRL+EDlfqUZYv53XGxaXe8528xblTibUHiefewDTU=; b=SBcTa0+kzKhFRWWJ6DILF/pY7lVmtkd2qgVfeqttkckK+36F6tfj2+wpA6sLi/tQeOP8HHeqSvqDAIxBOYqntMEh7YD99fQ4tEN3MZtlKHiun2XZoyBn9DsymS7yIYHbfmeoTIw5k1JAck33FDiRFmBn9tr1NfX+qlwe7FvvM6dMbhlln073rw+qAxkLGIsGvnWwTpffBWGpuHt29MMhaJ7I4eyo2mSvZDesGC6z1kwEN/0WMsK2yGvaIb8D3Y3KAhvh/c7/R+MeBphIVFQD60xHx+IfzlvnRGqzIrkGTjFbEeGRx5tNx+9S84ifywnhO06T1TPXzfiT++QJDlFB+g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XxdRL+EDlfqUZYv53XGxaXe8528xblTibUHiefewDTU=; b=UdKscdVRel1SFvlpD3dKaEpyVte8hEbPBWVuDNlFSaXKMwDE6YiN9VJUCEj757XPBH2AjnhUY2n/ISiOcjl7Ar+Ay+ZuE53Gl0Ca+HYXe6cDWgBtmxj74MQhns/FlXUx0fJOmT9pthvklWm5DktsdrYOl5Rym5pfhM2al8feUqM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by IA1PR12MB7712.namprd12.prod.outlook.com (2603:10b6:208:420::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.21; Fri, 3 Mar 2023 16:51:11 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640%4]) with mapi id 15.20.6156.022; Fri, 3 Mar 2023 16:51:11 +0000 Message-ID: Date: Fri, 3 Mar 2023 16:51:05 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Content-Language: en-US To: Konstantin Ananyev , Fengchengwen , "thomas@monjalon.net" , Andrew Rybchenko , Kalesh AP , Ajit Khaparde Cc: "dev@dpdk.org" References: <20230301030610.49468-1-fengchengwen@huawei.com> <20230301030610.49468-2-fengchengwen@huawei.com> <0f387ca1eee34a7f92745de7b59a71a1@huawei.com> From: Ferruh Yigit Subject: Re: [PATCH 1/5] ethdev: fix race-condition of proactive error handling mode In-Reply-To: <0f387ca1eee34a7f92745de7b59a71a1@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0013.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2ad::9) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|IA1PR12MB7712:EE_ X-MS-Office365-Filtering-Correlation-Id: 186824ff-8867-4146-9d75-08db1c077e5e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xNCWIs8LMxnG13ztHOiVlCMqGzxOeSGOZV4a8XuQtK29hItKWEfutGONeitYi2jafgUMXdazCRc+1/rohH/wqvbqVH5ZZPRq0CD5hUEBF5mulLcjgvqz17cE1y6veDQ2x3J7lnkzKLVH7yTH5zO2U4KuXoVaDZsCZLPW8UfK57lIpdKFe3zDIADok6+C2tpidTI2yTm4e21PV4NAH67OrQc0Em7NWEJ+rGGBnhM5BHpunIhsu5u/iyOzCK/HDj8GsnVjykMQAJ0rx37JcjE2J6UNeYsGAYCLnZLN1uJIFvcZ+L07tmIr9a523KlieEzhBOYxj5YfNzkyhX8yB0xuj8tr1GQMUReqKqvZE4da3+LHNfhsrKYcuEAbGKZkvcUBQDvT3z+emDw8dChFMgAhjdvk394y5cxy4Qgpje9kZ8m/wcI6G+nnYi5L/4A0B6nmMZq2YkoQA5CdfejE9RA0jcUjpIpO0V6mD/7ln8YvksPimoQLDjJjXe3T6mnmkWG6N/7K8cvlDf8wvtTCmZTXl/VWuMHohSzR1ljVnoKYI9qkV1cotae203ECOAGLFUE3368rFLO105VRgexlCozHdKP/v167gATIcKrwVBRaVpqkkBwfoPPJSPmolEdh2uRu4eoWLlVoWy5iTGoqM4h0SUeJy3JBdj7YvbIsnvmYfWZrj7LsLOUQc+D8AykyLmzMftdGafToc7EJZKIlbh9DUt3i7hztYC8d9gVqWj+0f30= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(136003)(39860400002)(376002)(396003)(366004)(346002)(451199018)(38100700002)(478600001)(6506007)(53546011)(6512007)(36756003)(26005)(186003)(83380400001)(2616005)(6666004)(6486002)(966005)(8936002)(41300700001)(66556008)(66476007)(66946007)(4326008)(8676002)(31696002)(5660300002)(86362001)(31686004)(44832011)(316002)(110136005)(2906002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Y2R1RnNyS293eFordDlWVFhvTExrSmxwaEd6S3lFZDdOVUpkb0lvTFJXaGw5?= =?utf-8?B?M3l2bWR5VjZtQVNyQVdKZFhGQ2JySTlic0t4cmlGeFBocUF4aXNhaTZSMzF3?= =?utf-8?B?NUFKelRtSFhNbFA4YkNHVVFTWXU2c0EzcVBYTFIzWVlFSkxIbWlhYnBpenV5?= =?utf-8?B?VnlIL3Vya0JuSWVwUWN0cDJHTnczanBhKzdyODVQQnJyUUduTGUzc2NXcWJm?= =?utf-8?B?UHk1YmJRYnBPMDR3OW4xdWZidjVFaU1hanZ4SUpxb3VZOXUxaVhGb3lUS3F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TVA3YWoya0pQMkRLWWI5TklqaWtWYXB2RUhI?= =?utf-8?Q?NiEUf9niTCapb6bfT8E8XOM2Y?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 186824ff-8867-4146-9d75-08db1c077e5e X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2023 16:51:11.6327 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: o0ZU80mIcIqH6jVxV7+bP6rgiTAP/egHQ80sw0umlUXYNjqnlMUnagSMdPGhyyEl X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB7712 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 On 3/2/2023 12:08 PM, Konstantin Ananyev wrote: > >> In the proactive error handling mode, the PMD will set the data path >> pointers to dummy functions and then try recovery, in this period the >> application may still invoking data path API. This will introduce a >> race-condition with data path which may lead to crash [1]. >> >> Although the PMD added delay after setting data path pointers to cover >> the above race-condition, it reduces the probability, but it doesn't >> solve the problem. >> >> To solve the race-condition problem fundamentally, the following >> requirements are added: >> 1. The PMD should set the data path pointers to dummy functions after >> report RTE_ETH_EVENT_ERR_RECOVERING event. >> 2. The application should stop data path API invocation when process >> the RTE_ETH_EVENT_ERR_RECOVERING event. >> 3. The PMD should set the data path pointers to valid functions before >> report RTE_ETH_EVENT_RECOVERY_SUCCESS event. >> 4. The application should enable data path API invocation when process >> the RTE_ETH_EVENT_RECOVERY_SUCCESS event. >> How this is solving the race-condition, by pushing responsibility to stop data path to application? What if application is not interested in recovery modes at all and not registered any callback for the recovery? I think driver should not rely on application for this, unless application explicitly says (to driver) that it is handling recovery, right now there is no way for driver to know this. >> Also, this patch introduce a driver internal function >> rte_eth_fp_ops_setup which used as an help function for PMD. >> >> [1] http://patchwork.dpdk.org/project/dpdk/patch/20230220060839.1267349-2-ashok.k.kaladi@intel.com/ >> >> Fixes: eb0d471a8941 ("ethdev: add proactive error handling mode") >> Cc: stable@dpdk.org >> >> Signed-off-by: Chengwen Feng >> --- >> doc/guides/prog_guide/poll_mode_drv.rst | 20 +++++++--------- >> lib/ethdev/ethdev_driver.c | 8 +++++++ >> lib/ethdev/ethdev_driver.h | 10 ++++++++ >> lib/ethdev/rte_ethdev.h | 32 +++++++++++++++---------- >> lib/ethdev/version.map | 1 + >> 5 files changed, 46 insertions(+), 25 deletions(-) >> >> diff --git a/doc/guides/prog_guide/poll_mode_drv.rst b/doc/guides/prog_guide/poll_mode_drv.rst >> index c145a9066c..e380ff135a 100644 >> --- a/doc/guides/prog_guide/poll_mode_drv.rst >> +++ b/doc/guides/prog_guide/poll_mode_drv.rst >> @@ -638,14 +638,9 @@ different from the application invokes recovery in PASSIVE mode, >> the PMD automatically recovers from error in PROACTIVE mode, >> and only a small amount of work is required for the application. >> >> -During error detection and automatic recovery, >> -the PMD sets the data path pointers to dummy functions >> -(which will prevent the crash), >> -and also make sure the control path operations fail with a return code ``-EBUSY``. >> - >> -Because the PMD recovers automatically, >> -the application can only sense that the data flow is disconnected for a while >> -and the control API returns an error in this period. >> +During error detection and automatic recovery, the PMD sets the data path >> +pointers to dummy functions and also make sure the control path operations >> +failed with a return code ``-EBUSY``. >> >> In order to sense the error happening/recovering, >> as well as to restore some additional configuration, >> @@ -653,9 +648,9 @@ three events are available: >> >> ``RTE_ETH_EVENT_ERR_RECOVERING`` >> Notify the application that an error is detected >> - and the recovery is being started. >> + and the recovery is about to start. >> Upon receiving the event, the application should not invoke >> - any control path function until receiving >> + any control and data path API until receiving >> ``RTE_ETH_EVENT_RECOVERY_SUCCESS`` or ``RTE_ETH_EVENT_RECOVERY_FAILED`` event. >> >> .. note:: >> @@ -666,8 +661,9 @@ three events are available: >> >> ``RTE_ETH_EVENT_RECOVERY_SUCCESS`` >> Notify the application that the recovery from error is successful, >> - the PMD already re-configures the port, >> - and the effect is the same as a restart operation. >> + the PMD already re-configures the port. >> + The application should restore some additional configuration, and then >> + enable data path API invocation. >> >> ``RTE_ETH_EVENT_RECOVERY_FAILED`` >> Notify the application that the recovery from error failed, >> diff --git a/lib/ethdev/ethdev_driver.c b/lib/ethdev/ethdev_driver.c >> index 0be1e8ca04..f994653fe9 100644 >> --- a/lib/ethdev/ethdev_driver.c >> +++ b/lib/ethdev/ethdev_driver.c >> @@ -515,6 +515,14 @@ rte_eth_dma_zone_free(const struct rte_eth_dev *dev, const char *ring_name, >> return rc; >> } >> >> +void >> +rte_eth_fp_ops_setup(struct rte_eth_dev *dev) >> +{ >> + if (dev == NULL) >> + return; >> + eth_dev_fp_ops_setup(rte_eth_fp_ops + dev->data->port_id, dev); >> +} >> + >> const struct rte_memzone * >> rte_eth_dma_zone_reserve(const struct rte_eth_dev *dev, const char *ring_name, >> uint16_t queue_id, size_t size, unsigned int align, >> diff --git a/lib/ethdev/ethdev_driver.h b/lib/ethdev/ethdev_driver.h >> index 2c9d615fb5..0d964d1f67 100644 >> --- a/lib/ethdev/ethdev_driver.h >> +++ b/lib/ethdev/ethdev_driver.h >> @@ -1621,6 +1621,16 @@ int >> rte_eth_dma_zone_free(const struct rte_eth_dev *eth_dev, const char *name, >> uint16_t queue_id); >> >> +/** >> + * @internal >> + * Setup eth fast-path API to ethdev values. >> + * >> + * @param dev >> + * Pointer to struct rte_eth_dev. >> + */ >> +__rte_internal >> +void rte_eth_fp_ops_setup(struct rte_eth_dev *dev); >> + >> /** >> * @internal >> * Atomically set the link status for the specific device. >> diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h >> index 049641d57c..44ee7229c1 100644 >> --- a/lib/ethdev/rte_ethdev.h >> +++ b/lib/ethdev/rte_ethdev.h >> @@ -3944,25 +3944,28 @@ enum rte_eth_event_type { >> */ >> RTE_ETH_EVENT_RX_AVAIL_THRESH, >> /** Port recovering from a hardware or firmware error. >> - * If PMD supports proactive error recovery, >> - * it should trigger this event to notify application >> - * that it detected an error and the recovery is being started. >> - * Upon receiving the event, the application should not invoke any control path API >> - * (such as rte_eth_dev_configure/rte_eth_dev_stop...) until receiving >> - * RTE_ETH_EVENT_RECOVERY_SUCCESS or RTE_ETH_EVENT_RECOVERY_FAILED event. >> - * The PMD will set the data path pointers to dummy functions, >> - * and re-set the data path pointers to non-dummy functions >> - * before reporting RTE_ETH_EVENT_RECOVERY_SUCCESS event. >> - * It means that the application cannot send or receive any packets >> - * during this period. >> + * >> + * If PMD supports proactive error recovery, it should trigger this >> + * event to notify application that it detected an error and the >> + * recovery is about to start. >> + * >> + * Upon receiving the event, the application should not invoke any >> + * control and data path API until receiving >> + * RTE_ETH_EVENT_RECOVERY_SUCCESS or RTE_ETH_EVENT_RECOVERY_FAILED >> + * event. >> + * >> + * Once this event is reported, the PMD will set the data path pointers >> + * to dummy functions, and re-set the data path pointers to valid >> + * functions before reporting RTE_ETH_EVENT_RECOVERY_SUCCESS event. >> + * >> * @note Before the PMD reports the recovery result, >> * the PMD may report the RTE_ETH_EVENT_ERR_RECOVERING event again, >> * because a larger error may occur during the recovery. >> */ >> RTE_ETH_EVENT_ERR_RECOVERING, >> /** Port recovers successfully from the error. >> - * The PMD already re-configured the port, >> - * and the effect is the same as a restart operation. >> + * >> + * The PMD already re-configured the port: >> * a) The following operation will be retained: (alphabetically) >> * - DCB configuration >> * - FEC configuration >> @@ -3989,6 +3992,9 @@ enum rte_eth_event_type { >> * (@see RTE_ETH_DEV_CAPA_FLOW_SHARED_OBJECT_KEEP) >> * c) Any other configuration will not be stored >> * and will need to be re-configured. >> + * >> + * The application should restore some additional configuration >> + * (see above case b/c), and then enable data path API invocation. >> */ >> RTE_ETH_EVENT_RECOVERY_SUCCESS, >> /** Port recovery failed. >> diff --git a/lib/ethdev/version.map b/lib/ethdev/version.map >> index 357d1a88c0..c273e0bdae 100644 >> --- a/lib/ethdev/version.map >> +++ b/lib/ethdev/version.map >> @@ -320,6 +320,7 @@ INTERNAL { >> rte_eth_devices; >> rte_eth_dma_zone_free; >> rte_eth_dma_zone_reserve; >> + rte_eth_fp_ops_setup; >> rte_eth_hairpin_queue_peer_bind; >> rte_eth_hairpin_queue_peer_unbind; >> rte_eth_hairpin_queue_peer_update; >> -- > > Acked-by: Konstantin Ananyev > >> 2.17.1 >