From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=194.13.80.246 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796472981; b=wQcdWsHhE/w8dpaIRgisEzewvEqK0c1I/qJXiAeFQhWPMITPGbJYOB0ZelvkT+xDhhnj MJbYMy4EPYu5mXhG013F46ycj6t9rIIXoHLR7btO9NxBShbaJRX9VhJ1FG3/oa1mvkpa+ zncV7nLdQpRMciccQVhXJ+56i1k2kbzcM23WKJvf25aop5/qq4IR7SngtAtSArQOS8bvU hOE52mJjb9ZB58CtqufB1NqSJwBynFOriPoWXIfdPry9adwo0Ue+vgLsxCySfQ5+0vpfM +Vv7PZbacEj4KF8Qj2ai0igzzF7ZRyE85/zKZsrf38Iu8Zog0m+Hi8zibWxnAnvWGCQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796472981; h=DMARC-Filter:Received:DKIM-Signature:MIME-Version:Date:From:To:Cc: Subject:In-Reply-To:References:Message-ID:X-Sender:Content-Type: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=XFbATJdHyBHshiVKdPvX8g/OfUO21XZ9LLVilu+K0PE=; b=eC/Iswbtt/C8HRJymLsytqJHR/kEEsr3EVUsArA8Ch5ug+QpfYIJ5Ug8pb2AWIsj25c+ mhjTdF6THxhfc+ZDWT9qyhyYK3aXDAuaobdqSWu/rxqESPIOAe5ZUqsYwIuKS9DXF/SSc 0vE/yXiKid/30yUYNYqYBUHDdhDfPrd99Z/ic8mKZ9Rels4E0GMqJyZrYj3YCxnUTOOrE rrdinYTtH37zYe7ZFa1BmznOD/viMdy0E4PlBpHKrvD03AtLFcsDRnAq6XrGq0bUZiuKY SQ3JGimGpBA6vBoRc75RNk28aW+kDLQdelgmUqktstVOplOmiSH4YvquBkd2A/ERTKA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=tipi-net.de; spf=pass smtp.mailfrom=tipi-net.de; dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=x8BypLSN; arc=none smtp.remote-ip=194.13.80.246 Received: from mail.tipi-net.de (mail.tipi-net.de [194.13.80.246]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA6FA606A322 for ; Sat, 5 Dec 2026 12:16:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org AA6FA606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tipi-net.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tipi-net.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=x8BypLSN Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id B4BD2A162F; Sat, 05 Dec 2026 13:16:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tipi-net.de; s=dkim; t=1796472978; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=XFbATJdHyBHshiVKdPvX8g/OfUO21XZ9LLVilu+K0PE=; b=x8BypLSN7L3XvCMz+BL/EKnhk1qpDTB6ArYVt+JkOakrmdXw5dQl0YNwffXnwH1Jk3pHzd Lf17pyyR4laUiLmIOFoqcdboWwac9ojPhJX10dAtha0GjOUXpU1kC6oxmy6q8FZp1bOK7O 2VpveEKc8JGP+WGfWVOyhBcP/Tta+ycyW/gg14hf5m1lcJBqtDxMG+2Etn4DUrMZEXpYa0 x16/WYJhNdzF1IbTKt4lRpPjMoTq59nsSgwjIj+IOMl4ruRhdULRT2JUEVNPQKYGKnjidz 5hicH/GPqV+Y+SCqq/H5NY9rJ4KxFHuDA+leeCsOoPplCCQwAMxNJCdfb35P1A== X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Date: Sat, 05 Dec 2026 13:16:17 +0100 From: Nicolai Buchwitz To: Florian Fainelli Cc: netdev@vger.kernel.org, Doug Berger , Broadcom internal kernel review list , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Subject: Re: [PATCH net-next 1/2] net: bcmgenet: keep FCS forwarding when exiting Wake-on-LAN In-Reply-To: <20261204230048.3554713-2-florian.fainelli@broadcom.com> References: <20261204230048.3554713-1-florian.fainelli@broadcom.com> <20261204230048.3554713-2-florian.fainelli@broadcom.com> Message-ID: X-Sender: nb@tipi-net.de Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Last-TLS-Session-Version: TLSv1.3 On 5.12.2026 00:00, Florian Fainelli wrote: > bcmgenet_wol_power_down_cfg() forces CMD_CRC_FWD on so that the > UniMAC can match magic packets, and bcmgenet_wol_power_up_cfg() > unconditionally turns it back off and clears priv->crc_fwd_en. > > That is fine as long as the driver never forwards the FCS on its own, > but a following change makes this depend on NETIF_F_RXFCS. On a > successful WoL exit bcmgenet_resume() does not re-apply the features, > so clearing the state here would silently drop the user's setting. > > Derive priv->crc_fwd_en from dev->features when leaving WoL and only > clear CMD_CRC_FWD when the FCS is not wanted. Since NETIF_F_RXFCS is > not advertised yet, there is no functional change. > > Signed-off-by: Florian Fainelli > [...] Reviewed-by: Nicolai Buchwitz Thanks, Nicolai