diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2016-08-22 21:18:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-23 00:13:11 -0700 |
commit | ce52c744574bbe31e5c30788f69d19f20d328225 (patch) | |
tree | f8bb6ff440b2fc6841cdcfd78021cc0976fb6139 /mm/debug_page_ref.c | |
parent | 925d65e6d8a4c84c54fbad060f32385b57e210ed (diff) | |
download | linux-ce52c744574bbe31e5c30788f69d19f20d328225.tar.bz2 |
net: ethernet: ti: cpsw: add ethtool channels support
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@linaro.org>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/debug_page_ref.c')
0 files changed, 0 insertions, 0 deletions