Searched hist:f89d21b9 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | cpsw.c | f89d21b9 Sun Jan 08 14:12:27 CST 2017 Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> net: ethernet: ti: cpsw: extend limits for cpsw_get/set_ringparam
Allow to set number of descs close to possible values. In case of minimum limit it's equal to number of channels to be able to set at least one desc per channel. For maximum limit leave enough descs number for tx channels.
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net> f89d21b9 Sun Jan 08 14:12:27 CST 2017 Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> net: ethernet: ti: cpsw: extend limits for cpsw_get/set_ringparam Allow to set number of descs close to possible values. In case of minimum limit it's equal to number of channels to be able to set at least one desc per channel. For maximum limit leave enough descs number for tx channels. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|