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 B02C2A034E; Thu, 24 Feb 2022 16:24:33 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 72BBC4114D; Thu, 24 Feb 2022 16:24:33 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2131.outbound.protection.outlook.com [40.107.22.131]) by mails.dpdk.org (Postfix) with ESMTP id 31F4940040 for ; Thu, 24 Feb 2022 16:24:32 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LUfIj8ggYLxC81IAaPqHOhuidgJqItTUx9RhHuAV+BmanzNGWmQhD8ppMIAzECMv0fV4H08R1+/WmEGsC3lEhaoo4MTGVotdKAb8o9KOVZQNfdTieRAGhsNSntCqzppqwco5Nlo9zAQHrRiTP4NmW7LnbcdvBUEKpO7BtXQJByCyFRnArLQWQy+Ygs6A1Shb/6aDYCPDzyXyKgJeAJRpAokzb6AFEBPHWoF2BTYCMbcXidt6O04s/ryPbPyWU/gUiRJYj7xgmH5klIYTYMGM+BOFR/DC1RhwzqZhkTIM5DjsEezdh6AyCENT4bx71vZGtFJQyVfvnintnHkqmFrXqA== 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=oVqLXwrSxxZeP+RaOH2i76tKj4fyERm/HrnIn8OF87M=; b=CRMGepvc2/f/dCORXKnxqv7dSdLEfy5rBpMrffuTSeHQjVhxdKf72FQhcMVZH8U7QdGOXOGdPjbGik5yQeKzPVweAuL9iHayuZKpv+SoC6dhaa+J8qCIth8T1ssjzjOPA27M1qq/kMOaBkOb+g4RIAx/Zy7/rTtR4so4toqPcvCNa5PX6d2S8jmdRS8olZ3KalzVMBecShiuEC5p56cVwoWdWXwaanftpi/tr30aq3m+7wSVir6dxUxu+ATJ2MHspf2wzPPUMOfc34YHr1+Sa9ZkTq4DZ4DBOpNfqiSCRgM069Cz8lqmdpbkx7mT9NKcDpQXwCaBWv0OJjkUdVKRJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silicom-usa.com; dmarc=pass action=none header.from=silicom-usa.com; dkim=pass header.d=silicom-usa.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=SILICOMLTD.onmicrosoft.com; s=selector2-SILICOMLTD-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oVqLXwrSxxZeP+RaOH2i76tKj4fyERm/HrnIn8OF87M=; b=PoGjVxBIEOsKIjq3fH+fiQcDfsod8GxNPUGcPSSgYiTzSOFGOvH7sH+JLjmW6mLxbXD0pzKDDWXJCTdRgROvaV5kjPjuXcby6Rm38ZW9Qt+Ux88is0j59if4o8oYXW5vSVDxmBG0gTZUy7gC8ACECs1snHbJ8bn8ZZjYOQS9MWU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=silicom-usa.com; Received: from VI1PR0402MB3517.eurprd04.prod.outlook.com (2603:10a6:803:b::16) by AM6PR04MB4200.eurprd04.prod.outlook.com (2603:10a6:209:4f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.24; Thu, 24 Feb 2022 15:24:30 +0000 Received: from VI1PR0402MB3517.eurprd04.prod.outlook.com ([fe80::60a7:f65b:9a18:4d71]) by VI1PR0402MB3517.eurprd04.prod.outlook.com ([fe80::60a7:f65b:9a18:4d71%4]) with mapi id 15.20.4975.021; Thu, 24 Feb 2022 15:24:30 +0000 From: Jeff Daly To: dev@dpdk.org Subject: [PATCH v3 0/3] ixgbe SFP handling fixes Date: Thu, 24 Feb 2022 10:23:54 -0500 Message-Id: <20220224152357.12277-1-jeffd@silicom-usa.com> In-Reply-To: <20211206221922.644187-1-stephend@silicom-usa.com> References: <20211206221922.644187-1-stephend@silicom-usa.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BN0PR03CA0043.namprd03.prod.outlook.com (2603:10b6:408:e7::18) To VI1PR0402MB3517.eurprd04.prod.outlook.com (2603:10a6:803:b::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 48a4270e-62b1-482a-2e8e-08d9f7a9c055 X-MS-TrafficTypeDiagnostic: AM6PR04MB4200:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mizeM6eQoh1EQHYKe7nVYSMhrtzSixgjrWT9KLc5dGSbtlO+NdbT4ynoIVDf3lzHWcIekNrlabn08p10ADjYz7fcfjiRNbsglYGvIQqYX+s7a3mD/65CVa8cixSQ9CT0fC5gsdk3hYAs/9BeU0o9sMBX9Cup84QOME2QbXlyaL5yES/mUApt9A9p8C6KcxIwSaBrY5Y+t1zZiRheUgDelenCMV1yBQsQpSZa5zDCvD8Oz1ccY90Rav37gNx9NH8P3+qDXyU4O7hRHHWrP0y6nFlwvtZ9txdccmwknyZpLFP1qroKePXBqMfcqDbBne46gnkE6EH2xOLHgpWAmfI6JgfUaBs+7i/MgiaCGGWmuvMpwdHBC2pzbrsqxCtAcq32S8aNCAIedVF66kwH0fI9574l5h+iXgMzO28FeUyxV4Fx/oCh0jH1CxrGj8n4nuEXp+LfL+k+1BJYG+BCGP59oI8zckEkZZePfeVpMVma0rLauVOzFDARTGwnfJM5hkMwqYJoXMgoKvmHjnPmSUXzYRVfuHBlVyLUQlR5++PZJ9DJ8qCcXDdhLEpCa257qXwQQhlAmJdE0CDj8nIs9g4cNVx6Cc09uBlHjYnOz2CQVDtxYfcKOXIZvs4w1R2nbjhNz7bCuDVV76q8z0BEND3kosi7o3NoYxKePsyOsK36Jj/2w6W6M5plOmlwBEb0Nb4P4x5P/EXedWE6WbQDxOqfcg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0402MB3517.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(8936002)(5660300002)(66556008)(66946007)(36756003)(8676002)(2906002)(38350700002)(38100700002)(186003)(316002)(6916009)(4744005)(6506007)(66476007)(26005)(52116002)(6512007)(2616005)(1076003)(4743002)(6666004)(6486002)(508600001)(83380400001)(86362001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ReNf6fT+KD3PNoUcgytzlGh8iVNvoCSAUXclFrYpY9t3tDS4YHV9g8ym2DH6?= =?us-ascii?Q?ymnDdAKCVXP1N6T2RGpbkc9JpTHEmU7wKWXFRP9pYw9vo9/WaJOfXom86uoe?= =?us-ascii?Q?eyIzX7LjYfm6HDtgVxL9b+8KmBnkOhI+Dj6px+t143e6HBG7LureNWVjREuS?= =?us-ascii?Q?PLV+4rm6jH6W+lSsBoGdp6WRsa5p7klpv9x3Jl2lBcxVGRYhQOiKN5CsZnLj?= =?us-ascii?Q?b3E8mldRpI6PFrkpKgveckHMIyxCTfRJ9dcAbW+gHYMbZfQGkZX4peKNUGBA?= =?us-ascii?Q?CeqgQloVhaxTHhZ6FrM0qHqxkUSjwwagnl6MPB5Oprg+iDl5iFYhYkDPBl8B?= =?us-ascii?Q?cBfs0fgKZbUYC8cog44Y9FVt6qLxSkSknD/AxH2eiJ/Ew6xWp212DTnOlnr6?= =?us-ascii?Q?xjWtPe4VVqNuzcSrAek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= =?us-ascii?Q?KMLNNqL+ZHDO39fWSrSl6utxwt+RNiKe/J6uANyPb8ja+MDEAj5AMpZoBpfO?= =?us-ascii?Q?nywor0Oxc1K4y257AwmX1BNlMt6OL/RqZC/KPhEoJ29i1XhgVejw+zE+X3ML?= =?us-ascii?Q?Htmbc3Qgoj6JoA+XOvkcT2ftYJKolxNIT2rmB4a6P913QX1AH+8xHSHPgLe9?= =?us-ascii?Q?LSzAjcGIta8YjCt6v45rkw2qjHlbWg06OZhMUhahYAAn5JErEOQdGYC60+GO?= =?us-ascii?Q?KgG9EOkGEtuL3SrXFzw2vWBa2zR0TDmhjjLpeXnuWy7gT8MXKs5QOc0/Teaf?= =?us-ascii?Q?lfK9GWcfg76KeK3+CMakdSY=3D?= X-OriginatorOrg: silicom-usa.com X-MS-Exchange-CrossTenant-Network-Message-Id: 48a4270e-62b1-482a-2e8e-08d9f7a9c055 X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3517.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2022 15:24:30.0946 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: c9e326d8-ce47-4930-8612-cc99d3c87ad1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: l+6q0Kc96NqKdi8DItWiBVQyccQrkuMwemTp6qFwn5ZG1JSYlCkhdwYrgajsSdHrAYn7LcOqRoAIlHUWDiNQKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4200 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 Hello all, We have several platforms based on Intel's C3000 series of SoCs that have integrated ixgbe devices (X550EM) operating in the "Native SFI" mode (the 0x15c4 device ID). This set of patches address issues with detection and hotplug of SPFs. This is the first of a series of patches to refactor the initial work that Stephen Douthit submitted last year, splitting the issues into separate logical series. --- v3: * Moved code back out of base. Jeff Daly (2): net/ixgbe: Limit SDP3 check of TX_DISABLE to appropriate devices net/ixgbe: Fix SFP detection and linking on hotplug Stephen Douthit (1): net/ixgbe: Fix ixgbe_is_sfp() to return valid result for X550EM_a devs drivers/net/ixgbe/ixgbe_ethdev.c | 704 +++++++++++++++++++++---------- drivers/net/ixgbe/ixgbe_ethdev.h | 14 +- 2 files changed, 502 insertions(+), 216 deletions(-) -- 2.25.1