summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-03-14 16:00:01 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-14 21:35:11 +0300
commite9093b1183bbac462d2caef3eac165778c0b1bf1 (patch)
treea83c6221387e40da3b2b725a0ec34ef088abffde /tools/perf/util/scripting-engines/trace-event-python.c
parentf004ec065b4879d6bc9ba0211af2169b3ce3097f (diff)
downloadlinux-e9093b1183bbac462d2caef3eac165778c0b1bf1.tar.xz
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions