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 59A464234C; Tue, 10 Oct 2023 15:10:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EC6E2402EC; Tue, 10 Oct 2023 15:10:47 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2052.outbound.protection.outlook.com [40.107.237.52]) by mails.dpdk.org (Postfix) with ESMTP id 481B440297 for ; Tue, 10 Oct 2023 15:10:46 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F6T5Y9K24cH5B8ENiFjZw74WarbJtjHQWTMD33WVJLeo/8y9YwWlleDbxO+J6QhDkybYIrZckdvgG6tkCZOwyd2oiSXyepH4wqY13sCMQd9vNAoKzZK2TpZRym5D1CetO6qs3yryBtBtKhjurXRFqy++ydQjtqZrJI9Ddb9EoR3I5mJptRC4VZrG6f5a98ExAO4HHdgfRxTYx2MBxY3m2oFKjuJEv0ySkUnvbnLBzZAuYonQe2/8qxg3DnswBnFrm0TLMagsIFTunAm/CC9gHdp1O7R6Kiz8q+yiHXUEHG45b0j4TTIOnOA7jZcsHgXhWFUob5D899IbonYsiUVr6w== 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=sgOukv/0uu8+5YYoWLgGvWuBYzZzQakacpxmRx995p4=; b=SxK5hkbjv1/EHszRPQ/kQ0e8Z0YEGwzHH7cKbPDlUP3zV7zQkTinm5zRuR2aJk9aFtUI8zRuUKli9VRqBFIPwLTBE2eUVlznRFkhNqmDWZkGtyCAyBn3KehfPHzOmBD71UyaNa03w2CbnnQwfxvLpPmOqtBRyntberEa7BLoS2wZ6cHPsNKq4yKsEIvkpvL8t/wO9dSRkcjANutGiYXr5sqPIky/VrOcnN8UyrcU8tSWFsIxPhIHK2TlBQVLhEgKp21UaXnB0eVMs5diChLJEjTmbspzR3EOXTqzPjFwDEzrwNYuxNxEqpmHfnUveiU8TkYlE5EhUSwDaoe9HDtYGg== 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=sgOukv/0uu8+5YYoWLgGvWuBYzZzQakacpxmRx995p4=; b=n8iaRfCNsuCu7BLoJUtyeBLfjmPEnfAu97pR8JSVIMcAUMxcW0JEFimsp3mrZAsWbvW6yZYBIKoZNXZrLNLuqQuz31mEsw1YHhhmG5kRAI9lrDNBi2oglsnPk3tfQFpJUt2BcdTdtqsHYUS9oBja0r8+PJgPrPqVwKBCzzuWRSk= 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 CY8PR12MB8339.namprd12.prod.outlook.com (2603:10b6:930:7e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.38; Tue, 10 Oct 2023 13:10:44 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::102f:c69b:d3e5:7fe8]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::102f:c69b:d3e5:7fe8%4]) with mapi id 15.20.6863.032; Tue, 10 Oct 2023 13:10:44 +0000 Message-ID: Date: Tue, 10 Oct 2023 14:10:36 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] ethdev: add IPsec event subtype range for PMD specific code Content-Language: en-US To: Nithin Dabilpuram , Akhil Goyal , Anoob Joseph Cc: jerinj@marvell.com, dev@dpdk.org, Thomas Monjalon , Andrew Rybchenko References: <20231004125909.1385272-1-ndabilpuram@marvell.com> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJjb9DJBQkC+3/YAAoJEFRTPtCK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5eHAVhmtXvrqPW6Ku 3FQ= In-Reply-To: <20231004125909.1385272-1-ndabilpuram@marvell.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PR3P192CA0025.EURP192.PROD.OUTLOOK.COM (2603:10a6:102:56::30) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|CY8PR12MB8339:EE_ X-MS-Office365-Filtering-Correlation-Id: 2e343bab-276f-4d9d-7a53-08dbc9924f9e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: N5TguaK89x+ZftbLWAYdlUSCwC+uwjlteoNIp13kQcn7dHXbBBEruRaHH1WCl1CAU4ZB5q1RmtQJ6rJolepDWqXXFFnPmQ/niVBmbSSZrpnUPR27QGSpT6rAhyaB2O0e1/UapMzlxYQEoNlQIp2oEmEhAOfbAWi20hHqV9euPu+Rv4gHIfopgGUybujpLBWHu11J0gyDWms8+47SCZCcju/6x8un0vZiHRsOjvlLErWqxE063bVbOSmzWcM7SF7UU7AL2rIb8TW4/o1RSJ6SIMWABtIAtLa6GWoMjmdbFHSjRoL/0m80K427j4Ya9S0FighWHm/MeTdQ5nPsrb9oWh4jl07uZvYEYYES9CFr561dAoZwFKH1rflWC+1LGtBnFRvZr16WtV1n3Xptk5ZJ+hXvO8ho/3W8Ae5ilPy/hVtLvRsF9mAjGeI7lET1cCsiPLf5FGPZ06yc4w94lJHM10CH1A6cbncQdIwrL36akCwX7NLEqM6sHRhYNzRHnCFLamkSbBSs5Z89HzTlXKMs1pnYXZ279RVC/QtcUUc2XsNOqG2x8ZAJBxr4b50ApREGjBGLJPo6y5ywzb0Xqg9zXsELl9bPTNBVKamLKAzJWsONVhuwEOkoJYAOIpfpc+VdgvB5pBXsyKrF7p/SmqCkTA== 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:(13230031)(39860400002)(376002)(346002)(396003)(136003)(366004)(230922051799003)(1800799009)(186009)(64100799003)(451199024)(41300700001)(26005)(38100700002)(83380400001)(8936002)(4326008)(8676002)(110136005)(316002)(66946007)(66556008)(478600001)(53546011)(66476007)(2616005)(54906003)(6512007)(5660300002)(2906002)(6486002)(44832011)(6506007)(6666004)(36756003)(31696002)(86362001)(31686004)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MFpzeTQ1RjVyNFBXRUxCZ0NrazdiTmliRFhkUmhzd1EvYTFCOERvd04zUjM0?= =?utf-8?B?bE0rOThPOVN4OW1jdlpabVNlc0ZURlg4Tjh0OTVMTnFCYnhaY3BwK0VLU3h0?= =?utf-8?B?bythOXBEdHNlMm9EMXBvaUNHNGZPbkdBM1JscnV3VmxZZ2V1VldVeWw1ak83?= =?utf-8?B?UEVJODdhcDJJM3hqTkpZUExyWElNMHVuWHdteCtVU1NsYTcwbVgxRFJPbDB1?= =?utf-8?B?Y2RZMmNLc29VQ0pVUmx4UFg2bVY1bnY5NU12OXVoM3lTWUs4dGZVRDJuakQ5?= =?utf-8?B?Qmp2azdVOVJRT1lvWEhzTEFGWTJEbEU1T2NVbnVocnhjRXhYZ0x6a3NTSkNM?= =?utf-8?B?VGdFQzVEWTRSMHpFMWsrd2xBc2JRK2N4SXFwV3VMeXdjV1hCRHlScUlEdjZU?= =?utf-8?B?QWhxcmw3UW9selB2cEpkaXdOMCtETDBKblNqRWVubFB1aVBMTVcwdVVpZFhP?= =?utf-8?B?Wjh4S1krR3FlRDRnWmRLNnAwUDFtdWhqU2VaYXBpVUw2ZWM0M1c2UDI2d0FQ?= =?utf-8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3dVNX?= =?utf-8?B?Zm56NC9TZkp3TFp0UFVRT1Zta05QcU1EdmdPNlJsa2tZQ0xSWGt3Qll6MWRZ?= =?utf-8?B?TlJZbnJqQlgwZXU1UzJLT2FDLzVmK0JFdnJQSlB5N01lNXBZUE4vREtZMlg0?= =?utf-8?B?cHNWSkpuRmRsVUNwNzFMbVA3NmFFeE93dW5PSE91RjlEYzgyZFlINysvSElQ?= =?utf-8?B?MC9oR0FqNm9uU0lkSDI1c3JFdFQyYmg5czFkWEFtUkFtc05MTWk0VTJKaEVz?= =?utf-8?B?WW1Eb1RhMW8vcFFTcjJhSTdyZkdtUDRjYVBnNldOZFNPcnd0Ym5rVVZNb0d0?= =?utf-8?B?ZHY4ejkrcU04dEhMY3NDbm9HTHRBREl6RlBoeEdiVDFZcjdpT2lDWFEwbGFL?= =?utf-8?B?dVh6YnBjc3R4QmtZYTFadXdOVmtKOGZyb3NIRnEzTnYwZzI0NkRxSWQ3bzhr?= =?utf-8?B?dmVFVDVMb1dOQzhQeTVrU1ExeU5yY3lNY0N6TU5mUGUzZWdpK0pQMnBpOGd2?= =?utf-8?B?SFduUTh0OGttSGllcnA4S2Mwei85WHpKR0tRUHUzSlNWSHprQUV5emY1UEFE?= =?utf-8?B?Rlk1QXVMQWxHU2pyVE1pdjE5cVhsL1UzS1ZIdUVGTm96QlRvOUo5ak1TalRo?= =?utf-8?B?dUsvcDh0ZktSbStPM00rNUVLaWVXV2FLV0xBQWNla2I4NUIyTmFnZ29DREl0?= =?utf-8?Q?GNIGrehGjEYBMIwGk63yfQsp1?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2e343bab-276f-4d9d-7a53-08dbc9924f9e X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2023 13:10:44.3700 (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: V31M9PSr7hmxH0DVseft1239tGKBmU8AnuUBiVH99kZOvYnY3L+2kEsZdAEDrDqm X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB8339 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 10/4/2023 1:59 PM, Nithin Dabilpuram wrote: > Add IPsec event subtype range for PMD specific code in order > to accommodate wide range of errors that PMD supports. > These IPsec event subtypes are used when an error doesn't > match the spec defined subtypes between RTE_ETH_EVENT_IPSEC_UNKNOWN > and RTE_ETH_EVENT_IPSEC_MAX. Adding this as -ve error range > to avoid ABI breakage. > > Signed-off-by: Nithin Dabilpuram > --- > lib/ethdev/rte_ethdev.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h > index 8542257721..f949dfc83d 100644 > --- a/lib/ethdev/rte_ethdev.h > +++ b/lib/ethdev/rte_ethdev.h > @@ -3905,6 +3905,10 @@ struct rte_eth_event_macsec_desc { > * eth device. > */ > enum rte_eth_event_ipsec_subtype { > + /** PMD specific error start */ > + RTE_ETH_EVENT_IPSEC_PMD_ERROR_START = -256, > + /** PMD specific error end */ > + RTE_ETH_EVENT_IPSEC_PMD_ERROR_END = -1, > /** Unknown event type */ > RTE_ETH_EVENT_IPSEC_UNKNOWN = 0, > /** Sequence number overflow */ > I don't see any problem to extend event subtype with custom error range, @Akhil, @Anoob what do you think?