From patchwork Mon Dec 18 10:39:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jedrzej Jagielski X-Patchwork-Id: 13496582 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B06F17999 for ; Mon, 18 Dec 2023 10:48:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ED6rBOji" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702896527; x=1734432527; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=0EotLuPCW24Rk1PcS8Qnfm1ePiwC7sddgl0nDu013MA=; b=ED6rBOjiqPR+rrgRsOwtR9QbOuS6olaE06+kcMmmYTf2yI6MRLmC7PyT DZ+YuxjBwcgMIxDH0cmoRCbJVDkd4OifhE3AIM8wBMiCnMxAC6v4fcIns ey+E144nH6JlqnDhjQOz6GybOAmqZvOQ5Vm0doRJ3D7B1yzC7Tm/wH9l6 XW3RAryeLr7FYGi7OM/2HOi7arBrLDdpRq/AGtpe6BaCEWqA8oSNZgu6M Vi12t0ZSWwiX2KuMo5aXCV0dxXmDExMJPQWEWFCv3DbuiR/qpYfCvNsvY cBh+71d/bnMpikidwaa2HiNWA+OyD0UmCTp+PikXhFV1iVfh2ydUd1SUJ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10927"; a="2579733" X-IronPort-AV: E=Sophos;i="6.04,285,1695711600"; d="scan'208";a="2579733" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Dec 2023 02:48:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10927"; a="1022712624" X-IronPort-AV: E=Sophos;i="6.04,285,1695711600"; d="scan'208";a="1022712624" Received: from os-delivery.igk.intel.com ([10.102.18.218]) by fmsmga006.fm.intel.com with ESMTP; 18 Dec 2023 02:48:34 -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 v5 0/2] ixgbe: Refactor ixgbe internal status Date: Mon, 18 Dec 2023 11:39:24 +0100 Message-Id: <20231218103926.346294-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 | 42 +++-- 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 | 105 ++++++------ 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 | 150 +++++++++--------- 13 files changed, 309 insertions(+), 358 deletions(-)