From patchwork Fri Dec 8 09:00:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jedrzej Jagielski X-Patchwork-Id: 13485078 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="kT7uXl8m" Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CA43C3 for ; Fri, 8 Dec 2023 01:13:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702026811; x=1733562811; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=AIUHmhEmwcOCgMt2++sCNVhBbRepohu8MlTc7aJci5o=; b=kT7uXl8m+REqGGNz3nHlbJqNEGanTjJ8sga154Ktib/vlQTOi+sge4/M kPV8+3H+fpjVWl5i1ndyxkHNeBrjbGqpOt7B+ecXlHunVgVEc13zM74vL MuTp2wTlnozuJhEPW/HjM1dCfSZqnzVsXvlUW7Yp4TyZBMjnfHZlzEV1e SI4tlAEqeexRvIHkcNSwgh1RU/A5Yii2ND+5mhjXjL+syVhRibBXZtzgT SfmuU6gzdE2RvR+uj7SNjqbc7It35TnYgv5XV5RxWcIu5h9RaQiaNDYLd 0F4OdErbNlV2BBOp9qWUEwR/GoX+dFqNSq/x8BR+y/Ho55CkS1P3mIoLK g==; X-IronPort-AV: E=McAfee;i="6600,9927,10917"; a="391551162" X-IronPort-AV: E=Sophos;i="6.04,260,1695711600"; d="scan'208";a="391551162" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Dec 2023 01:13:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10917"; a="862796264" X-IronPort-AV: E=Sophos;i="6.04,260,1695711600"; d="scan'208";a="862796264" Received: from os-delivery.igk.intel.com ([10.102.18.218]) by FMSMGA003.fm.intel.com with ESMTP; 08 Dec 2023 01:13:29 -0800 From: Jedrzej Jagielski To: intel-wired-lan@lists.osuosl.org Cc: anthony.l.nguyen@intel.com, netdev@vger.kernel.org, Jedrzej Jagielski Subject: [PATCH iwl-next v3 0/2] ixgbe: Refactor ixgbe internal status Date: Fri, 8 Dec 2023 10:00:53 +0100 Message-Id: <20231208090055.303507-1-jedrzej.jagielski@intel.com> X-Mailer: git-send-email 2.31.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 A small 2 patches series removing currently used internal status codes in ixgbe driver and converting them to the regular ones. 1st patch deals specifically with overtemp error code, the 2nd one refactors the rest of the error codes. Jedrzej Jagielski (2): ixgbe: Refactor overtemp event handling ixgbe: Refactor returning internal error codes .../net/ethernet/intel/ixgbe/ixgbe_82598.c | 36 ++-- .../net/ethernet/intel/ixgbe/ixgbe_82599.c | 61 ++++--- .../net/ethernet/intel/ixgbe/ixgbe_common.c | 145 ++++++++-------- .../net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 2 +- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 46 +++--- drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c | 34 ++-- drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.h | 1 - drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c | 117 +++++++------ drivers/net/ethernet/intel/ixgbe/ixgbe_phy.h | 2 +- .../net/ethernet/intel/ixgbe/ixgbe_sriov.c | 2 +- drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 43 +---- drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c | 44 ++--- drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 156 ++++++++++-------- 13 files changed, 333 insertions(+), 356 deletions(-)