]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpsw: clarify ethtool ops changing num of descs
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Thu, 19 Jan 2017 16:58:27 +0000 (18:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jan 2017 17:35:10 +0000 (12:35 -0500)
commita6e160d8a17d7715ad150c9df1bcaf60de2de90d
tree8f8c31d26ff0063b021721319fbba06207a4ebb7
parent441611979aca10ee5ac11926022efa94f30d4393
net: ethernet: ti: cpsw: clarify ethtool ops changing num of descs

After adding cpsw_set_ringparam ethtool op, better to carry out
common parts of similar ops splitting descriptors in runtime. It
allows to reuse these parts and shows what the ops actually do.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c