Re: [PATCH v4 5/5] net: ethernet: ti: cpsw: add ethtool channels support

From: Mugunthan V N
Date: Tue Aug 23 2016 - 01:40:36 EST


On Monday 22 August 2016 11:48 PM, Ivan Khoronzhuk wrote:
> These ops allow to control number of channels driver is allowed to
> work with at cpdma level. The maximum number of channels is 8 for
> rx and 8 for tx. In dual_emac mode the h/w channels are shared
> between two interfaces and changing number on one interface changes
> number of channels on another.
>
> How many channels are supported and enabled:
> $ ethtool -l ethX
>
> Change number of channels (up to 8)
> $ ethtool -L ethX rx 6 tx 6
>
> Per-channel statistic:
> $ ethtool -S ethX
>
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@xxxxxxxxxx>

Reviewed-by: Mugunthan V N <mugunthanvnm@xxxxxx>

Regards
Mugunthan V N