Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e158e5ef authored by Elad Raz's avatar Elad Raz Committed by David S. Miller
Browse files

mlxsw: reg: Fix HTGT register length



HTGT register length is limited to 32 bytes and not 256 bytes.

Signed-off-by: default avatarElad Raz <eladr@mellanox.com>
Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b60a00f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);