]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlxsw-Add-neighbour-offload-indication'
authorDavid S. Miller <davem@davemloft.net>
Mon, 15 Apr 2019 20:29:21 +0000 (13:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Apr 2019 20:29:21 +0000 (13:29 -0700)
commit91b17156fd7af64bd80a9df75d3ad10896beb9cd
tree4d1063d60237f27401efe7cf6c1c2aeaa44df4ad
parent7c91ec70f810a5659100e035deb80a9cb7e37c40
parent91e09118e85a8b318e174a9ea0ffc2b15713f54e
Merge branch 'mlxsw-Add-neighbour-offload-indication'

Ido Schimmel says:

====================
mlxsw: Add neighbour offload indication

Neighbour entries are programmed to the device's table so that the
correct destination MAC will be specified in a packet after it was
routed.

Despite being programmed to the device and unlike routes and FDB
entries, neighbour entries are currently not marked as offloaded. This
patchset changes that.

Patch #1 is a preparatory patch to make sure we only mark a neighbour as
offloaded in case it was successfully programmed to the device.

Patch #2 sets the offload indication on neighbours.

Patch #3 adds a test to verify above mentioned functionality.

Patched iproute2 version that prints the offload indication is available
here [1].

[1] https://github.com/idosch/iproute2/tree/idosch-next
====================

Signed-off-by: David S. Miller <davem@davemloft.net>