Message ID | 20250324-dt-bindings-network-class-v5-0-f5c3fe00e8f0@ixit.cz |
---|---|
Headers | show |
Series | dt-bindings: net: Add network-class.yaml schema | expand |
On Mon, 2025-03-24 at 18:41 +0100, David Heidelberg via B4 Relay wrote: > The Devicetree Specification, Release v0.3 specifies in section 4.3.1 > a "Network Class Binding". This covers MAC address and maximal frame > size properties. "local-mac-address" and "mac-address" with a fixed > "address-size" of 48 bits are already in the ethernet-controller.yaml > schema so move those over. > > Keep "address-size" fixed to 48 bits as it's unclear if network protocols > using 64-bit mac addresses like ZigBee, 6LoWPAN and others are relevant for > this binding. This allows mac address array size validation for ethernet > and wireless lan devices. > > "max-frame-size" in the Devicetree Specification is written to cover the > whole layer 2 ethernet frame but actual use for this property is the > payload size. Keep the description from ethernet-controller.yaml which > specifies the property as MTU. > I have no idea what tree this should go through, and you CC'ed enough people that I can't figure it out either ... I'll assume not wifi but DT for now? johannes
On Tue, Mar 25, 2025 at 5:33 AM Johannes Berg <johannes@sipsolutions.net> wrote: > > On Mon, 2025-03-24 at 18:41 +0100, David Heidelberg via B4 Relay wrote: > > The Devicetree Specification, Release v0.3 specifies in section 4.3.1 > > a "Network Class Binding". This covers MAC address and maximal frame > > size properties. "local-mac-address" and "mac-address" with a fixed > > "address-size" of 48 bits are already in the ethernet-controller.yaml > > schema so move those over. > > > > Keep "address-size" fixed to 48 bits as it's unclear if network protocols > > using 64-bit mac addresses like ZigBee, 6LoWPAN and others are relevant for > > this binding. This allows mac address array size validation for ethernet > > and wireless lan devices. > > > > "max-frame-size" in the Devicetree Specification is written to cover the > > whole layer 2 ethernet frame but actual use for this property is the > > payload size. Keep the description from ethernet-controller.yaml which > > specifies the property as MTU. > > > > I have no idea what tree this should go through, and you CC'ed enough > people that I can't figure it out either ... I'll assume not wifi but DT > for now? Can you take it via wifi as the main target here is wifi bindings. Rob
> I can do that, but I suppose it's 6.16 material at this point. Hi Johannes. I assume you meant 6.15? This patchset should mainly clarify where these properties can be used and address incorrect warnings regarding device-tree verification. David > johannes
On Wed, 2025-03-26 at 23:08 +0000, David Heidelberg wrote: > > I can do that, but I suppose it's 6.16 material at this point. > > Hi Johannes. > > I assume you meant 6.15? No. 6.15 merge window just opened. > This patchset should mainly clarify where these properties can be used and address incorrect warnings regarding device-tree verification. I'm not really convinced that makes it a bugfix for the rc series though? johannes