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 7564543DEC; Wed, 3 Apr 2024 14:11:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3C5B7402CE; Wed, 3 Apr 2024 14:11:15 +0200 (CEST) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2111.outbound.protection.outlook.com [40.107.101.111]) by mails.dpdk.org (Postfix) with ESMTP id 472CE4025C for ; Wed, 3 Apr 2024 14:11:13 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SuJ3fos5KBM08JIlCds0y39YwjSzwrzQcjTSk5OJsvFo1aNzXuHrDjCWT+Z6OVswtFPxnkMGWGlJArAFQ3jwhwVuin9ZYcTgt/eChUFC9fnIdBNa6zKupAsAg+S2Ioj8dWbs4MNp4HqVm4KXz3fstNKkTGcmQitXFnhiNYxbftg0R6nd9IaaxJVeg5+i69yZZnYibBizQRrUUFfe1Ld8/2qCNPsjJuLmhsSJcsoCnijvHlzEThZlYv5RdJkmM7bOvsKNDJ/t3RmcmGAI8M1nFdon2ki1rOnsPXisYChe+dizn4T0Q6WfV0n72YvxPwh0nvHnmZqwrEXUOFNZyJu9Rw== 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=K4gyckF4pmIMahbuWd4DQ7F03pKseGdS5DNOqMz/37c=; b=DQAC53Qoa0KIhoxtaXW43yePh2alUOvakOqaGhKY4hgaM0pj5WePCI0ONqxpqee8eaQcRm2lCeUBs7l/OU2F440iqiBC5bmJJgycnMDzzrBAMQGHXvUgq8smvVrdSJU9g0MNE6taW2MQzJW9zTL97a2HImEaRJc1MhBhVjlD589TdAc+aYggWFtmP4wrW3msNW7At2HbIBI6YfmIuDb0+hOQnq4quJI+XWiqyO/l8y3qGw5xhalpoOWn8pAxDSXVJHWJsOILymT1UP318RTzs9iF5D0IP8NYiBwERuH5XD3PF9b+FcDSX6+JBnlrNQxlQoiL0uXBrHya67g9mBmGUg== 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=K4gyckF4pmIMahbuWd4DQ7F03pKseGdS5DNOqMz/37c=; b=T0vInwOYuKtj7ptaDDVcpj7yPaSjg93pV405oj5KPF14DMKk0skbTHbSQ+QK5bo2U2ebcVWRkN4niPWIq315p+faci29tggpMawPxSkJUSU4aZ+yXD1LfADZNsm1uhBYKoik2ymgivrjhxQCET5plS5PGjmrlTlMo/iWgJyjzjg= Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by SJ0PR12MB5634.namprd12.prod.outlook.com (2603:10b6:a03:429::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Wed, 3 Apr 2024 12:11:10 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::282f:29d3:cac1:cde3]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::282f:29d3:cac1:cde3%7]) with mapi id 15.20.7409.042; Wed, 3 Apr 2024 12:11:10 +0000 Message-ID: Date: Wed, 3 Apr 2024 13:11:06 +0100 User-Agent: Mozilla Thunderbird Subject: Re: Issues around packet capture when secondary process is doing rx/tx To: Stephen Hemminger , Konstantin Ananyev Cc: "dev@dpdk.org" , "arshdeep.kaur@intel.com" , "Gowda, Sandesh" , Reshma Pattan References: <20240107175900.1276c0a5@hermes.local> <5c28d2a26f5142c3a509cc8bda2fca75@huawei.com> <20240109150611.00d13e13@hermes.local> <20240109150707.2a9ca9bb@hermes.local> Content-Language: en-US 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/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6U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DLHqNxKuyO 8Zk= In-Reply-To: <20240109150707.2a9ca9bb@hermes.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0476.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a2::32) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SJ0PR12MB5634:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eYdeLvhGtUggATutnFuH+XT2zkAk2Uo14kWgF0cHDgtsywIDvL8wkRTGVMKeidjiRMhWNqkNFbeNk8Nkh7VDaoAMfFQfj5BiDwSIDWja+ffUnFlIRJhCv2BgY6m6ObTKdpii1es2T2EHTtCN1AF5TM8toAlhJCs69Um8T3Eatn1bV5eEIzxZeV6zKqyJPWN0ghGh6lv32MoHiuCwoNxZbg72hXrq3q6itFXObEudJ/2/7ZBrmsgCfckTM6NocCHs37gqkyPaEEVsGtfhX9Veju1vA8BEWlGmFLkjFwTjkyoOm3h/AFx1T9FKnht4YN5K2DrnmzveRlxpHL5aGj5JedQtfsLg0I/3eBtyQZm8otVLlxdIlw6lQC97Xi54yTPOXXHlUR8zF9RCflO1A+u25Nj+TwEhmH6JVFFiFAn7LY8hQc62TDBfCWerwoh2gnbuMADJzQ9deVjXB7IA9oY+O3LmUsuKxBdKJTn5fViGcPf4YKX3/pFJqLyZNyTUmOnvEnZR1UKpjVvRAhlIlsYUeO2hwPV43gkUxtIcpIyDvP6K7yWDkosJ0qGgsK0t+vfiQFo+KYZ92oij0Txsvq+CKllftW9BFYRa9Tug/YS+/C6npNKYcyrCmMNE8pAkP1Q3g3vfOHNAKbSNUsYhExrqJxcLR3lBttLRDC+vsre/b8M= 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)(366007)(1800799015)(376005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bkxJZkxZYkd0S1J4aDNYZkNoTFc3SkIrc2tkM0gvOGkxSjJKQjZqdjAyMEFC?= =?utf-8?B?UzNFdDJ3UUREem1oZDBsV2hzMEVoOFNKVEtWSTZKbkl2dFBJRklsMGYyOTBw?= =?utf-8?B?SnkzVFI1QXV3OGVEK2NRdUROKysvalNtNy8wVDhkR0w5a2RSZ1ZUVUdEVmRN?= =?utf-8?B?dWtpUytpN3o3U1FyQTRFeDd6eGRQUVVGT3lmTjFFOUhHKzgyZWhmdXpXV2Fq?= =?utf-8?B?SGpRb3BrSS9PSGh3ZzRmSW53WmdUcDRaRU42VnBkSjFCTG5ydGt1Tk5RMW1p?= =?utf-8?B?TzJzN0x1dCtIMno3MGxxeEtMcVVSWkRSbmdsenJ5dFdZRHUyRis0azZ0eUJH?= =?utf-8?B?ZEdhaE1wblNTaHBwZXpZNU9NeXBVNWoyamVaN3RwZGZnS3d0Vko3VVUyWi9y?= =?utf-8?B?b1hJMFhpSElDamFBVW1LbXVaUEllMVppU0Q4OTVnNGVIZUVHZXBYRWU0OHJt?= =?utf-8?B?cEt2VW5GM2wzK1oyeVFITjQ4ckpqenV3clFFaE8rdFoyeGY3eHkrcWxhcXdj?= =?utf-8?B?dThkV0RLUjBrZHU1RnVlZzV4YnBJVHdJQjdLT2hzdlV5UCtYb255L1JCa0k2?= =?utf-8?B?YlI1eW1uemRGN2VwNUVnM3ZwQ1M5bEQyNVdWdUNJQ0dHZEdTeFh2YytudmlR?= =?utf-8?B?NVc0UmV5SmtmbjlmbHh0Zmh2QTl1U3RlWit1VWgwa25WK3JmbHhPN01ZUm5r?= =?utf-8?B?R0J4M1Y5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?B?RjVxdnhROWRJc0loSGlUY1lmb0gxUTBpdFZTeGswdTlNZXBrL0hoYVhrNytj?= =?utf-8?B?NFBWR3FMdStKZWhxak5HZlBQSEUyZnNkZnhPTnluSE9GYTdJRTlYdWFiSERI?= =?utf-8?B?NEsyUU5wU2JaNmgwbGxnakttUkZnRjlCRVZNc2xreUI2anZxcFZxdEYrV2hp?= =?utf-8?B?Ty9hb0ZNR1J0d05WVmpGRU9oNitWZitrNTI4aVNVNEhYT1JvM01rUFh5aXFr?= =?utf-8?B?U2UrN2t0SkxoYjZWM3M3L2tha2tBbnZqRE1kZ0F2dU1KNjlSYlpDcnJ3cWlJ?= =?utf-8?B?dVFFRnVSZ3l1ckRmazZyQ3JpRDdQcW5oRS9YcTEveTV0QW8zSWEySm54cFh3?= =?utf-8?B?aS9Sdi9samdMbzlXSFFzVFVnOGFqZmdXbXpEK25iUmttVk8wOUF4djlXOW9F?= =?utf-8?B?b3pBRTNvU0hRbHFHd0o0ZWtQQStzb1NISDRoaGRKTmlHQVpLQkIyM1I4R0Zm?= =?utf-8?Q?ots4w2igLq0x57xjU15Lpv2Az?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: fa2082ac-4102-4994-9aee-08dc53d72629 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2024 12:11:10.5577 (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: l5vM4w3oVEoVnDtLDlZDWADg3GR8dLuZ1Sx97oYGiwSR3cj9JXay7RhtORj0VliU X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB5634 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 1/9/2024 11:07 PM, Stephen Hemminger wrote: > On Tue, 9 Jan 2024 15:06:47 -0800 > Stephen Hemminger wrote: > >> On Mon, 8 Jan 2024 15:13:25 +0000 >> Konstantin Ananyev wrote: >> >>>> I have been looking at a problem reported by Sandesh >>>> where packet capture does not work if rx/tx burst is done in secondary process. >>>> >>>> The root cause is that existing rx/tx callback model just doesn't work >>>> unless the process doing the rx/tx burst calls is the same one that >>>> registered the callbacks. >>>> >>>> An example sequence would be: >>>> 1. dumpcap (or pdump) as secondary tells pdump in primary to register callback >>>> 2. secondary process calls rx_burst. >>>> 3. rx_burst sees the callback but it has pointer pdump_rx which is not necessarily >>>> at same location in primary and secondary process. >>>> 4. indirect function call in secondary to bad location likely causes crash. >>> >>> As I remember, RX/TX callbacks were never intended to work over multiple processes. >>> Right now RX/TX callbacks are private for the process, different process simply should not >>> see/execute them. >>> I.E. it callbacks list is part of 'struct rte_eth_dev' itself, not the rte_eth_dev.data that is shared >>> between processes. >>> It should be normal, wehn for the same port/queue you will end-up with different list of callbacks >>> for different processes. >>> So, unless I am missing something, I don't see how we can end-up with 3) and 4) from above: >>> From my understanding secondary process will never see/call primary's callbacks. >>> >>> About pdump itself, it was a while when I looked at it last time, but as I remember to start it to work, >>> server process has to call rte_pdump_init() which in terns register PDUMP_MP handler. >>> I suppose for the secondary process to act as a 'pdump server' it needs to call rte_pdump_init() itself, >>> though I am not sure such option is supported right now. >>> >> >> Did some more tests with modified testpmd, and reached some conclusions: >> >> The logical interface would be to allow rte_pdump_init() to be called by >> the process that would be using rx/tx burst API's. >> >> This doesn't work as it should because the multi-process socket API >> assumes that the it only runs the server in primary. The secondary >> can start its own MP thread, but it won't work: >> >> Primary EAL: Multi-process socket /var/run/dpdk/rte/mp_socket >> Secondary: EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_6057_1ccd4157fd5 >> >> The problem is when client (pdump or dumpcap) tries to run, it uses the mp_socket >> in the primary which causes: EAL: Cannot find action: mp_pdump >> >> Looks like the whole MP socket mechanism is just not up to this. >> >> Maybe pdump needs to have its own socket and control thread? >> Or MP socket needs to have some multicast fanout to all secondaries? >> I replied to old email but you seem already figured out the root cause. So when a secondary sends an MP message, the registered MP handler in another secondary is not called. As you suggested fan-out to all secondaries with a flag in the message can be an option. And one of the reasons MP socket added was, when a device hotplugged in secondary, this new device populated both in primary and secondary. And as far as I know if there are multiple secondaries, device populated to all, not via secondary to secondary communication, but via primary to all secondaries communication. So some kind of fan out to all secondaries should be happening for hotplugging device usecase.