Message ID | 20240801123143.622037-2-vtpieter@gmail.com (mailing list archive) |
---|---|
State | Rejected |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | implement microchip,no-tag-protocol flag | expand |
On Thu, Aug 01, 2024 at 02:31:42PM +0200, vtpieter@gmail.com wrote: > From: Pieter Van Trappen <pieter.van.trappen@cern.ch> > > Add microchip,no-tag-protocol flag to allow disabling the switch' What is the ' for? > tagging protocol. For cases where the CPU MAC does not support MTU > size > 1500 such as the Zynq GEM. What is "switch tag protocol"? Not defined anywhere? Is that VLAN tagging? It seems to me that this doesn't need to be in DT. You know you have Zynq GEM because it should have a specific compatible. If it doesn't support some feature, then that should get propagated to the switch somehow. Rob
On Wed 6 Aug 2024 at 19:17, Rob Herring <robh@kernel.org> wrote: > > On Thu, Aug 01, 2024 at 02:31:42PM +0200, vtpieter@gmail.com wrote: > > From: Pieter Van Trappen <pieter.van.trappen@cern.ch> > > > > Add microchip,no-tag-protocol flag to allow disabling the switch' > > What is the ' for? Typo > > > tagging protocol. For cases where the CPU MAC does not support MTU > > size > 1500 such as the Zynq GEM. > > What is "switch tag protocol"? Not defined anywhere? Is that VLAN > tagging? > > It seems to me that this doesn't need to be in DT. You know you have > Zynq GEM because it should have a specific compatible. If it doesn't > support some feature, then that should get propagated to the switch > somehow. Hi Rob, indeed and as indicated by Vladimir Oltean in a reply to this patch, such a property exists already, dsa-port's `dsa-tag-protocol`. Driver support is to be added but rather I'm changing the Zynq GEM driver to support MTU > 1500 as in fact it turns our the harware does. Pieter > > Rob
diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml index 52acc15ebcbf..798dd3c76ab6 100644 --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml @@ -45,6 +45,11 @@ properties: description: Set if the output SYNCLKO frequency should be set to 125MHz instead of 25MHz. + microchip,no-tag-protocol: + $ref: /schemas/types.yaml#/definitions/flag + description: + Set if no switch tag protocol should be enabled. + microchip,synclko-disable: $ref: /schemas/types.yaml#/definitions/flag description: