From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.142.43.55 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796305288; b=CXhZSBqNIiUtU12RpKddEzJ/HWF68yNurGHiy5BH7QDqzatrcFXAAuwSEWLU+9iSiIY6 P0QI6lm1SurO47H9NVxEOwxZY96Di/XY7Ffmb6/m/gOGjjWIk1OoCABnX1KWA7Ed2j7W3 enc8sZINKDKSUnmnc8OwQxCUNXuCW1BWc7pTgY6X/ZiS1n04gCYancts5z26Tz68iIyvx L4YrXKwHZaw9t7oaubzVp7RiXFb0p3D3ciqJxDQyMeLdgQ0KJNvtMRsidgVMoWGkPklOr miKFnDJ0WbZOihssd/SBx55VOLoRLoRdCsW6VrGmfmaNNQOKqm6Fvgt0oEJZs0sE4ww== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796305288; h=DMARC-Filter:Date:DKIM-Signature:DKIM-Signature:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=VwLin1UdAZtw2DQZLjCtaFF1WWAdAz7wjsHA0P03TWQ=; b=qFhgqGEs5KZeMt3bOcs30Y7TKsUtCWFTrFjlBr3RXlvaiHYzV3qa0TOlrr5xxsLw2hGX Hpyu/KGBaI0VA+md8bwjva9pAa9s1wMMxdKmFAWWL/ZqfMYpbz0DD8soS2ajcDqFhArMJ lUeRnnb/6lf0etugshHc60akinW4M64nF5oL5EprknTrG2/JFeYPra7z+3Y46y6SD2ltd grV+5Z2/T7rNUb0g/elRZp691wIUSjSTmKt5dmJSBu1/GRzEBSIZ7wHPJPEMNLc0cPClL 3a26+t6Ciyox7KklT7H/ZqmzCfQwm1bDCO/QF3CXrVvPfEXHSvd9cyFcWXE0aQLGdEg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=Z85mCGuC; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=kc6+HdDc; arc=none smtp.remote-ip=193.142.43.55 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 856C7606A698 for ; Thu, 3 Dec 2026 13:41:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 856C7606A698 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=Z85mCGuC; dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=kc6+HdDc Date: Thu, 3 Dec 2026 14:41:22 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1796305284; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VwLin1UdAZtw2DQZLjCtaFF1WWAdAz7wjsHA0P03TWQ=; b=Z85mCGuC2Ak4Tl2M+gWK4ah+F7kHNi5nTpUUXhPfRf3UU4tdWq3/TV5m+aULiJFEWuO6rM W+bNG5fB13rTp3vWBHzBdy9feaNIJU73K66o2Lo/9l3g6TB/faQlChCA7bJrsHlkYtOpHZ hT/UPNnxegpN9vXK5bllLf9kTA1h4+fsiCgNbgBqPn4SEvZ4TkHYM6hrSnB+pzXMMbRxwt fO3lVLqEiming3FpofZtr+Go21Jl4rilwq6EuaMywaadYuelHkhQet0X3Sv00fwnfLTH4C 0t2mCUm5gX9HjewhXx4GhcteTQdJJB3YKz42zleczYtqten4LI4Fyptfk9fIFQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1796305284; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VwLin1UdAZtw2DQZLjCtaFF1WWAdAz7wjsHA0P03TWQ=; b=kc6+HdDc8HLCd31mPGvQZ3xSF5wTXFoV1VJjiSJKgRSSDVTN+U05VmYN/R1iv5ofLzJMLk xuJ/161Hn19bFDAw== From: Sebastian Andrzej Siewior To: netdev-bot+sashiko@kernel.org Cc: netdev@vger.kernel.org, j-rameshbabu@ti.com, andrew+netdev@lunn.ch, danishanwar@ti.com, d-qiu@ti.com, davem@davemloft.net, fmaurer@redhat.com, kuba@kernel.org, neelima@ti.com, pabeni@redhat.com, praneeth@ti.com, pratheesh@ti.com, richardcochran@gmail.com, horms@kernel.org, vigneshr@ti.com, willemdebruijn.kernel@gmail.com, daniel.machon@microchip.com, edumazet@kernel.org Subject: Re: [PATCH net-next v13 3/8] hsr: Add a magic header for sending PTP packets Message-ID: <20261203134122.WCqHw5L_@linutronix.de> References: <20261130-hsr_ptp-v13-3-598326208fc5@linutronix.de> <179611532644.3146.17870747976027282649@kernel.org> <20261201163528.clIypeY6@linutronix.de> 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20261201163528.clIypeY6@linutronix.de> On 2026-12-01 17:35:30 [+0100], To netdev-bot+sashiko@kernel.org wrote: > > req_tx_port is compared against HSR_PT_SLAVE_A and HSR_PT_SLAVE_B, which > > come from the internal enum hsr_port_type. The exported > > HSR_INLINE_HDR_PORT_A and HSR_INLINE_HDR_PORT_B are never used, and no > > BUILD_BUG_ON ties the two sets of values together. Reordering the inter= nal > > enum would silently change the ABI. Would it be better to validate agai= nst > > the UAPI constants and map them to the internal values? >=20 > Hmm. The ABI is fix/ exported via uapi. The reorder would break the > parsing here. I would prefer the HSR_PT_SLAVE_A+B constants and the > BUILD_BUG_ON() to link it. > Is this something I should resend the whole series and send a follow-up > later? On the other hand, let me fix this and =E2=80=A6 > > Two smaller points: hsr_device.c includes instea= d of > > , and there is no Documentation/ text for the new ABI. >=20 > I am not aware that uapi/ header must not be included in kernel code. > Yes, no other documentation. include the non-uapi header and then add a delay for the link up in testing and then it should be it. Sebastian pw-bot: cr