mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
749234419a
commit
5075066a77
|
@ -8680,7 +8680,7 @@ mlxsw_reg_mpat_eth_rspan_l3_ipv6_pack(char *payload, u8 ttl,
|
|||
* properties.
|
||||
*/
|
||||
#define MLXSW_REG_MPAR_ID 0x901B
|
||||
#define MLXSW_REG_MPAR_LEN 0x08
|
||||
#define MLXSW_REG_MPAR_LEN 0x0C
|
||||
|
||||
MLXSW_REG_DEFINE(mpar, MLXSW_REG_MPAR_ID, MLXSW_REG_MPAR_LEN);
|
||||
|
||||
|
|
Loading…
Reference in New Issue