Article View: linux.kernel.netdev
Article #23969Re: [PATCH net-next 1/2] net: usb: ax88179: Make receiving FCS on AX88179A configurable
From: Birger Koblitz
Date: Sat, 28 Nov 2026 18:41
Date: Sat, 28 Nov 2026 18:41
26 lines
11193 bytes
11193 bytes
Hi Andrew, On 28/11/2026 6:54 pm, Andrew Lunn wrote: > On Fri, Nov 27, 2026 at 07:36:26AM +0100, Birger Koblitz wrote: >> Make reception of FCS on AX88179A configuration-dependent. >> >> In contrast to what the name suggests, AX_RX_CTL_DROPCRCERR >> actually instructs the MAC to leave the FCS attached to the end of the >> Ethernet frame when sent by the USB-adapter to the host. > > Do you have any idea where the name comes from? Does it makes sense to > change it to something which indicates what it actually does? The name of the bit comes directly out of the proprietary driver from ASIX which has register names and names for the relevant bits. I was quite confused by the name because I had always assumed the opposite effect. Additionally, the fact that for the AX88279 it is a required setting in order to receive complete frames for all frame sizes modulo the padding did not help my understanding. Since it is in what ASIX publishes, it is probably best to keep that name, even though it is confusing. I hope the documentation in the commits will be sufficient to make things clear to the readers. Access to a datasheet might be even more enlightening, but public datasheets seem to have fallen out of fashion... Birger
Technical Details
Message-ID:
<d7473321-1a7d-4af7-a01c-fd5b8efb5308@birger-koblitz.de>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373261-linux-kernel-netdev=dewy.ruReferences:
<20261127-fcs-v1-0-0c4ede015bf5@birger-koblitz.de> <20261127-fcs-v1-1-0c4ede015bf5@birger-koblitz.de> <974f65ed-3738-4a79-a35b-3e19532dd055@lunn.ch>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373261-linux-kernel-netdev=dewy.ru From: mail@birger-koblitz.de (Birger Koblitz) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next 1/2] net: usb: ax88179: Make receiving FCS on AX88179A configurable Date: Sat, 28 Nov 2026 19:41:13 +0100 Organization: Usenet Network Message-ID: <d7473321-1a7d-4af7-a01c-fd5b8efb5308@birger-koblitz.de> References: <20261127-fcs-v1-0-0c4ede015bf5@birger-koblitz.de> <20261127-fcs-v1-1-0c4ede015bf5@birger-koblitz.de> <974f65ed-3738-4a79-a35b-3e19532dd055@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="1007777"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:ibdboj9a6vrs3jLcYPsgoXcT41w= sha256:heVPLbinAgvOQlc9LgHUnGqwDtd9z8HhMvKAZW1oY5Q= sha1:5hKOivYCdACrMkj8FSzw6dAPVuw= sha256:sP5P1qC1htZJ1mF5feqZpAJyYeIyhEYuB8uIus8c+AM= Content-Language: en-US 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 D1245125F89; Sat, 28 Nov 2026 21:41:48 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -2.05 X-Spam-Status: No, score=-2.05 tagged_above=-9999 required=6.31 tests=[DCC_CHECK=1.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 (2048-bit key) header.d=birger-koblitz.de header.b=wQuFS2Go; dkim=pass (2048-bit key) header.d=birger-koblitz.de header.b=IqnzBcj9 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 cI-Gpri0Pc7Y; Sat, 28 Nov 2026 21:41:41 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-373261-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=birger-koblitz.de X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 627F5125F88; Sat, 28 Nov 2026 21:41:27 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id B5C1528079; Sat, 28 Nov 2026 18:41:25 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail; t=1795891285; b=vXCNR6yuja/OfVS0KxtcU0bcs+sYAAlvSo1638oPRCk5G3KW1CCM++4SbXncfDoIXRTB jKqmLXq6gEC/bNg5X5j56sPHc60CDxd+lOD3FMN1UIwR8slbUPCpkG91977L5vMrcdE8h QHGMkFOvupPRi1etAF5T4chFTYf2Fc8Idj7V/hKl719uk7RTu0riuHvRz+2oSU5FgQGAs RF8YuZZD9FI4EJD7mdEYV0XWl6mGAefSgZXLpqtgUNKFjkwESgs+XPABVp+StROYYvvr6 9w5FExR1dmzud0/z7FcD29jMb8ZXHCI2CoC/2qtonrRzitSCNWCQikmO/I2bvHWgTNw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795891285; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received: X-Spam-Level:DKIM-Signature:Received:Message-ID:Date:X-Mailing-List: List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe: List-Owner:Precedence:MIME-Version:User-Agent:Subject:To:Cc: References:From:Content-Language:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=7SLjpcETWprEPrnlZI97xk7BIZVlOLvPOlZvCXVdau8=; b=w6KfivybZSE5TVGQ2zcRZhdIf1WQzOHmBrOiMTJsPWshbpx+tYxoeRDLeeoEFKIPkuUv OTa/jOqdFiYNHq/PNGReSsRhSzpma1Cq6D/D6XoLFGiU19In7S+vJlVLQg8G18OY2ql9p VMESvt346kvUmix2mRClini0qvRe54pKUSRRpLcBxWIC+lS4PTLpMHCqaqBjSe1L1nwtx kgf0MnekI0fOgyi6lld/uIXH2dsZTs3fIhYrghDP+i3GhQpyCdz2L2v4K2NMoC2lCYro5 /C2fxvvaYLUEljVH/wFp53K0xp7bLSwCVg4IQQJ6G66HdCJcenugsH1O6pTVu4zeQvw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=birger-koblitz.de header.i=@birger-koblitz.de header.a=rsa-sha256 header.s=default header.b=wQuFS2Go; dkim=pass header.d=birger-koblitz.de header.i=@birger-koblitz.de header.a=rsa-sha256 header.s=default header.b=IqnzBcj9; dmarc=none header.from=birger-koblitz.de; spf=pass smtp.mailfrom=birger-koblitz.de; arc=fail smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 23040606A32F; Sat, 28 Nov 2026 18:41:25 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=birger-koblitz.de header.i=@birger-koblitz.de header.a=rsa-sha256 header.s=default header.b=wQuFS2Go; dkim=pass (2048-bit key) header.d=birger-koblitz.de header.i=@birger-koblitz.de header.a=rsa-sha256 header.s=default header.b=IqnzBcj9 X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=23.88.97.239 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795891284; b=gGAJ9GqFtnu4nY7IEqr0yskpRTCEej4r9nCH+cSd1PCkmvMYuHLubkd4DH/9uSqEzAz6 x/M37wfHqREvkXZtRlZu4r1xpDrBMGJMZCUK2azkZ+KvPfAugNQgg+ZISNCl3kVDVmUVe A+NrafK3WhmYHh7bC6IWzTjvPhO/D2qz0e4edydHtAChskGQuD1/qOi0ejbxIpMvfvM9b uOtX6bT6sHM8oULklFMH+BXl7xyB5Oi5TuUheyqbKF9MXlyLDrvRlhNoDIidN7/w9n9s+ x4vuNmdvmTfPlwzcSs2vifdEc1axrm6ldiFeIRwm1XnzMG+MMA4NyvsM/qXcQVDskig== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795891284; h=DMARC-Filter:DKIM-Signature:Received:X-Spam-Checker-Version: X-Spam-Level:X-Spam-Status:DKIM-Signature:Received:Message-ID:Date: MIME-Version:User-Agent:Subject:To:Cc:References:From: Content-Language:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=7SLjpcETWprEPrnlZI97xk7BIZVlOLvPOlZvCXVdau8=; b=QubSCU9XNci7k+cwEQRo+eDRx1bOtNb14JbFe2GJvlZOucSdr38EUOtvNzcppUYTRQyB zbcgV5k4dXUhqblT4/MlNWGzYog3QnhdMej0yDe9hE5l3Ex8pCgun5M9CRA30IqLWkDHp qY0VLmbNDifDfr1miVEXpChtShsIC/TMJqT+QNNo4RxJSDY3mSbG+nf/B/b5PKIpsIsDH h8R79kf4qQDrnbx2Go2oFuhPmUQzP4OcW96KdUQhr6spcFqabYRkWpeTBQXu0H3fSDuQ1 d9DN0iEKx4g7BNDQAgw8+qfIsdBaWBq5taQ68tN3m7nha/7AAYuYouAEWZDhtsfOeGg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=birger-koblitz.de; spf=pass smtp.mailfrom=birger-koblitz.de; dkim=pass header.d=birger-koblitz.de header.i=@birger-koblitz.de header.a=rsa-sha256 header.s=default header.b=wQuFS2Go; dkim=pass header.d=birger-koblitz.de header.i=@birger-koblitz.de header.a=rsa-sha256 header.s=default header.b=IqnzBcj9; arc=none smtp.remote-ip=23.88.97.239 X-Received: from bkemail.birger-koblitz.de (bkemail.birger-koblitz.de [23.88.97.239]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9C11C606A31C; Sat, 28 Nov 2026 18:41:23 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9C11C606A31C X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=birger-koblitz.de X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=birger-koblitz.de X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=birger-koblitz.de; s=default; t=1795891276; bh=XU5qbBl58qaqxwK5GiB8Ijz5RbW0xulcr6DqCYinjos=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=wQuFS2GoYitWg0RBFGkC6OIQREvn83ybdoQmUaqN4yVMOw3alnS0d4+Y11cF0vnfs KwpEpFOQuV9ra2zhk99CaON/kG2izkbsT6cGLC64KuceQNdK5w14SJ8s13KimeC6ET 2WJjqptUfRmbHn9IwiOwqLmKgENqIqwwFlzvG0+4p7XUChS6hk0Akeo7ziUyWh1eQT z/ytU6xoD3MC6dt3n6J4+3/UE3DfXEOrnNfLwZNPqL1ZSZ7ENGiIruQJJ3A7KeDDlw /q3xzPeFBj/ZjNCW7fSBb8zK87ykYB/AlsifTwPytRmJL3CYUVa5zpwSQGZo8Vnii8 tV+BjULx/WcBA== X-Received: by bkemail.birger-koblitz.de (Postfix, from userid 109) id 6B8A749B56; Sat, 28 Nov 2026 18:41:16 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=birger-koblitz.de; s=default; t=1795891274; bh=XU5qbBl58qaqxwK5GiB8Ijz5RbW0xulcr6DqCYinjos=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=IqnzBcj9w/sUd4wjoxCB5sOCl6U2NOkV1dwebhq0GvMOAeyt99V5F5dWJmQ4TYtFt g00Sl1R6a0/5jT8tDfvLQ/pgvQ1dYES2GijEt2J0F9D97Op7BhuzpGArjL1JadNG71 25+LYU63t5K1Ii/YyoyfUGZ6bqqusQe5XiSaqk9ANfca9HwvvL/JYNmOu21vFCwmlD Z4r1Nu3nk283hZStha0L1fsPkQ7ZYqBL/jnaIeJwD9zAHIEyxkd8AWy3UgPYO0Qkg7 iRXLP41dcydCx0jE7y+BeDbTVZHT4ANVNSvoHLI9cqKFMLWhrxH3JC5YCPMiRNPJ0t arykHXiRfIOnQ== X-Received: from [IPV6:2a00:6020:47a3:e800:271c:c6c5:9fde:77cb] (unknown [IPv6:2a00:6020:47a3:e800:271c:c6c5:9fde:77cb]) by bkemail.birger-koblitz.de (Postfix) with ESMTPSA id 39F6549B51; Sat, 28 Nov 2026 18:41:14 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-User-Agent: Mozilla Thunderbird X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, netdev@vger.kernel.org, linux-usb@vger.kernel.org, Benjamin Larsson <benjamin.larsson@genexis.eu> X-In-Reply-To: <974f65ed-3738-4a79-a35b-3e19532dd055@lunn.ch>