]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-sched-taprio-fix-picos_per_byte-miscalculation'
authorDavid S. Miller <davem@davemloft.net>
Thu, 11 Apr 2019 02:27:43 +0000 (19:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Apr 2019 02:27:43 +0000 (19:27 -0700)
commit2c1b1cb35a7fb04cf0c193183d90a7966040a840
tree53f09e9181d390982ca2de2fd7903e8feb65c08d
parentf2283effe4d7eb87dffcd64aeed47d9a51734e23
parent84c2f0b3e8ac4a79363628abb448d1bffc1a7e89
Merge branch 'net-sched-taprio-fix-picos_per_byte-miscalculation'

Leandro Dorileo says:

====================
net/sched: taprio: fix picos_per_byte miscalculation

This set fixes miscalculations based on invalid link speed values.

Changes in v6:
 + Avoid locking a spinlock while calling __ethtool_get_link_ksettings()
   (suggested by: Cong Wang);

Changes in v5:
 + Don't iterate over all the net_device maintained list (suggested by: Florian Fainelli);

Changes in v4:
 + converted pr_info calls to netdev_dbg (suggested by: Florian Fainelli);

Changes in v3:
 + yet pr_info() format warnings;

Changes in v2:
 + fixed pr_info() format both on cbs and taprio patches;
====================

Signed-off-by: David S. Miller <davem@davemloft.net>