netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch iproute2-net-next] bridge: mdb: add support for offloaded mdb entries
@ 2016-02-22 14:26 Jiri Pirko
  2016-03-04 13:52 ` Jiri Pirko
  2016-03-06 20:48 ` Stephen Hemminger
  0 siblings, 2 replies; 3+ messages in thread
From: Jiri Pirko @ 2016-02-22 14:26 UTC (permalink / raw)
  To: netdev; +Cc: stephen, idosch, eladr, yotamg, ogerlitz, roopa, nikolay

From: Elad Raz <eladr@mellanox.com>

Mark MDB entries which are offloaded to HW with "offload" flag

Signed-off-by: Elad Raz <eladr@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
---
 bridge/mdb.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bridge/mdb.c b/bridge/mdb.c
index 24c4903..ae20f38 100644
--- a/bridge/mdb.c
+++ b/bridge/mdb.c
@@ -60,10 +60,11 @@ static void print_mdb_entry(FILE *f, int ifindex, struct br_mdb_entry *e,
 			      (const void *)&e->addr.u.ip6;
 	if (n->nlmsg_type == RTM_DELMDB)
 		fprintf(f, "Deleted ");
-	fprintf(f, "dev %s port %s grp %s %s", ll_index_to_name(ifindex),
+	fprintf(f, "dev %s port %s grp %s %s %s", ll_index_to_name(ifindex),
 		ll_index_to_name(e->ifindex),
 		inet_ntop(af, src, abuf, sizeof(abuf)),
-		(e->state & MDB_PERMANENT) ? "permanent" : "temp");
+		(e->state & MDB_PERMANENT) ? "permanent" : "temp",
+		(e->flags & MDB_FLAGS_OFFLOAD) ? "offload" : "");
 	if (e->vid)
 		fprintf(f, " vid %hu", e->vid);
 	fprintf(f, "\n");
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [patch iproute2-net-next] bridge: mdb: add support for offloaded mdb entries
  2016-02-22 14:26 [patch iproute2-net-next] bridge: mdb: add support for offloaded mdb entries Jiri Pirko
@ 2016-03-04 13:52 ` Jiri Pirko
  2016-03-06 20:48 ` Stephen Hemminger
  1 sibling, 0 replies; 3+ messages in thread
From: Jiri Pirko @ 2016-03-04 13:52 UTC (permalink / raw)
  To: netdev; +Cc: stephen, idosch, eladr, yotamg, ogerlitz, roopa, nikolay

Mon, Feb 22, 2016 at 03:26:13PM CET, jiri@resnulli.us wrote:
>From: Elad Raz <eladr@mellanox.com>
>
>Mark MDB entries which are offloaded to HW with "offload" flag
>
>Signed-off-by: Elad Raz <eladr@mellanox.com>
>Signed-off-by: Jiri Pirko <jiri@mellanox.com>

Stephen, what happened with this patch? I don't see it in patchwork
anymore, yet I don't see it in iproute2/master nor iproute2/net-next gits.

Should I repost?

Thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch iproute2-net-next] bridge: mdb: add support for offloaded mdb entries
  2016-02-22 14:26 [patch iproute2-net-next] bridge: mdb: add support for offloaded mdb entries Jiri Pirko
  2016-03-04 13:52 ` Jiri Pirko
@ 2016-03-06 20:48 ` Stephen Hemminger
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2016-03-06 20:48 UTC (permalink / raw)
  To: Jiri Pirko; +Cc: netdev, idosch, eladr, yotamg, ogerlitz, roopa, nikolay

On Mon, 22 Feb 2016 15:26:13 +0100
Jiri Pirko <jiri@resnulli.us> wrote:

> From: Elad Raz <eladr@mellanox.com>
> 
> Mark MDB entries which are offloaded to HW with "offload" flag
> 
> Signed-off-by: Elad Raz <eladr@mellanox.com>
> Signed-off-by: Jiri Pirko <jiri@mellanox.com>
> ---
>  bridge/mdb.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Applied, took some defuzzing.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-06 20:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22 14:26 [patch iproute2-net-next] bridge: mdb: add support for offloaded mdb entries Jiri Pirko
2016-03-04 13:52 ` Jiri Pirko
2016-03-06 20:48 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).