Skip to content

mlxsw: Preparations for nexthop objects support - part 2/2

Ido Schimmel netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesApplied 9/9

Patches in v1 All 9 applied

#Subject and filesSizeRepliesApplied
1/9mlxsw: spectrum_router: Fix wrong kfree() in error pathdrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+1 -10 repliesApplied
2/9mlxsw: spectrum_router: Set ifindex for IPv4 nexthopsdrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+1 -00 repliesApplied
3/9mlxsw: spectrum_router: Pass ifindex to mlxsw_sp_ipip_entry_find_by_decap()drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+18 -60 repliesApplied
4/9mlxsw: spectrum_router: Set FIB entry's type after creating nexthop groupdrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+9 -90 repliesApplied
5/9mlxsw: spectrum_router: Set FIB entry's type based on nexthop groupdrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+5 -50 repliesApplied
6/9mlxsw: spectrum_router: Re-order mlxsw_sp_nexthop6_group_get()drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+4 -40 repliesApplied
7/9mlxsw: spectrum_router: Only clear offload indication from valid IPv6 FIB infodrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+2 -10 repliesApplied
8/9mlxsw: spectrum_router: Add an indication if a nexthop group can be destroyeddrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+9 -00 repliesApplied
9/9mlxsw: spectrum_router: Allow returning errors from mlxsw_sp_nexthop_group_refresh()drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+19 -110 repliesApplied

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchJiri Pirko
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/9] mlxsw: Preparations for nexthop objects support - part 2/2

From: Ido Schimmel <[email protected]>

This patch set contains the second round of preparations towards nexthop objects support in mlxsw. Follow up patches can be found here [1].

The patches are mostly small and trivial and contain non-functional changes aimed at making it easier to integrate nexthop objects with mlxsw.

Patch #1 is a fix for an issue introduced in previous submission. Found by Coverity.

[1] https://github.com/idosch/linux/tree/submit/nexthop_objects

Ido Schimmel (9):
mlxsw: spectrum_router: Fix wrong kfree() in error path
mlxsw: spectrum_router: Set ifindex for IPv4 nexthops
mlxsw: spectrum_router: Pass ifindex to
mlxsw_sp_ipip_entry_find_by_decap()
mlxsw: spectrum_router: Set FIB entry's type after creating nexthop
group
mlxsw: spectrum_router: Set FIB entry's type based on nexthop group
mlxsw: spectrum_router: Re-order mlxsw_sp_nexthop6_group_get()
mlxsw: spectrum_router: Only clear offload indication from valid IPv6
FIB info
mlxsw: spectrum_router: Add an indication if a nexthop group can be
destroyed
mlxsw: spectrum_router: Allow returning errors from
mlxsw_sp_nexthop_group_refresh()

 .../ethernet/mellanox/mlxsw/spectrum_router.c | 103 ++++++++++++------
 1 file changed, 67 insertions(+), 36 deletions(-)
Signature · 1 line
2.28.0