netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2 1/2] bridge: display IFLA_BRPORT_LEARNING value
@ 2014-05-20  9:37 Nicolas Dichtel
  2014-05-20  9:37 ` [PATCH iproute2 2/2] bridge: display IFLA_BRPORT_UNICAST_FLOOD value Nicolas Dichtel
  2014-05-20 15:13 ` [PATCH iproute2 1/2] bridge: display IFLA_BRPORT_LEARNING value Vlad Yasevich
  0 siblings, 2 replies; 4+ messages in thread
From: Nicolas Dichtel @ 2014-05-20  9:37 UTC (permalink / raw)
  To: shemminger; +Cc: netdev, Nicolas Dichtel

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
---
 bridge/link.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bridge/link.c b/bridge/link.c
index 38dfaea2e180..1632bc16803f 100644
--- a/bridge/link.c
+++ b/bridge/link.c
@@ -185,6 +185,9 @@ int print_linkinfo(const struct sockaddr_nl *who,
 				if (prtb[IFLA_BRPORT_FAST_LEAVE])
 					print_onoff(fp, "fastleave",
 						    rta_getattr_u8(prtb[IFLA_BRPORT_FAST_LEAVE]));
+				if (prtb[IFLA_BRPORT_LEARNING])
+					print_onoff(fp, "learning",
+						    rta_getattr_u8(prtb[IFLA_BRPORT_LEARNING]));
 			}
 		} else
 			print_portstate(fp, rta_getattr_u8(tb[IFLA_PROTINFO]));
-- 
1.9.0

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

* [PATCH iproute2 2/2] bridge: display IFLA_BRPORT_UNICAST_FLOOD value
  2014-05-20  9:37 [PATCH iproute2 1/2] bridge: display IFLA_BRPORT_LEARNING value Nicolas Dichtel
@ 2014-05-20  9:37 ` Nicolas Dichtel
  2014-05-20 15:13 ` [PATCH iproute2 1/2] bridge: display IFLA_BRPORT_LEARNING value Vlad Yasevich
  1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Dichtel @ 2014-05-20  9:37 UTC (permalink / raw)
  To: shemminger; +Cc: netdev, Nicolas Dichtel

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
---
 bridge/link.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bridge/link.c b/bridge/link.c
index 1632bc16803f..ca4a6023251f 100644
--- a/bridge/link.c
+++ b/bridge/link.c
@@ -188,6 +188,9 @@ int print_linkinfo(const struct sockaddr_nl *who,
 				if (prtb[IFLA_BRPORT_LEARNING])
 					print_onoff(fp, "learning",
 						    rta_getattr_u8(prtb[IFLA_BRPORT_LEARNING]));
+				if (prtb[IFLA_BRPORT_UNICAST_FLOOD])
+					print_onoff(fp, "unicast_flood",
+						    rta_getattr_u8(prtb[IFLA_BRPORT_UNICAST_FLOOD]));
 			}
 		} else
 			print_portstate(fp, rta_getattr_u8(tb[IFLA_PROTINFO]));
-- 
1.9.0

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

* Re: [PATCH iproute2 1/2] bridge: display IFLA_BRPORT_LEARNING value
  2014-05-20  9:37 [PATCH iproute2 1/2] bridge: display IFLA_BRPORT_LEARNING value Nicolas Dichtel
  2014-05-20  9:37 ` [PATCH iproute2 2/2] bridge: display IFLA_BRPORT_UNICAST_FLOOD value Nicolas Dichtel
@ 2014-05-20 15:13 ` Vlad Yasevich
  2014-05-20 16:11   ` Nicolas Dichtel
  1 sibling, 1 reply; 4+ messages in thread
From: Vlad Yasevich @ 2014-05-20 15:13 UTC (permalink / raw)
  To: Nicolas Dichtel, shemminger; +Cc: netdev

Hi Nicolas

On 05/20/2014 05:37 AM, Nicolas Dichtel wrote:
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
> ---
>  bridge/link.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/bridge/link.c b/bridge/link.c
> index 38dfaea2e180..1632bc16803f 100644
> --- a/bridge/link.c
> +++ b/bridge/link.c
> @@ -185,6 +185,9 @@ int print_linkinfo(const struct sockaddr_nl *who,
>  				if (prtb[IFLA_BRPORT_FAST_LEAVE])
>  					print_onoff(fp, "fastleave",
>  						    rta_getattr_u8(prtb[IFLA_BRPORT_FAST_LEAVE]));
> +				if (prtb[IFLA_BRPORT_LEARNING])
> +					print_onoff(fp, "learning",
> +						    rta_getattr_u8(prtb[IFLA_BRPORT_LEARNING]));
>  			}
>  		} else
>  			print_portstate(fp, rta_getattr_u8(tb[IFLA_PROTINFO]));
> 

Already proposed. See http://patchwork.ozlabs.org/patch/350291/

-vlad

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

* Re: [PATCH iproute2 1/2] bridge: display IFLA_BRPORT_LEARNING value
  2014-05-20 15:13 ` [PATCH iproute2 1/2] bridge: display IFLA_BRPORT_LEARNING value Vlad Yasevich
@ 2014-05-20 16:11   ` Nicolas Dichtel
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Dichtel @ 2014-05-20 16:11 UTC (permalink / raw)
  To: Vlad Yasevich, shemminger; +Cc: netdev

Le 20/05/2014 17:13, Vlad Yasevich a écrit :
> Hi Nicolas
>
> On 05/20/2014 05:37 AM, Nicolas Dichtel wrote:
>> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
>> ---
>>   bridge/link.c | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/bridge/link.c b/bridge/link.c
>> index 38dfaea2e180..1632bc16803f 100644
>> --- a/bridge/link.c
>> +++ b/bridge/link.c
>> @@ -185,6 +185,9 @@ int print_linkinfo(const struct sockaddr_nl *who,
>>   				if (prtb[IFLA_BRPORT_FAST_LEAVE])
>>   					print_onoff(fp, "fastleave",
>>   						    rta_getattr_u8(prtb[IFLA_BRPORT_FAST_LEAVE]));
>> +				if (prtb[IFLA_BRPORT_LEARNING])
>> +					print_onoff(fp, "learning",
>> +						    rta_getattr_u8(prtb[IFLA_BRPORT_LEARNING]));
>>   			}
>>   		} else
>>   			print_portstate(fp, rta_getattr_u8(tb[IFLA_PROTINFO]));
>>
>
> Already proposed. See http://patchwork.ozlabs.org/patch/350291/
Sorry for the noise, I've looked too quickly the patchwork.


Regards,
Nicolas

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

end of thread, other threads:[~2014-05-20 16:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-20  9:37 [PATCH iproute2 1/2] bridge: display IFLA_BRPORT_LEARNING value Nicolas Dichtel
2014-05-20  9:37 ` [PATCH iproute2 2/2] bridge: display IFLA_BRPORT_UNICAST_FLOOD value Nicolas Dichtel
2014-05-20 15:13 ` [PATCH iproute2 1/2] bridge: display IFLA_BRPORT_LEARNING value Vlad Yasevich
2014-05-20 16:11   ` Nicolas Dichtel

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).