[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190414185705.4740-1-idosch@mellanox.com>
Date: Sun, 14 Apr 2019 18:57:46 +0000
From: Ido Schimmel <idosch@...lanox.com>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: "davem@...emloft.net" <davem@...emloft.net>,
Jiri Pirko <jiri@...lanox.com>,
"dsahern@...il.com" <dsahern@...il.com>,
mlxsw <mlxsw@...lanox.com>, Ido Schimmel <idosch@...lanox.com>
Subject: [PATCH net-next 0/3] 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
Ido Schimmel (3):
mlxsw: spectrum_router: Propagate neighbour update errors
mlxsw: spectrum_router: Add neighbour offload indication
selftests: mlxsw: Test neighbour offload indication
.../ethernet/mellanox/mlxsw/spectrum_router.c | 29 ++++++++++++++-----
.../selftests/drivers/net/mlxsw/rtnetlink.sh | 26 +++++++++++++++++
2 files changed, 47 insertions(+), 8 deletions(-)
--
2.20.1
Powered by blists - more mailing lists