mlxsw: reg: Fix HTGT register length
HTGT register length is limited to 32 bytes and not 256 bytes. Signed-off-by: Elad Raz <eladr@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b60a00f9c5
commit
e158e5ef24
1 changed files with 1 additions and 1 deletions
|
@ -3653,7 +3653,7 @@ static inline void mlxsw_reg_pspa_pack(char *payload, u8 swid, u8 local_port)
|
|||
* Configures the properties for forwarding to CPU.
|
||||
*/
|
||||
#define MLXSW_REG_HTGT_ID 0x7002
|
||||
#define MLXSW_REG_HTGT_LEN 0x100
|
||||
#define MLXSW_REG_HTGT_LEN 0x20
|
||||
|
||||
MLXSW_REG_DEFINE(htgt, MLXSW_REG_HTGT_ID, MLXSW_REG_HTGT_LEN);
|
||||
|
||||
|
|
Loading…
Reference in a new issue