* [PATCH iproute2-next] ipneigh: Print neighbour offload indication
@ 2019-04-18 6:44 Ido Schimmel
2019-04-21 13:36 ` David Ahern
0 siblings, 1 reply; 2+ messages in thread
From: Ido Schimmel @ 2019-04-18 6:44 UTC (permalink / raw)
To: netdev; +Cc: dsahern, Ido Schimmel
Print the offload indication in case it is set on the neighbour.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
---
ip/ipneigh.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ip/ipneigh.c b/ip/ipneigh.c
index 88596245a2ed..27986ff7a6c9 100644
--- a/ip/ipneigh.c
+++ b/ip/ipneigh.c
@@ -384,6 +384,9 @@ int print_neigh(struct nlmsghdr *n, void *arg)
if (r->ndm_flags & NTF_EXT_LEARNED)
print_null(PRINT_ANY, "extern_learn", " %s ", "extern_learn");
+ if (r->ndm_flags & NTF_OFFLOADED)
+ print_null(PRINT_ANY, "offload", " %s", "offload");
+
if (show_stats) {
if (tb[NDA_CACHEINFO])
print_cacheinfo(RTA_DATA(tb[NDA_CACHEINFO]));
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH iproute2-next] ipneigh: Print neighbour offload indication
2019-04-18 6:44 [PATCH iproute2-next] ipneigh: Print neighbour offload indication Ido Schimmel
@ 2019-04-21 13:36 ` David Ahern
0 siblings, 0 replies; 2+ messages in thread
From: David Ahern @ 2019-04-21 13:36 UTC (permalink / raw)
To: Ido Schimmel, netdev; +Cc: dsahern
On 4/18/19 12:44 AM, Ido Schimmel wrote:
> Print the offload indication in case it is set on the neighbour.
>
> Signed-off-by: Ido Schimmel <idosch@mellanox.com>
> ---
> ip/ipneigh.c | 3 +++
> 1 file changed, 3 insertions(+)
>
applied to iproute2-next. Thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-21 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-18 6:44 [PATCH iproute2-next] ipneigh: Print neighbour offload indication Ido Schimmel
2019-04-21 13:36 ` David Ahern
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.