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)
commit022d7ad71dc50a6c255a68f7aa8e879615a29c4c
tree8f8c31d26ff0063b021721319fbba06207a4ebb7
parentfe734d0aa9e120a48999885355f08a99fcf45c77
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