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 D5842455FE; Thu, 11 Jul 2024 18:51:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9C7A342E63; Thu, 11 Jul 2024 18:51:31 +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 A102842E60 for ; Thu, 11 Jul 2024 18:51:29 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=MRYjV3JISI0TKoUkQPCk7gRDaeQc8f7IOeZzmbbH3H7TqECx7hBY6RMI0quvBDlylMzRsqX+pVy97MzyYfvK2rEpgEsoonTmpFVQtI8X285m7qY583ie3jvj80fr1W/6i2rHF8kohDNHevYMbHSOtfmSXRXJJVYvi8ylr+i2TycsGS4Fw38QI1Q+luu/vmLUrr0mcijdlxeZ4odcvJ6tr8Fg8qaaOpJs9FiDpL6btnYYHqBcumPhLq/GwwGTBwdXaTxW0CfS0ZAeB8D4b4XlrgrR6pd7GjbOj4rm/WCd+oKRGga7aKHhUNgCb1SbZWoJOpqEnk/Q2foDBZHs0v6N6Q== 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=v9b+WS9ZWkeLkAm1k2m91BVk5sVaW0B9Lr6IgEj377U=; b=oRFjY+wK9GikuYy/wpXBHTxYUxtDrDP8r2STk4ZqvMJMDy3ni9d+6XsxqQKlOAeCgZtwidSTDDxMvUrO8KHcyiglCiJeCwjTUXMDs2vUbhhHTyxiULY1T/1NVQMNYkkxy/btya1bV+AXTH/kbQozHxEcSvoh+Sfby9ZabULW05Zr2WejbS9bBmmJ5SufbvqO4sVcdmVbfQSZdmCyvA3GlHKqvc4V2bI5gP/edKd+WQ1MosmxO10FeNnZMkCEaPXlJOr8Sbj2SLWK/TSBqyjXb830AF1oRX98xNf5HVTnffYKAvqWPM2BLWbRES75yTsoEzER26SmJpFwONm1RICHPQ== 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=v9b+WS9ZWkeLkAm1k2m91BVk5sVaW0B9Lr6IgEj377U=; b=L+JZV2b9+ozm4lfYG9rkwxJaZ4LT8mdgdCpS6cuNS9ixAjGxqd8rz0o9P7epXK1R/JHpArTX75zDpkXgVCMsteysxYvF7cgKmEVfJ3u4078J5UVb8vEh6rokxaVCku961E2RuMSzZ7HtHOeG58d0Ora+pydZSZ5PYGqZpqNMhck= 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 SN7PR12MB8770.namprd12.prod.outlook.com (2603:10b6:806:34b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.38; Thu, 11 Jul 2024 16:51:26 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd%4]) with mapi id 15.20.7762.016; Thu, 11 Jul 2024 16:51:26 +0000 Message-ID: <95139f17-4eac-4632-9878-cf85d5f4318d@amd.com> Date: Thu, 11 Jul 2024 17:51:22 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 15/21] net/ntnic: add link management skeleton From: Ferruh Yigit To: Serhii Iliushyk , dev@dpdk.org References: <20240530144929.4127931-1-sil-plv@napatech.com> <20240711120737.698176-1-sil-plv@napatech.com> <20240711120737.698176-15-sil-plv@napatech.com> <9f13294e-4169-483c-bee4-8ea4c2db8070@amd.com> Content-Language: en-US Cc: mko-plv@napatech.com, ckm@napatech.com, andrew.rybchenko@oktetlabs.ru 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 aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsL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j4KUJVse5g3qwV7i9VrseA8c4VIZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <9f13294e-4169-483c-bee4-8ea4c2db8070@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO0P265CA0007.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:355::18) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SN7PR12MB8770:EE_ X-MS-Office365-Filtering-Correlation-Id: dcc047fb-bd1f-4741-2363-08dca1c9b430 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?WllrT3c5anNZTU5UMUttdFU1YmFWYlBGSjI4ejhVekpyTzB1S1BUbEVKblhn?= =?utf-8?B?T2tFaExTMlZRTEc4dHhpbWFuU1htazYzcnRVcVhGOVdLbExGSU5FUGFPZXp4?= =?utf-8?B?ZTBNN0lOUVZiOTlsZUYvQzJCWkRwYUtpcmYzVlZseFZzamJvNGhaQTFyRHNZ?= =?utf-8?B?OWZTUjc3SjdSaWdsM0lIaStOUEsyRVZtSkc2TTZncEF4dU1ybkdwNHZqbGdH?= =?utf-8?B?eldseHpGc01acDFuVktBeUo1U1l2SnNBK0RCRkNnZVZMVTllSytWOVphTW5M?= =?utf-8?B?M1JpbDdXV0xrcSttLzJFakhad0RFZHAySE1FL3gyL3gwdVZDYnk2aUtTdW9h?= =?utf-8?B?TVNrT2tsbTJCQTdoaHZiclkrZ2NPQmV3cHgxMnZMUjZqLzZOcXZSb0M1OE9U?= =?utf-8?B?STFiaDJDbkwwVWFhUW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8?B?THkwbStSQ1RTWEtiVTBiUm5wKy9lSzZSU2d3b2gxeVE5QWJlTEw5Z1p0VUgz?= =?utf-8?B?QVVRSnFIU21QRlI2c3RWemZhZjVPazh6MlBQckFhMWNLaG5PRjMxOEJjSlNq?= =?utf-8?B?UDR1ZHJlbCtqQlBPb2Y4UFBvZEZmUkl1TEdROTZCVDVna1JHZTc1NEZHRG16?= =?utf-8?B?a3Z4MGdwRmNaS0U5UE0zZGZNWGUrM3ZiT0tIQ2FNQldKVnhOZWVCZEpjNGVz?= =?utf-8?B?U09mL0tCc3UvK01jNi9VdlFqS0k2U1FsWFZJeXJIOU1lUmQxL3RtTzZwd2x3?= =?utf-8?B?Y1VPN2lINjgwVlBUR0dSeStJTHp3KzJQTkVCV2R3WEZVV2llNGc1YmFSTUwz?= =?utf-8?B?N1RFZGpHZmpJWnlCa3FiNG5lR1JoR1JFQUlyQVA4UlJVN0ludjRTMkY2Q25L?= =?utf-8?B?SkFORWV3dXZWYmtHM2kxbTgrK1F3Q2FncVN1NVVPVE9KcGVrQy9IMHc5amZP?= =?utf-8?B?aWg3anJvdFhTeWRhMkVoUT09?= 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:(13230040)(366016)(1800799024)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bllhOEFhazd0OWRkRGc0by9BTEM4S3lDZFluNWVpNVZydWc3NEJ5RlFjUFVG?= =?utf-8?B?U0dPY3hTSHNseWtpbmw5ekppM3k1N3FMK0JKeVNtcDNqK0Q4eExhd0h0aTZr?= =?utf-8?B?U0trT2xwTGZFM25zc1pwQTVyL3FvQVp6YWw1M1dQUUNKQmJ2eHRGYzhhZ1VY?= =?utf-8?B?Sk5mQVBRNEtRQzhtYm0v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WHo2ajBLamk4NjNyeER6dUowZy9ncCtZZlF0RmNjSEg3SzNMRVcrRlBCaUJQ?= =?utf-8?B?V05nZEN4aHBndThWYzUrVE44alpMRzJrNGxnalpoS21va2dDWWpmazZ4ZTNK?= =?utf-8?Q?Z+Wd0fLlcrv/0hPe2P6EjGqXV?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: dcc047fb-bd1f-4741-2363-08dca1c9b430 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2024 16:51:26.4906 (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: YucwcDqaNhzQGs2mU0DDIWDKtk6/VyO/Oqdqo9nUkVCPBfEqfQLupX8BZEiCqpXy X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB8770 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 7/11/2024 1:07 PM, Serhii Iliushyk wrote: > @@ -383,6 +658,8 @@ nthw_pci_dev_init(struct rte_pci_device *pci_dev) > /* connect structs */ > internals->p_drv = p_drv; > eth_dev->data->dev_private = internals; > + eth_dev->data->mac_addrs = rte_malloc(NULL, RTE_ETHER_ADDR_LEN, 0); > + rte_memcpy(eth_dev->data->mac_addrs, internals->eth_addrs, RTE_ETHER_ADDR_LEN); > This allocates room for 1 MAC address for 'mac_addrs', BUT in 'eth_dev_infos_get()', "dev_info->max_mac_addrs = NUM_MAC_ADDRS_PER_PORT;" which is 16. This will cause crash if user tries to add more than one MAC, need to increase size of the allocated memory.