From patchwork Wed Oct 23 12:43:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Piotr Kwapulinski X-Patchwork-Id: 2001031 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=osuosl.org header.i=@osuosl.org header.a=rsa-sha256 header.s=default header.b=NE/2R3XL; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=patchwork.ozlabs.org) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XYTKT1pQzz1xw0 for ; Wed, 23 Oct 2024 23:45:17 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 9F1D860757; Wed, 23 Oct 2024 12:45:13 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Ivi9oeA9XfVn; Wed, 23 Oct 2024 12:45:13 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org E65B760775 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1729687513; bh=RpzpUeJyWZc3grDyx6oocC0U4yl3AS7LK4cH+cv+2Jk=; h=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=NE/2R3XL/GF4xQpE0iPzV3nWFb2/ZXzjqCHZScJqSW0vN9CAnU8lNcp1O7nXzaW9c 3XWkC/kZI/dcNW77ucmeOZATJYGAx73tI4fmV6Sr4ZMa0dVlH1WtsJ7aWf8TWGFqBB HoRgeuc3zMeadfBEysrQYOjz+3RSMROFtw6mV1f9Vy5hSSGhNjAEpMbt2zNrQE3MPp uT7esnXAOGFQueEMTyWnMFQQFMOtqJvez4koquEZsE8nUWqqVaUJBsSNM6MpIbedyG II87yetNaw9od4SAxPaaBASxH4EN8BAcT3HgO3Fi9aruC5XmPtCKGwrM1XROu96en4 p4hWog/IrRnyA== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id E65B760775; Wed, 23 Oct 2024 12:45:12 +0000 (UTC) X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists1.osuosl.org (Postfix) with ESMTP id 2846459B4 for ; Wed, 23 Oct 2024 12:45:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 09162409FB for ; Wed, 23 Oct 2024 12:45:10 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id yUb5wt0cdnpP for ; Wed, 23 Oct 2024 12:45:08 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=198.175.65.9; helo=mgamail.intel.com; envelope-from=piotr.kwapulinski@intel.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 73F7440975 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 73F7440975 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by smtp2.osuosl.org (Postfix) with ESMTPS id 73F7440975 for ; Wed, 23 Oct 2024 12:45:08 +0000 (UTC) X-CSE-ConnectionGUID: OoCmdB6AR1+N3ARicpgYlw== X-CSE-MsgGUID: PtDm6MYgQCq/AciTEOVtvw== X-IronPort-AV: E=McAfee;i="6700,10204,11222"; a="51814059" X-IronPort-AV: E=Sophos;i="6.11,199,1725346800"; d="scan'208";a="51814059" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2024 05:45:07 -0700 X-CSE-ConnectionGUID: VuFzFYlVSqKSMS17MsOL7g== X-CSE-MsgGUID: g1bihl7gScStsMuspdIHSQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,226,1725346800"; d="scan'208";a="80119711" Received: from pkwapuli-mobl1.ger.corp.intel.com (HELO vbox-pkwap.ger.corp.intel.com) ([10.246.19.66]) by orviesa010.jf.intel.com with ESMTP; 23 Oct 2024 05:45:06 -0700 From: Piotr Kwapulinski To: intel-wired-lan@lists.osuosl.org Cc: netdev@vger.kernel.org, Piotr Kwapulinski Date: Wed, 23 Oct 2024 14:43:51 +0200 Message-ID: <20241023124358.6967-1-piotr.kwapulinski@intel.com> X-Mailer: git-send-email 2.43.5 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729687508; x=1761223508; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=xwAyI5JyxS35wE+3qzFW0EIOwo9s6HxY4SXzlRAjhQA=; b=BOcLWyS5GavBPdWGSYZjVHdAKEeQtoyi9n/3y3YS0BeuSlnn1eKqZiR7 xrr/WzX4zCVHWJWAqKAHEJndW97BkgtUYron12JC4P3JA/kWe5DdO8i/g mBBjXjpAcDmW/YoRkAHgNXaG5GwucBrlLHkoKLutvXhejV939N2p36laZ IlcjgTuFzLCxz1aiN1DCREfj6gSgpBDOvEu5hP4BPnfCbTPN4WWVT82gl 3VlIm86vTmOZvsy+Yo4+h2cDu/wnQHwix/r5RBlHZde16WTm3ijM21b/R m5Gi8a2twEYj6OlZem8D/fBELA4TUppoQZ3DssO0uC5RiZEx4UBMCYFjk w==; X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=intel.com X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=BOcLWyS5 Subject: [Intel-wired-lan] [PATCH iwl-next v10 0/7] ixgbe: Add support for Intel(R) E610 device X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" Add initial support for Intel(R) E610 Series of network devices. The E610 is based on X550 but adds firmware managed link, enhanced security capabilities and support for updated server manageability. This patch series adds low level support for the following features and enables link management. Piotr Kwapulinski (7): ixgbe: Add support for E610 FW Admin Command Interface ixgbe: Add support for E610 device capabilities detection ixgbe: Add link management support for E610 device ixgbe: Add support for NVM handling in E610 device ixgbe: Add ixgbe_x540 multiple header inclusion protection ixgbe: Clean up the E610 link management related code ixgbe: Enable link management in E610 device drivers/net/ethernet/intel/ixgbe/Makefile | 4 +- drivers/net/ethernet/intel/ixgbe/ixgbe.h | 14 +- .../net/ethernet/intel/ixgbe/ixgbe_82599.c | 3 +- .../net/ethernet/intel/ixgbe/ixgbe_common.c | 25 +- .../net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c | 3 +- drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c | 2552 +++++++++++++++++ drivers/net/ethernet/intel/ixgbe/ixgbe_e610.h | 76 + .../net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 6 +- drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c | 3 +- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 436 ++- drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c | 4 +- drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c | 5 +- drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 72 +- .../ethernet/intel/ixgbe/ixgbe_type_e610.h | 1067 +++++++ drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c | 12 +- drivers/net/ethernet/intel/ixgbe/ixgbe_x540.h | 7 +- drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 29 +- drivers/net/ethernet/intel/ixgbe/ixgbe_x550.h | 20 + 18 files changed, 4290 insertions(+), 48 deletions(-) create mode 100644 drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c create mode 100644 drivers/net/ethernet/intel/ixgbe/ixgbe_e610.h create mode 100644 drivers/net/ethernet/intel/ixgbe/ixgbe_type_e610.h create mode 100644 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.h