Thread (10 messages) 10 messages, 3 authors, 2016-08-23

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

From: Mugunthan V N <hidden>
Date: 2016-08-23 05:40:01
Also in: linux-omap, lkml

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 <redacted>
Reviewed-by: Mugunthan V N <redacted>

Regards
Mugunthan V N
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help