commit | e9093b1183bbac462d2caef3eac165778c0b1bf1 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Tue Mar 14 14:00:01 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 14 11:35:11 2017 -0700 |
tree | a83c6221387e40da3b2b725a0ec34ef088abffde | |
parent | f004ec065b4879d6bc9ba0211af2169b3ce3097f [diff] |
mlxsw: reg: Fix SPVMLR max record count The num_rec field is 8 bit, so the maximal count number is 255. This fixes vlans learning not being enabled for wider ranges than 255. Fixes: a4feea74cd7a ("mlxsw: reg: Add Switch Port VLAN MAC Learning register definition") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>