net/sched: cbs: Set default link speed to 10 Mbps in cbs_set_port_rate
authorVladimir Oltean <olteanv@gmail.com>
Fri, 30 Aug 2019 01:07:23 +0000 (04:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2019 01:45:35 +0000 (18:45 -0700)
commit1c6c09a0ae62fa3ea8f8ead2ac3920e6fff2de64
tree1808a1b40a13e500b0a7363e3a279061ba54caa4
parentf04b514c0ce2f20aad757ebfb04e07b1a12d2b58
net/sched: cbs: Set default link speed to 10 Mbps in cbs_set_port_rate

The discussion to be made is absolutely the same as in the case of
previous patch ("taprio: Set default link speed to 10 Mbps in
taprio_set_picos_per_byte"). Nothing is lost when setting a default.

Cc: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
Fixes: e0a7683d30e9 ("net/sched: cbs: fix port_rate miscalculation")
Acked-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_cbs.c