From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.amicon.ru (mail.amicon.ru [77.108.111.100]) (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 6E1B034107F; Wed, 25 Mar 2026 15:16:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=77.108.111.100 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774451803; cv=none; b=djPwiKtadz2sAGbXiz0OiKFNQiGPBc0AZ+gcKu8VWlkhKOSkrcxbjZOwAvkNW3q2aoRQazUAVS/Q1ufBAkuJCJEYwL9pDIzQ30BQbB6FSJqOum10cUX6IM6Y+Oeq2WmV0icapXepYL8PTM9aK4ikV1U2HViBuujxog0HFiIlev4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774451803; c=relaxed/simple; bh=1i3NxWlICBbOFqtT7C9smmQo82RtasGv7L9o4l/iSIQ=; h=Content-Type:From:To:CC:Subject:Date:Message-ID:In-Reply-To: References:MIME-Version; b=eUHFeaf+WslsWQxzhvgHuIUi7Wc/e+B35x8igHYkdmGWXiCHzQantZxxBJlpoKkW8v9PBH/pUdZWcbjAbHMMaHNLb9AperDOnJSyNEwL3ExsoXKTEDffylI7Fi/1muL7mU2Z08jR4vYvyvi6WVUKy5k+MMi0uF9EN941q93XB44= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amicon.ru; spf=pass smtp.mailfrom=amicon.ru; dkim=pass (2048-bit key) header.d=amicon.ru header.i=@amicon.ru header.b=fi62UMQA; arc=none smtp.client-ip=77.108.111.100 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amicon.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amicon.ru Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=amicon.ru header.i=@amicon.ru header.b="fi62UMQA" Content-Transfer-Encoding: 8bit Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; d=amicon.ru; s=mail; c=simple/simple; t=1774451800; h=from:subject:to:date:message-id; bh=1i3NxWlICBbOFqtT7C9smmQo82RtasGv7L9o4l/iSIQ=; b=fi62UMQAn7pIMyPBSY9xt3ENVEbG81A5b1OvP0FhLHQdFE/5I1mf0gbT/Ho0t7h/6mTr/7CPZ51 tiq8+mrZN7z6bOY1b0b5DxIHwCEClVYS3hNsAHiBhcyJdvucIVKp+T+HP0Nt9X/3kc2lUjHHOtoU0 1nbpM+Q53Dftg3rg+7HB8ceeaQSw8kuN0APYQ2/ZrZsz5W0OgoO+TTNGjg4n8rzY4hYf1PKcaWO+o FvtiJk01ijCrEEaudjJVKlwqDgZfofx4sB9tPfrmXuBrNCTb0r16cXyKgytIQWCMeW3xlqK7dt5wx FYMKRLOP17J5YuE6wgdSGEaVZRgc01ikumZA== Received: from example.com (172.16.2.46) by mail.amicon.lan (192.168.0.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.27; Wed, 25 Mar 2026 18:16:40 +0300 From: Agalakov Daniil To: Tony Nguyen CC: Agalakov Daniil , Przemek Kitszel , Andrew Lunn , "David S. Miller" , Eric Dumazet , "Jakub Kicinski" , Paolo Abeni , , , , , "Daniil Iskhakov" , Roman Razov Subject: [PATCH net-next v2 0/2] e1000/e1000e: limit endianness conversion to boundary words Date: Wed, 25 Mar 2026 18:16:02 +0300 Message-ID: <20260325151615.1407182-1-ade@amicon.ru> X-Mailer: git-send-email 2.51.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: mail.amicon.lan (192.168.0.59) To mail.amicon.lan (192.168.0.59) This series refactors the EEPROM write logic in e1000 and e1000e drivers to avoid processing uninitialized memory. Instead of looping over the entire buffer, we now only perform endianness conversion on the boundary words that were actually read from the hardware. Patch 1: e1000: limit endianness conversion to boundary words Patch 2: e1000e: limit endianness conversion to boundary words --- v2: - Moved these improvements to the 'net-next' tree. - Improved commit description for clarity. drivers/net/ethernet/intel/e1000/e1000_ethtool.c | 11 +++++++---- drivers/net/ethernet/intel/e1000e/ethtool.c | 10 +++++++++- 2 files changed, 16 insertions(+), 5 deletions(-) -- 2.51.0