net: ethernet: mtk_ppe: add MTK_FOE_ENTRY_V{1,2}_SIZE macros
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 19 Jul 2023 10:29:49 +0000 (12:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Jul 2023 07:49:51 +0000 (08:49 +0100)
commita5dc694e16d31fbf85596de1239ebf4ca8426042
treec2c82588acad1864966514ede5888315c73c1c60
parentbf837e8f7df873a6bb8a472550b1876100c60ddc
net: ethernet: mtk_ppe: add MTK_FOE_ENTRY_V{1,2}_SIZE macros

Introduce MTK_FOE_ENTRY_V{1,2}_SIZE macros in order to make more
explicit foe_entry size for different chipset revisions.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_ppe.h