mirror of
https://github.com/hardkernel/linux.git
synced 2026-05-31 00:06:41 +09:00
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:
committed by
David S. Miller
parent
b60a00f9c5
commit
e158e5ef24
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user