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 36ABC4407A; Mon, 20 May 2024 15:52:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C97424028B; Mon, 20 May 2024 15:52:55 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2055.outbound.protection.outlook.com [40.107.94.55]) by mails.dpdk.org (Postfix) with ESMTP id A52D7400EF for ; Mon, 20 May 2024 15:52:54 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Le8uzRERtyxfM6AjO+35yldqJbae+1BoJBPGoMuYEpAJze7QFepPC4Z7nui7ImDIQaJ/neDQHHVkOBwByVlf2QpFKIa2WLxz70jB76x24tJ6xsMhdJL14YN/DbN1FZY71gEUmGzPrXONqwpMCMYyb1N39MlBkyCd+eZ5/nRA9uc13hMUCKimSy7RMdTjqxkEqBiS1n3ZWwnWwQKpNmQHptjI/+4e4WKC6WTPMG7WKCIv0gULOFYXNYQrUJK51MIbjUW0woj4s/utwK8lZgyihGyGe2NaxNvszOH/7hdYbt+JHd0Qc3uDmeLQJVJyaql0ufzq0gpWMfyBIVy3TccDVA== 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=cFR/eJYoPqUf+RjImhxhAtKM+HNRKqsnoT6mm/tdVzo=; b=dbur6+SFHWdTw0gYZdZIUxv1JH5Zh2Tqcx0ioSm4z04RHut3HopeBKS1vV2Si5t8GJrPh/AuG8B80oHv/SIVIsUGHVkMAD5ZksPtMrDjDwpGUqRNrvJ118smpecFiGeOKaBg0IzWPImqPrWUaQJvrw2YImj/+SFmKuOR3AujCgbrs3beYqam2KvX/p7UWbkc7lOuz7WoMtAT5BdQ+Qu4wDIMeSPFtMctljhRKJ17e45RHNxkuxtTPXfVpNxA2xrKJihRI1ywCYAJzVQuR9zhtx8Y/jni7wX1dvZt5317ZXLft7BT8TEXO09zCWmhlnDl13FLvE7X2oiv3ntQwqNhRw== 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=cFR/eJYoPqUf+RjImhxhAtKM+HNRKqsnoT6mm/tdVzo=; b=nJHGiG7p2ueyaYw7/ThzxtXSO38Grlnh3dhshZ0tP5sQ5z5ltLKGzzhUnVCG14uWAORu6uVNAO5bYaEJkmzoraSWSjW5mkdNkPG/DICGE5tnWeWzrnuj0m6jAaI/vjPO1yS7DSigewo6/WGjaHGYfXOOLQz5QuKzG2D4p1zrj30= 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 LV3PR12MB9185.namprd12.prod.outlook.com (2603:10b6:408:199::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Mon, 20 May 2024 13:52:52 +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.7587.035; Mon, 20 May 2024 13:52:52 +0000 Message-ID: <1833ae2b-76e2-49ff-8b8d-e10eba462e81@amd.com> Date: Mon, 20 May 2024 14:52:47 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4] net/netvsc: fix number Tx queues > Rx queues To: =?UTF-8?Q?Morten_Br=C3=B8rup?= , Alan Elder , Long Li , Andrew Rybchenko Cc: dev@dpdk.org, Stephen Hemminger References: <98CBD80474FA8B44BF855DF32C47DC35E9F40B@smartserver.smartshare.dk> 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 AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKK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Te2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F40B@smartserver.smartshare.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LNXP265CA0015.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::27) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|LV3PR12MB9185:EE_ X-MS-Office365-Filtering-Correlation-Id: 99d6232f-a839-4f37-ebc0-08dc78d4244f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|376005|1800799015; X-Microsoft-Antispam-Message-Info: =?utf-8?B?ZGdkSWEzMG9iVEtESlRrNEV3K2ZTSEdrQUFlbzEwY2x6bERWblpHczNyK3Z3?= =?utf-8?B?VVVVSFBFS1BJTU5pMnozajlaT0dzT3pBdUt2RkU2aEgvZmE0RGV3WFdmRlB6?= =?utf-8?B?THBURjJ0bnpKOGJXdU9aQjVVZkxla0UwMHp2NDhqVjcrZEJ3SDJVZEcrMGxQ?= =?utf-8?B?cGxQUmIzUDVDbkZWYU53Yk1uckxWU3JsQ0RWMGRoSGtXdWljTnZyeXRMSGhX?= =?utf-8?B?TGtoLzB5dG1zWXpSb0J5aS8xYXNUdlZOd1dUaGVUZWd2SlpMQmtrTkluWENW?= =?utf-8?B?dGFkREwwSkVJa3VINXErQVArbEpZYkpHei94QkR3cmlUVTdSY01PUnRXNkpQ?= =?utf-8?B?NzYyeHQ1VGp4QWVjQmp1aThOZW1wNmtaM2plb09XYWFqRWkvcXA4bUl4dWs5?= =?utf-8?B?d1hEZGdQTlJDUGlPMWRZb1lremgraTB0aGV6LzJyQVJldWZSV21qajdYeTlR?= =?utf-8?B?Nmc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?= =?utf-8?B?VUZ3V2xUSHJQbUFBRFNmUDZyZHdVUy9GQVVTUEtGSkRVb3U5a1FmNzhOL2Zx?= =?utf-8?B?RU5vbndrVGpvUDBSOE5NWHFUMVkvS3ZBVVpXMVZGNUhRaHNJT0RZT3U1NDE3?= =?utf-8?B?dmRxb0c5dkE2WTZPVTFZeVlSaEd5Rjl5SWtUWW51YUU1d0IvZWw1L1JFTk5x?= =?utf-8?B?V2haUHZ1WENTWllTZGsxUWVYUDE2d0hZd0ptWjZyZ3ExcVVoWFJESEE0MEpa?= =?utf-8?B?NDZ1ZzRhMHVkV1o4WFY1bUk0Sk9hdTg2YXNMSENWZ0NXUEw3OUNGOCtGOU5z?= =?utf-8?B?WDZmZmVISnZJcmNSdSt6dS82eVg2a3N6ZWEyYXZRSlQrbUZhbGlRZGJRPT0=?= 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)(376005)(1800799015); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YlNueGJORHB1SHZRLzNNNjhEYkVKWk92MFk5STlVWnV1bWthQVVzK2s2Qno2?= =?utf-8?B?dkJBSngya0VaQ3BEVU5uMjBEU1dSaDEzT1BHUktON2taYXVHbWxQOWhZLzJO?= =?utf-8?B?bGhaNGxaN3o3MXh1RlR3ZTFTdXhFRjFPcm5CbHB4cUk4RjlqR0pXRmIvVUc4?= =?utf-8?B?cVlPbE1TWWpsT0JVeERncnAvRElYbzA0c0dRUjUxSlFITGxNV2xUS05JekRh?= =?utf-8?B?WXAya3oyNzhXL3lNaHZIdmllWHlKanVoSUs3Wjl4WlF2K0ozWWNmVE8yWVFr?= =?utf-8?B?eHU3NFZjRFp2YWhSblhTYi9qeGhVbldEUDVLOGJaS25ndDc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EmHgbaVgw?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99d6232f-a839-4f37-ebc0-08dc78d4244f X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2024 13:52:52.0575 (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: hXo9AcwbPINJdcDY/cQeA9Br41lFFPEww8njbB0cFVfdlDk+flhBE3Prjp+eMclz X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR12MB9185 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 5/1/2024 8:43 AM, Morten Brørup wrote: >> From: Alan Elder [mailto:alan.elder@microsoft.com] >> Sent: Monday, 15 April 2024 16.41 >> >> The previous code allowed the number of Tx queues to be set higher than the >> number of Rx queues. If a packet was sent on a Tx queue with index >>> = number Rx queues there was a segfault due to accessing beyond the end of >> the dev->data->rx_queues[] array. >> >> #0 rte_spinlock_trylock (sl = invalid address) at /include/rte_spinlock.h L63 >> #1 hn_process_events at /drivers/net/netvsc/hn_rxtx.c L 1129 >> #2 hn_xmit_pkts at /drivers/net/netvsc/hn_rxtx.c L1553 >> >> This commit fixes the issue by creating an Rx queue for every Tx queue meaning >> that an event buffer is allocated to handle receiving Tx completion messages. >> >> mbuf pool and Rx ring are not allocated for these additional Rx queues and RSS >> configuration ensures that no packets are received on them. >> >> Fixes: 4e9c73e96e83 ("net/netvsc: add Hyper-V network device") >> Cc: sthemmin@microsoft.com >> Cc: stable@dpdk.org >> >> Signed-off-by: Alan Elder >> --- > > Is there any requirements to the order the application must call rte_eth_rx_queue_setup() and rte_eth_tx_queue_setup()? > > I.e. does it work if rte_eth_tx_queue_setup() is called before rte_eth_rx_queue_setup(), and in the opposite order? > > > Although the ethdev documentation says: > > "The functions exported by the application Ethernet API to setup a device designated by its port identifier must be invoked in the following order: > > rte_eth_dev_configure() > rte_eth_tx_queue_setup() > rte_eth_rx_queue_setup() > rte_eth_dev_start()", > > I would assume the order of calling rte_eth_tx_queue_setup() and rte_eth_rx_queue_setup() doesn't matter. > Same, I am not aware of any strict ordering requirement for Rx and Tx queues setup. > > And the rte_eth_dev_reset() function documentation has rx/tx queue setup in the opposite order: > > "After calling rte_eth_dev_reset(), the application should use rte_eth_dev_configure(), rte_eth_rx_queue_setup(), rte_eth_tx_queue_setup(), and rte_eth_dev_start() to reconfigure the device as appropriate." >