net: marvell: prestera: add hardware router objects accounting for lpm
authorYevhen Orlov <yevhen.orlov@plvision.eu>
Wed, 16 Feb 2022 01:05:56 +0000 (03:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Feb 2022 20:45:01 +0000 (20:45 +0000)
commit16de3db1208ac6c2cca1a95ebdad389d778e5740
treef45af9d69ab527d3cfddd10ade8c8f77968f155a
parent19787b93f81408b1c1fbeba74a5d664e982195bf
net: marvell: prestera: add hardware router objects accounting for lpm

Add new router_hw object "fib_node". For now it support only DROP and
TRAP mode.

Co-developed-by: Taras Chornyi <tchornyi@marvell.com>
Signed-off-by: Taras Chornyi <tchornyi@marvell.com>
Co-developed-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
Signed-off-by: Yevhen Orlov <yevhen.orlov@plvision.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/prestera/prestera.h
drivers/net/ethernet/marvell/prestera/prestera_router_hw.c
drivers/net/ethernet/marvell/prestera/prestera_router_hw.h