Article View: linux.kernel.netdev
Article #1200Re: [PATCH net-next] tg3: normalize inherited M3000 register byte order
From: Andrew Lunn
Date: Fri, 09 Oct 2026 12:09
Date: Fri, 09 Oct 2026 12:09
10 lines
6236 bytes
6236 bytes
> > Is there a legitimate reason you would want the bytes are swapped? You missed answering this. I'm guessing, but does the hardware offer this to make big endian machines more efficient? Please could you look at the driver and think about what would happen on a big endian machine. Is the change still correct? Andrew
Technical Details
Message-ID:
<becc8f95-4650-477b-b1c7-cc4952e5e980@lunn.ch>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer04.iad!feed-me.highwinds-media.com!peer05.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343618-linux-kernel-netdev=dewy.ruReferences:
<20261008220433.965791-1-linmag7@gmail.com> <038bffb2-e40d-44bb-b7ce-53e9de32e50d@lunn.ch> <CA+=Fv5QvhYd7EqVBYKWVgvf92SLE=FjE8EYcZvUQ7HKdx2kc3Q@mail.gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer04.iad!feed-me.highwinds-media.com!peer05.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343618-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next] tg3: normalize inherited M3000 register byte order Date: Fri, 9 Oct 2026 14:09:35 +0200 Organization: Usenet Network Message-ID: <becc8f95-4650-477b-b1c7-cc4952e5e980@lunn.ch> References: <20261008220433.965791-1-linmag7@gmail.com> <038bffb2-e40d-44bb-b7ce-53e9de32e50d@lunn.ch> <CA+=Fv5QvhYd7EqVBYKWVgvf92SLE=FjE8EYcZvUQ7HKdx2kc3Q@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="1098558"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:574F5m1BzWvEXU8CeQneQRKMw6I= sha256:3j9LkPLdnzK23Y9EuT9HbtKCxNIexb/UbRdSVp0j9u8= sha1:Y28RVZi5OhYxT+EmR6MCogr/WKA= sha256:/MEYrhhESJ5WrIcxT+J+9Sy92UlpzglPbkDWKeY1oh8= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 8460810F66D; Fri, 9 Oct 2026 15:10:11 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key) header.d=lunn.ch X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ujdKNOo8K8-j; Fri, 9 Oct 2026 15:10:04 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-343618-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 4C34D10E9C2; Fri, 9 Oct 2026 15:09:55 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id 60D662645A; Fri, 9 Oct 2026 12:09:51 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 584754BE43B; Fri, 9 Oct 2026 12:09:48 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="TxYgJENI" X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 608824BE45A; Fri, 9 Oct 2026 12:09:44 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791547788; cv=none; b=Zs0WW0CQhG/0nuusBeLpqy54kYncbPRnGE7hl2FXrxGFg124BU6utFz5iL2qX8LvF8yofEETThNV0BRvyM1gizi0Li6/So/7Tok+xcI1cnltvBVxn7uRtbUXIVs0bpSYxtiyAQVMvbveGylpT8vlM3Hrfj5i3XWqg23zDWr/aeI= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791547788; c=relaxed/simple; bh=Dq20ADAqDf405H8K7WW4rLyLm7w2FrSG0HL5gZBWnmE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OIXxNMsFRaXE4RimgNO5MGlz3/yNlJQDFz/5cVjIS4E3HuPUp7OIzDstssaazsa8iklGac2KgHKcJ3mLwUHEFZUpE2tHjq76T0j8sLwYyxXFd4as5rD1oVZm0zVuGEakaBU8WMGCdR1pXKZwfN/i8WUX815KvtkROfgkSfca4cc= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=TxYgJENI; arc=none smtp.client-ip=156.67.10.101 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=O9rA9Mwgk88aDRZr9jh+2l7+6yLxai29L8EHtEPPmBE=; b=TxYgJENIpCy2zZ+Gm/jz7q6JNU y27zQXW0nYjcAiIR+j1hs3zlFGdmb0yBTb61WWh+Gdrczqe7j9jz2xA+me0rqHXRDPzn57CuPgQRt M1wGFJLtrUZUA4avMOfEGmSXS6Tc/zzdj1/78q7fUxGVNJwcJdhvsFJVu7kr0tZxuoUo=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xF9Pr-009mUc-6n; Fri, 09 Oct 2026 14:09:35 +0200 X-Cc: pavan.chebbi@broadcom.com, andrew+netdev@lunn.ch, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <CA+=Fv5QvhYd7EqVBYKWVgvf92SLE=FjE8EYcZvUQ7HKdx2kc3Q@mail.gmail.com> X-Received-Bytes: 6030