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 8D82245CA2; Thu, 7 Nov 2024 18:02:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5729C42E45; Thu, 7 Nov 2024 18:02:52 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by mails.dpdk.org (Postfix) with ESMTP id D49874064A for ; Thu, 7 Nov 2024 18:02:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1730998971; x=1762534971; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=MSopmAcGM+RjnMMcaR5/OExBfLB1bobTY45xJ4zhYwo=; b=E9rTuWof/lZCeSGpW5TAi63O5ymSRzr8l9URoCOX6dG6i4BZcVA+789Y zzXQlbebhyGudw9UDfwC5G9toTMX5EMGYIqbhLNklDxX8QI8vScAm53Id WxGm9DLRG/+K++qE0jtrYvZjIZAd073HBcCM76d8O/Z+15KSJsZZZewu1 7FV/mqUMoquu9B2SuE0xUrBbK5dXSkLWClo21qa20F32q2OHdBlSOrokC mg2yFjBU/ebAAIqJfk76u62L8+Isv7dObE2UpP13ayCRIJljMaWbVDAJ7 Gsg7XbIzPpNhx06XyoiXf1iEs8p9rdS2olRyIrKTPSGy3qYchmCGxwAxl A==; X-CSE-ConnectionGUID: 1UDwqn3AQz6gtUKm3kMnnA== X-CSE-MsgGUID: IGnkcyxjTCWczva+n39XqA== X-IronPort-AV: E=McAfee;i="6700,10204,11249"; a="31081422" X-IronPort-AV: E=Sophos;i="6.12,135,1728975600"; d="scan'208";a="31081422" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Nov 2024 09:02:49 -0800 X-CSE-ConnectionGUID: oDpxGu87Qr+QoB3GzQTaCQ== X-CSE-MsgGUID: 5Ed2NGj4SVKYBevlK9ZJrw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,135,1728975600"; d="scan'208";a="116018897" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orviesa002.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 07 Nov 2024 09:02:49 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 7 Nov 2024 09:02:48 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Thu, 7 Nov 2024 09:02:47 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.44) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 7 Nov 2024 09:02:47 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=VVf6vo5T6Oc1a3hOkOKeQzvbXTEha/cXnSvNm/BWa7qeO/unHcpi2aH+b5todNuVORWEqUA/uBtuBoSEpcv6V7ArV9WiZez7s4weiYDPuEsbfdht6vG8WtnejKdBCXOokPKDjyIBG5hciwMTw5I4IOCp+9bhJDRV3+jENxBFX30iaeBdr/6VAbzEinMCyCql/XRodAWI6cX8M54CXXd0N80g1LUIk1TIKeTnIqlenLmMhE1ussgaYWXqXNhcKp0Z2dVcBR1X7uWGMRbAa9lGuw0O31bDQsbktQzxFqBI+sh1iJIFPwe9Rn0BY2Qx25W4M30dT3jgN5ITO1ARcbgkSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=OY5nj9BvA7sOb43G7j46zKfGw+qKndTymCFe/h7XqCE=; b=TD8s6TZZwbF8iixaEvGqeDpqh/gKa6RREn+bhs9MoIorhUI/sRamebVS9oihOA7rp+aeFDjJb6LTTbioq2Px9MjRNp2Mp7i3IGkxk/t7EtR5jRqFypgYzRr14lzLS3atzEerPfc1u/H32R3Z+AI8PbXY9c1lBv4l1/DZmTUX5i1TduybPcipNvRQmz5qfeY4oSrXLPTR4Hd1KlcqqxxLVONhOz5sF2ApeFkzISULSC7SDBy4+DIYqoVcrFa7tNb85tQgvaSQhneF/E5WtfbT69qAYGnZkGFWHgczlEcrh15ABxc7wpQLBMsul4CcigTD9CThxVsR0WpjQ3b9k1csHw== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH7PR11MB5765.namprd11.prod.outlook.com (2603:10b6:510:139::7) by BL3PR11MB6337.namprd11.prod.outlook.com (2603:10b6:208:3b1::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.30; Thu, 7 Nov 2024 17:02:39 +0000 Received: from PH7PR11MB5765.namprd11.prod.outlook.com ([fe80::fcf5:d65c:4fdd:4a2a]) by PH7PR11MB5765.namprd11.prod.outlook.com ([fe80::fcf5:d65c:4fdd:4a2a%3]) with mapi id 15.20.8137.018; Thu, 7 Nov 2024 17:02:39 +0000 Message-ID: <8259f1c9-0f76-4f26-9a6e-5e11a54e94cd@intel.com> Date: Thu, 7 Nov 2024 17:02:36 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] test/fib: clarify FIB RCU negative tests To: David Marchand CC: , References: <20241016184209.802449-1-vladimir.medvedkin@intel.com> Content-Language: en-US From: "Medvedkin, Vladimir" In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DB6PR0301CA0096.eurprd03.prod.outlook.com (2603:10a6:6:30::43) To PH7PR11MB5765.namprd11.prod.outlook.com (2603:10b6:510:139::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB5765:EE_|BL3PR11MB6337:EE_ X-MS-Office365-Filtering-Correlation-Id: 11cd638f-e02c-449d-a229-08dcff4dfc7d X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?NS9rMGRXWWJzbnRRV2loUTNmOXNHbk5hL1dOTWhYOFRJL0VaRkd0d1NOMkpM?= =?utf-8?B?NFA3U3lMMU5KM1J3OTBvUm1DUk5KQlZadDUrdmtiMGQra0JzNG84Uk1YN2dy?= =?utf-8?B?bXVJQ3FGb1cxK3lTQTFXM1ZOV0lScU5TeXk4NVE5UndYQTMybEZDaXN5a3oy?= =?utf-8?B?K0NhQjh2RHpueVZ6Zjc5anpZZFpUcGRmYVN5ekc4K0k2TGhqS1ExcVhDSE9W?= =?utf-8?B?VUxzUmV3dFI5TTRLUTBvUDBJeFdHYkJkM0ZHUzdPWTVpNEN5Wkg0QTY5Ryt1?= =?utf-8?B?NTdyMlVNVC9BY3NUS1RtNlh6dFNLYmpuYU52MkhJNnJnMlcxK2ptZ0dtR2Nl?= =?utf-8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Es3?= =?utf-8?B?eDB6cXJvbHhGMTk3V0VTeU9OSUw2M1lrblA1aGZINnJubDNhNk50dnYrcTRu?= =?utf-8?B?dVRlWVdndWdPejZDRitzN3VtTXdTcWZIR2lib29sa3F4UWY1a1FUOTZmK1RK?= =?utf-8?B?c0kyZmYyUlhFdXYvWDNDNFpYRGo0YlZjQUFqaU9MMTR0aEliMjdFa2dWV0F5?= =?utf-8?B?S1lEZFV5NGFhaUxBVzFBTktTK3YwbjAwZUU1c1pzakV2TmsxSTB2d2FJM0RH?= =?utf-8?B?YmZxMEEyNCttSjlOMTkxclNQRVYvR2NOSXhzN1piNnRXSmFUeURFaGY2dXRK?= =?utf-8?B?cHIwdWJyY2FtOVZyaHN3SlBxaEYzRC9uYTRkSUNWV1ZHK3h6US91RnBkaVhL?= =?utf-8?B?ZDczQlV1MW9iYWFhSjNmZ2ZoUWVjYnZkY3ljeDFBcTV3QWp0bVBuWXpIVHFX?= =?utf-8?B?cmtrRG91eGZaTlJUME1mNkVBOGZQcFdaanNNZ2thclZQNXhEaU9FU1VOK0xh?= =?utf-8?Q?D2BhMDv/F5CLhlX4o2DQRGubGpbEvWbM1jp2nS4?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB5765.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Tno5SnRyd011bnZKT1NTU0NWSUFUS0pad2g1RnFjUlUvRHhvR1lKOFRFUEZI?= =?utf-8?B?UUFTNDQrYlV2eVRzSkJZMWhRRHJNcXgyMDV5cmt3ZFVFT0hvU2ZMQVF4MzRN?= =?utf-8?B?aHdodmpXbUZsUE84R0p4UFBDWng3OUZJVkJiYjFHTHcxM0RnTGZoVVlWTjdi?= =?utf-8?B?d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wNG11Q00vcVpL?= =?utf-8?B?TWNmWUlRa3VKSHN2aDFHTGI2VWhtNW9RUkg3ekVEMGw5dUtMeWM5VEpYakJr?= =?utf-8?B?R0Y0bUlONU1vdXJ0SzQwMENnVlVaL0hlTGFDOUxUdVoxSUJxTDhwcWNWcUc3?= =?utf-8?B?Wjl1Wk52L3ZjWWcrNDRNVnE2Vys1YWxlQWtPUnkweTRlemxrbHROWEkxbldK?= =?utf-8?B?eUE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 11cd638f-e02c-449d-a229-08dcff4dfc7d X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB5765.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2024 17:02:39.7232 (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: B89LZgDP8Jh/sRzquhhK0Jrb1RYisvhesSbCvlod676Vga77VfsHmyO1Z+CvUp/9vjHHcHLX1NbYIzrnUkvW6X/hfAYqu4vYL0A1T3wjtzI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR11MB6337 X-OriginatorOrg: intel.com 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 Hi David, On 07/11/2024 13:00, David Marchand wrote: > On Wed, Oct 16, 2024 at 8:42 PM Vladimir Medvedkin > wrote: >> @@ -445,7 +454,7 @@ test_invalid_rcu(void) >> rcu_cfg.v = qsv2; >> rcu_cfg.mode = RTE_FIB_QSBR_MODE_SYNC; >> status = rte_fib_rcu_qsbr_add(fib, &rcu_cfg); >> - RTE_TEST_ASSERT(status != 0, "Secondary RCU was mistakenly attached\n"); >> + RTE_TEST_ASSERT(status = -EEXIST, "Secondary RCU was mistakenly attached\n"); > My eyes stopped on this. > Should be == right? You right, thanks! Will send v2 > >> rte_fib_free(fib); >> rte_free(qsv); > -- Regards, Vladimir