]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: reg: Increase size of MPAR register
authorIdo Schimmel <idosch@mellanox.com>
Wed, 30 Oct 2019 09:34:48 +0000 (11:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Oct 2019 19:07:05 +0000 (12:07 -0700)
commit24d77a71af4b957b4673c73b9ed2d4825afb52d8
treecc17b31840c06997e640b617bb2495a32356270b
parentb8fc7e197d3a43850eafb4a690feade0c39b3138
mlxsw: reg: Increase size of MPAR register

In new firmware versions this register is extended with a sampling rate
for Spectrum-2 and future ASICs.

Increase the size of the register to ensure the field is initialized to
0 which means every packet is mirrored.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h