Re: [PATCH net-next 2/2] net: dsa: dsa2: Add basic support of devlink

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 28, 2017 at 05:33:18PM -0700, Florian Fainelli wrote:
> On 03/28/2017 02:45 PM, Andrew Lunn wrote:
> > Register the switch and its ports with devlink.
> > 
> > Signed-off-by: Andrew Lunn <andrew@xxxxxxx>
> 
> Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
> Tested-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
> 
> root@net-vm:~# devlink -p port
> mdio_bus/fixed-0:1f/0: type eth netdev lan1
> mdio_bus/fixed-0:1f/1: type eth netdev lan2
> mdio_bus/fixed-0:1f/2: type eth netdev lan3
> mdio_bus/fixed-0:1f/3: type eth netdev lan4
> mdio_bus/fixed-0:1f/5: type notset
> root@net-vm:~# devlink -p dev
> mdio_bus/fixed-0:1f

Thanks Florian

I have another patch somewhere which adds new types for CPU and DSA
ports. Once these 2 patches have landed, and the reports of broken
builds stop, i will dig it out.

But my main priority at the moment is to play with dpipe and make sure
it can represent tables we have in DSA switches, before the Binary API
is frozen.

       Andrew
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux