]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlxsw-add-support-for-nexthop-objects'
authorJakub Kicinski <kuba@kernel.org>
Fri, 20 Nov 2020 23:20:23 +0000 (15:20 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 20 Nov 2020 23:20:23 +0000 (15:20 -0800)
commitb8aa8fba7e7598bcedb0a37c9438fcfbeec4ada8
tree31f975966cade423d281733c0a5eb28aa47c5e2f
parent3b17da684dd32ca91dee507f5c18aef52299a21d
parent5a69a50aceecaf0df0bf95a30c9d79816d4eb215
Merge branch 'mlxsw-add-support-for-nexthop-objects'

Ido Schimmel says:

====================
mlxsw: Add support for nexthop objects

This patch set adds support for nexthop objects in mlxsw. Nexthop
objects are treated as another front-end for programming nexthops, in
addition to the existing IPv4 and IPv6 front-ends.

Patch #1 registers a listener to the nexthop notification chain and
parses the nexthop information into the existing mlxsw data structures
that are already used by the IPv4 and IPv6 front-ends. Blackhole
nexthops are currently rejected. Support will be added in a follow-up
patch set.

Patch #2 extends mlxsw to resolve its internal nexthop objects from the
nexthop identifier encoded in the FIB info of the notified routes.

Patch #3 finally removes the limitation of rejecting routes that use
nexthop objects.

Patch #4 adds a selftest.

Patches #5-#8 add generic forwarding selftests that can be used with
veth pairs or physical loopbacks.
====================

Link: https://lore.kernel.org/r/20201119130848.407918-1-idosch@idosch.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>