From patchwork Thu Jul 4 12:26:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Piotr Kwapulinski X-Patchwork-Id: 1956832 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=iWCnU55o; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 4WFGBl653Yz1xpP for ; Thu, 4 Jul 2024 22:27:59 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 773E84094B; Thu, 4 Jul 2024 12:27:57 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 4wNkcXjZDQKl; Thu, 4 Jul 2024 12:27:56 +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 smtp4.osuosl.org 6605C4094C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1720096076; bh=KTHRGRSBUW/O209X12CfTrbfHcScLPpl4DZJWnBn6CQ=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=iWCnU55oZj0Yp1TQHyGR2rrhlHgRvWpaiA+Waoo5WHNyG14Ov7EyU/DWqr8OWViHL wRewR7uhYGR6v4ZNS7twGSdk+nz3JyXevh6cA/59KzuVVYX0hrT8+h3BZc1gdS3h0d OokVPG2++ZEz3EObYXromicMhkY0Sg1kF/ptxBiT8zFl8AvpLnr504mRnvhDqUCzFM 3oloY3T6J+EXJJyIul8tjFjRn3MBVi7U7VUvJiix/qn49eHhFHd0j+hrD2BBwyZw3p BHc3xWZQ6zsZN0L/F6ekIm2ncz9nn/405OriqXp7NM/tuAhTh0nbM5Z6icxs9LxLc3 BEskvgwDOxMZQ== Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 6605C4094C; Thu, 4 Jul 2024 12:27:56 +0000 (UTC) X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 7B5BF1BF321 for ; Thu, 4 Jul 2024 12:27:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 74D9760822 for ; Thu, 4 Jul 2024 12:27:55 +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 OHm60rw_pQyo for ; Thu, 4 Jul 2024 12:27:54 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=192.198.163.13; helo=mgamail.intel.com; envelope-from=piotr.kwapulinski@intel.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org ABC2360820 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org ABC2360820 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by smtp3.osuosl.org (Postfix) with ESMTPS id ABC2360820 for ; Thu, 4 Jul 2024 12:27:54 +0000 (UTC) X-CSE-ConnectionGUID: 4ljuRZKBRIC0X0GhZGv22g== X-CSE-MsgGUID: 340Fa1uRT2u5OGop/IVVIg== X-IronPort-AV: E=McAfee;i="6700,10204,11122"; a="20279003" X-IronPort-AV: E=Sophos;i="6.09,183,1716274800"; d="scan'208";a="20279003" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2024 05:27:54 -0700 X-CSE-ConnectionGUID: mPeIn451QaGF+HmIMLJ49Q== X-CSE-MsgGUID: rzirKnhFTKGNlBo+dzxSzA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,183,1716274800"; d="scan'208";a="46549431" Received: from pkwapuli-mobl1.ger.corp.intel.com (HELO localhost.localdomain) ([10.245.117.61]) by fmviesa008.fm.intel.com with ESMTP; 04 Jul 2024 05:27:52 -0700 From: Piotr Kwapulinski To: intel-wired-lan@lists.osuosl.org Date: Thu, 4 Jul 2024 14:26:48 +0200 Message-ID: <20240704122655.39671-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=1720096075; x=1751632075; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=JGYqEMONDIdO+h8gO3GHKN4c5TA2rEildoCh6py6ga4=; b=hJ8qDa5ljSmEfFxD5TvNzVCrWLogPsCVRiXcogATY4uRlx1JksAZ5XYk 8jM8GZZjNJCpkemCPpflxNF4I5RDEeBLs4rKvMi0cmMC0F+DnZRTsbmLz pFldpdtgA3NV0tl++k/vsCJVGdCHIAUTRToSbvrU9SHpFlB+UEEqNLPe5 1GUNvk437LjzB7WfXFBePBj9dSToeQe7gyq5AofM2HtsPhCxg1sDVZ2Jr Ovjg4G5cIRm1tXt08XAbXY9wobedt8NisYcGevUpXjdPtHG/H/Ns3qcE9 zdSS/WicXCsRIS7OD3DNOD3I+bGFTyijHyzbJbwAeHKIH7ZGD6p9sydI9 A==; X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=intel.com X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=hJ8qDa5l Subject: [Intel-wired-lan] [PATCH iwl-next v8 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: Piotr Kwapulinski , netdev@vger.kernel.org, horms@kernel.org 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 | 2540 +++++++++++++++++ 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, 4260 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