diff options
author | Ido Schimmel <[email protected]> | 2020-03-15 10:07:35 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-03-15 17:04:16 -0700 |
commit | cb851c01b51bb610a9093d01624565ce1d4e38fa (patch) | |
tree | 1bcf53a83cc861798b4079fb2b16c5bc9c62e9d3 /scripts/gcc-plugins/sancov_plugin.c | |
parent | 0fda7600c2e174fe27e9cf02e78e345226e441fa (diff) |
mlxsw: reg: Increase register field length to 31 bits
The cited commit set a value of 2^31-1 in order to "disable" the shaper
on a given a port. However, the length of the maximum shaper rate field
was not updated from 28 bits to 31 bits, which means ports are still
limited to ~268Gbps despite supporting speeds of 400Gbps.
Fix this by increasing the field's length.
Fixes: 92afbfedb77d ("mlxsw: reg: Increase MLXSW_REG_QEEC_MAS_DIS")
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions