Commit e156dd6b authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Jakub Kicinski
Browse files

net: airoha: Fix PPE_IP_PROTO_CHK register definitions



Fix typo in PPE_IP_PROTO_CHK_IPV4_MASK and PPE_IP_PROTO_CHK_IPV6_MASK
register mask definitions. This is not a real problem since this
register is not actually used in the current codebase.

Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent bf7154ff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -237,8 +237,8 @@
#define PPE_FLOW_CFG_IP4_TCP_FRAG_MASK		BIT(6)

#define REG_PPE_IP_PROTO_CHK(_n)		(((_n) ? PPE2_BASE : PPE1_BASE) + 0x208)
#define PPE_IP_PROTO_CHK_IPV4_MASK		GENMASK(15, 0)
#define PPE_IP_PROTO_CHK_IPV6_MASK		GENMASK(31, 16)
#define PPE_IP_PROTO_CHK_IPV4_MASK		GENMASK(31, 16)
#define PPE_IP_PROTO_CHK_IPV6_MASK		GENMASK(15, 0)

#define REG_PPE_TB_CFG(_n)			(((_n) ? PPE2_BASE : PPE1_BASE) + 0x21c)
#define PPE_SRAM_TB_NUM_ENTRY_MASK		GENMASK(26, 24)