]> 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)
commit2cb08a1768d4a4342023161759cb9ca4f24ce009
tree4d1063d60237f27401efe7cf6c1c2aeaa44df4ad
parent3ddf65e834e82016667d740d284e5fae9bf08a6c
parent0fb5f33509e5f39a54f601addeed849d97ed501b
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>