mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 18:49:22 -04:00
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: Lorenzo Bianconi <lorenzo@kernel.org> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
bf7154ffb1
commit
e156dd6b85
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user