From patchwork Mon May 27 15:10:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Piotr Kwapulinski X-Patchwork-Id: 1939971 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=lUnbDFFb; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org (client-ip=140.211.166.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 [140.211.166.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 4VnzCq2cwPz20KL for ; Tue, 28 May 2024 00:53:10 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 21386606C6; Mon, 27 May 2024 14:53:09 +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 FDnsG01UVCDl; Mon, 27 May 2024 14:53:08 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 7836760726 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1716821588; bh=FBxXRJ/p3i5fGd1UYCfxq+fqyf2caVA5BXDeDuKQ81A=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=lUnbDFFb0XZ5eqsMl7hKFUg36HJGVoIi10BQ/7/V79e/gY6H037CVVmYC3FpPQkIi BCyNorMwBRY7iD9v870Q7Q1LuECIvFu6anSmj7GsBwIkblMcSCiMP2uHLXzncDqiEo 3mCHHmM9iTJYznuo+l41/nng4pevjYjUEslEQoF0uJF5cTBr88R7o7JTrhWvyBe2iW q+6xvS/e8sKI+vWssHXx3XsmoJFq3X8g3ygy6MXTprlaElrNRa6liIexF5gv6nEMDE AlZ+LR2EYti/L69pJL49F1foUyXvanmgG9JEYeGLppUINn4GaHTWM9rR+8/KSHtHOz Ry3IvS7/DS92A== Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 7836760726; Mon, 27 May 2024 14:53:08 +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 ash.osuosl.org (Postfix) with ESMTP id E847D1D1DE8 for ; Mon, 27 May 2024 14:53:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id D2A4E40253 for ; Mon, 27 May 2024 14:53:06 +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 hLZKEUeQPD0M for ; Mon, 27 May 2024 14:53:06 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=192.198.163.16; helo=mgamail.intel.com; envelope-from=piotr.kwapulinski@intel.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org DA6074016B DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org DA6074016B Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by smtp2.osuosl.org (Postfix) with ESMTPS id DA6074016B for ; Mon, 27 May 2024 14:53:05 +0000 (UTC) X-CSE-ConnectionGUID: wOE4PO+TQ5+pIdGc9wGzYQ== X-CSE-MsgGUID: esUGZ/O+RuGSvBOwsaZTjg== X-IronPort-AV: E=McAfee;i="6600,9927,11085"; a="11715232" X-IronPort-AV: E=Sophos;i="6.08,192,1712646000"; d="scan'208";a="11715232" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2024 07:53:05 -0700 X-CSE-ConnectionGUID: iC+5xNFOSSGtNsou6gjCZg== X-CSE-MsgGUID: WLCE/uvSQC6GywQIY0nnag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,192,1712646000"; d="scan'208";a="39191929" Received: from amlin-018-251.igk.intel.com (HELO localhost.localdomain) ([10.102.18.251]) by fmviesa005.fm.intel.com with ESMTP; 27 May 2024 07:53:03 -0700 From: Piotr Kwapulinski To: intel-wired-lan@lists.osuosl.org Date: Mon, 27 May 2024 17:10:16 +0200 Message-Id: <20240527151023.3634-1-piotr.kwapulinski@intel.com> X-Mailer: git-send-email 2.31.1 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=1716821586; x=1748357586; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=itFvPj4YbblaBIt+EU+FXMiwTMvaGWZMYtqVhyY36pE=; b=dEPrpvxt7Cw29PMcVhhZ3BqiCR34lnTW6lpErAtxioVhJuRhLUVRNBR0 46e9KYMRV2aXJWMXJr2sx4CbnSGuTgeZkX2/suPnQE6lv4wOrJiZa41Fb dN0OrNI6xsJ9LgP0/NLcL5jHaFk3gJQNv5Hs1iNV5QW0vRUFwvfDY9zn3 rqn2zSd3O/dMXauH8pQhI3sfk8cTjbK32IUO9nk4ylmrpnPdt5KqRtZa0 pz2xS1eC97Ht/f1BgwApsvlFf1zC85Aqqw4cAVTQ06LEbYt4kG/0jio0l y6PuDIP8jX12gYChdR5eaCrZGP47K7EHDHQVVAvR0Zk5x2MgxQODO99vQ g==; 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=dEPrpvxt Subject: [Intel-wired-lan] [PATCH iwl-next v7 0/7] ixgbe: Add support for Intel(R) E610 device X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jacob.e.keller@intel.com, netdev@vger.kernel.org, Piotr Kwapulinski 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 | 19 +- .../net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c | 3 +- drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c | 2545 +++++++++++++++++ drivers/net/ethernet/intel/ixgbe/ixgbe_e610.h | 75 + .../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 | 430 ++- 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 | 71 +- .../ethernet/intel/ixgbe/ixgbe_type_e610.h | 1062 +++++++ 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, 4265 insertions(+), 47 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