summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>2016-11-29 17:00:47 +0200
committerDavid S. Miller <davem@davemloft.net>2016-11-30 14:37:13 -0500
commit0fc6432cc78d8dc683474d8e28ea30543ae033b3 (patch)
tree3ecb3cb7544ae379475471c39d979fbc5cbab4d1 /lib/string_helpers.c
parent348bfec21f52030b5f8df9d9dacf85b6253418d3 (diff)
net: ethernet: ti: davinci_cpdma: add weight function for channels
The weight of a channel is needed to split descriptors between channels. The weight can depend on maximum rate of channels, maximum rate of an interface or other reasons. The channel weight is in percentage and is independent for rx and tx channels. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions