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 42E4B44077; Mon, 20 May 2024 12:44:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 28B8C40A7F; Mon, 20 May 2024 12:43:35 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2057.outbound.protection.outlook.com [40.107.94.57]) by mails.dpdk.org (Postfix) with ESMTP id AC37A40A75 for ; Mon, 20 May 2024 12:43:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gtDV3qieZsC+VMIS1RkA/r5zPD2A2lIJPcL841vm6yHxKJ3YLDpdqer8vbiP2zACsD1jr0VPDTAAs0Ag26a7QBbwBz/P1hL8jihAVNGqN2eegDjwtaBnwXiPW0PHeJsK4MJVaZazNijvzV9/CLz7whOvM67welsq1M0AoEUrXUoy0g3huAkf8HLeM7vmBSEbAuYZywmKhe9rTqxG6lPzQja0fKqZJeQPetGQoTq/DA1iChv1cqDPmONq6RqYsrAzEgwxSFcb6Ev0yfXxQwYm8EC9yUoipbIi0RqcZn4ZOBxxPOQDKOWHqTl0sCKpsD/DhGrngv/qDI0GMf6VOv1VHA== 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=StTRgK7ZaqN7CidMc4LZbTAORaVVQTrpgg1QqrqgqG4=; b=kXTK+garJOKfy+m+4uc0x8jSjBnZ6ESjYMnu2PvKrwJDGFO0nrJuAVlRqyRsxJcVuWjar7CnxbMvEW6c/o7IUdKOJ0/fHWYx/ouHHsJYObwLUD/ov6pF6TDKOTd2qYsUFlPAsEwEt8ZDYrgqC/3b3GRsnnX7GbFkNGhaxahyzE1biAF2b/iyZ6B3Ht+rCUN7T72PKeCN3IgkuwFsl+PLBwVbRA++mQ9Fdpv8k/7VaTOueCKTug706tuYa/qlR9EN4xfLdDHxb6GqXrDhpNcD3+DGsGyzTjZxWpe2k3xVeYqqHg+U1OQQ3c528ucSf75oWHsiA0/S3/XD9a/vTUaZhA== 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=StTRgK7ZaqN7CidMc4LZbTAORaVVQTrpgg1QqrqgqG4=; b=I54ULxybOz1nRiOGE13Bk5CLWEJ7cmBY3aQpdX2ffeVpb6QFKX3uBxk7DFihOHL8n66tcUY1mK+NonrEhAbHI5yGchnN+SPIy7h4fgt/BsyrRTWnQpoVxQ4jQPYt27+vzcdyfrM/yLNWMf4tdY2rnw2VYgyk9rO++2InotK9UX4= Received: from DM4PR12MB5055.namprd12.prod.outlook.com (2603:10b6:5:39a::20) by DS0PR12MB7607.namprd12.prod.outlook.com (2603:10b6:8:13f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.36; Mon, 20 May 2024 10:43:31 +0000 Received: from DM4PR12MB5055.namprd12.prod.outlook.com ([fe80::acbd:ea93:4496:51a5]) by DM4PR12MB5055.namprd12.prod.outlook.com ([fe80::acbd:ea93:4496:51a5%7]) with mapi id 15.20.7587.035; Mon, 20 May 2024 10:43:31 +0000 From: "Sebastian, Selwin" To: "Ande, Venkat Kumar" , "dev@dpdk.org" Subject: RE: [PATCH v2 24/25] net/axgbe: extend 10Mbps support to MAC version 21H Thread-Topic: [PATCH v2 24/25] net/axgbe: extend 10Mbps support to MAC version 21H Thread-Index: AQHaoHxRNRrsGQvg+UO7qDUN9dm2FrGgBB2w Date: Mon, 20 May 2024 10:43:31 +0000 Message-ID: References: <20240412125013.10498-1-VenkatKumar.Ande@amd.com> <20240507124305.2318-1-venkatkumar.ande@amd.com> <20240507124305.2318-24-venkatkumar.ande@amd.com> In-Reply-To: <20240507124305.2318-24-venkatkumar.ande@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_dce362fe-1558-4fb5-9f64-8a6240d76441_ActionId=c005322b-8635-4654-b32d-6fa13e7a9b46; MSIP_Label_dce362fe-1558-4fb5-9f64-8a6240d76441_ContentBits=0; MSIP_Label_dce362fe-1558-4fb5-9f64-8a6240d76441_Enabled=true; MSIP_Label_dce362fe-1558-4fb5-9f64-8a6240d76441_Method=Standard; MSIP_Label_dce362fe-1558-4fb5-9f64-8a6240d76441_Name=AMD Internal Distribution Only; MSIP_Label_dce362fe-1558-4fb5-9f64-8a6240d76441_SetDate=2024-05-20T10:43:25Z; MSIP_Label_dce362fe-1558-4fb5-9f64-8a6240d76441_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR12MB5055:EE_|DS0PR12MB7607:EE_ x-ms-office365-filtering-correlation-id: 1db9e22c-2f42-411a-e42a-08dc78b9b13b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230031|376005|366007|1800799015|38070700009; x-microsoft-antispam-message-info: =?us-ascii?Q?3sdUY50bDDjKCg6sM9zJhMZC4A+CzKF+DXdLhBUc4r4A2ino3MPQ6hX1zlqC?= =?us-ascii?Q?LqJdeIOsQIJy1998V1WbDBNY8H2nI4jUE6Tzd+WgtmQLuD6NBFMe0kKPAnv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g2rwv5XuIaGXLI6wiVugdpkd/+rbUSK0WDMFLLO2L?= =?us-ascii?Q?SV2sZsefBCDurRMoG3V3av3IOpStRN/clauB0LBUHEvGQoyEoGAqz4jCL+9L?= =?us-ascii?Q?/Dx18iLbAPOlPn9jDadpwTIMHkkLfa2YYH5mguSSGPuYwMQvXY6prljAEO6/?= =?us-ascii?Q?lTP+OgYBEp/Bb/FxSJ8V2pThT12x7uS0FSFdODYQZgHO1m4b/qg2kJ4FuIfW?= =?us-ascii?Q?WbGAn3RNIixQ7yRKqp37KFdbUexQgtJbwv3d5KhTXuo+HFtku1EWyXLnMDf8?= =?us-ascii?Q?BmLn1fUxQERjD333BkHqEEyarBaqP3Vxh/f+gud6Ir7kdqAHe1+zp6JkCPa5?= =?us-ascii?Q?4F4Czz0j6HV3XB3n67EK2Ob/ebkkRwfASQR2Ng+LlT0tbw=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5055.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(366007)(1800799015)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?cN37dOhzlGgrSxSDaWCimy10d7qncdxYwl/sdbKfYeikb0sha7kKkP8PZRhd?= =?us-ascii?Q?XPJxPFN0dphb0hw/mfU9uo2Allyu0/KI3PjucAtrOVCDMkm9Rrfq/f4VoIDR?= =?us-ascii?Q?l9prKM5nCdSAY5zI1VPkE4LGITpP1PEfRLuARj07LiGqoOqW+1VDBF+/HbJm?= =?us-ascii?Q?gCphrPatbaAo+3z1iTCPRNj/18/F2phiTaSkdD+PvB3gx8pl0bfGBkp6H3hg?= =?us-ascii?Q?RukEHi1uf6lC0AkyO0LztJQ13SY8HC7JfhywXSqJaOpMsUagurmrGlOsqlzh?= =?us-ascii?Q?W5QpuZkWomD0s1gLd48a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q?N02Zfl2lO5mYKi2wsH90I6KD1qqhmo8PD8Uy9rABxJ2jQCRwNsMY5P7YSnbb?= =?us-ascii?Q?5//PsukreeqMzGR6Bj6vvqE6mMHaEW7SjdZnR2vnCL3KzVEqrwBN3O2tq04P?= =?us-ascii?Q?ncYie8U8PAlxPUR2qoui5B2cfXepxyUeI80XC5PVkGRAW5UoYR13+8u8ABeh?= =?us-ascii?Q?LpLalu3ijv3c+QpmRdAAhXeGOh4O+yaqDl/LkYINku10U39T660aUvfmGV2n?= =?us-ascii?Q?nSMHmZZJx4oTBo1bhfh7qAFN1MqVb4UvUpR4s3Vreo3jtnMUZPd//i6c3/U+?= =?us-ascii?Q?D2SddHm0otesQQM0EQIbrWbdGL3S+8lOfYLRCLfapfZL5+h/gbgAl6RWHGz9?= =?us-ascii?Q?a+RmA+HUb6+Rokl9algsVI+Y6I/O4tyILMaM/27e?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5055.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1db9e22c-2f42-411a-e42a-08dc78b9b13b X-MS-Exchange-CrossTenant-originalarrivaltime: 20 May 2024 10:43:31.7509 (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: H/QO/nHuCZWJoYYR4qSVDT3No6pQDiuhplgcDxOYfSwU4rVymkQCALj0JdJ5+lIAFB/9cJaxDdKzk27HUr+x7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7607 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 [AMD Official Use Only - AMD Internal Distribution Only] Acked-by: Selwin Sebastian -----Original Message----- From: Ande, Venkat Kumar Sent: Tuesday, May 7, 2024 6:13 PM To: dev@dpdk.org Cc: Sebastian, Selwin ; Ande, Venkat Kumar Subject: [PATCH v2 24/25] net/axgbe: extend 10Mbps support to MAC version 2= 1H MAC version 21H supports the 10Mbps speed. So, extend support to platforms = that support it. Signed-off-by: Venkat Kumar Ande --- drivers/net/axgbe/axgbe_phy_impl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/axgbe/axgbe_phy_impl.c b/drivers/net/axgbe/axgbe_p= hy_impl.c index a1c42b7dd4..d41c6e9bc7 100644 --- a/drivers/net/axgbe/axgbe_phy_impl.c +++ b/drivers/net/axgbe/axgbe_phy_impl.c @@ -2012,9 +2012,9 @@ static bool axgbe_phy_port_mode_mismatch(struct axgbe= _port *pdata) struct axgbe_phy_data *phy_data =3D pdata->phy_data; unsigned int ver; - /* 10 Mbps speed is not supported in ver < 30H */ + /* 10 Mbps speed is supported in ver 21H and ver >=3D 30H */ ver =3D AXGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER); - if (ver < 0x30 && phy_data->port_speeds & AXGBE_PHY_PORT_SPEED_10) + if ((ver < 0x30 && ver !=3D 0x21) && phy_data->port_speeds & +AXGBE_PHY_PORT_SPEED_10) return true; switch (phy_data->port_mode) { -- 2.34.1