b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: Add BATADV_DBG_TP_METER to BATADV_DBG_ALL
@ 2016-07-16 19:30 Sven Eckelmann
  2016-07-16 19:30 ` [B.A.T.M.A.N.] [PATCH 2/5] batman-adv: Add B.A.T.M.A.N. V sysfs files to README Sven Eckelmann
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Sven Eckelmann @ 2016-07-16 19:30 UTC (permalink / raw)
  To: b.a.t.m.a.n

The BATADV_DBG_ALL has to contain the bit of BATADV_DBG_TP_METER to really
support all available debug messages.

Fixes: 98d7a766b645 ("batman-adv: throughput meter implementation")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 net/batman-adv/log.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/batman-adv/log.h b/net/batman-adv/log.h
index e0e1a88..d2905a8 100644
--- a/net/batman-adv/log.h
+++ b/net/batman-adv/log.h
@@ -63,7 +63,7 @@ enum batadv_dbg_level {
 	BATADV_DBG_NC		= BIT(5),
 	BATADV_DBG_MCAST	= BIT(6),
 	BATADV_DBG_TP_METER	= BIT(7),
-	BATADV_DBG_ALL		= 127,
+	BATADV_DBG_ALL		= 255,
 };
 
 #ifdef CONFIG_BATMAN_ADV_DEBUG
-- 
2.8.1


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

* [B.A.T.M.A.N.] [PATCH 2/5] batman-adv: Add B.A.T.M.A.N. V sysfs files to README
  2016-07-16 19:30 [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: Add BATADV_DBG_TP_METER to BATADV_DBG_ALL Sven Eckelmann
@ 2016-07-16 19:30 ` Sven Eckelmann
  2016-10-18 11:23   ` [B.A.T.M.A.N.] [2/5] " Sven Eckelmann
  2016-07-16 19:30 ` [B.A.T.M.A.N.] [PATCH 3/5] batman-adv: Add network_coding and mcast syfs " Sven Eckelmann
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Sven Eckelmann @ 2016-07-16 19:30 UTC (permalink / raw)
  To: b.a.t.m.a.n

Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 Documentation/networking/batman-adv.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/networking/batman-adv.txt b/Documentation/networking/batman-adv.txt
index 8a8d3d9..d414e60 100644
--- a/Documentation/networking/batman-adv.txt
+++ b/Documentation/networking/batman-adv.txt
@@ -32,7 +32,7 @@ compatible interfaces. Once found, it will create  subfolders  in
 the /sys directories of each supported interface, e.g.
 
 # ls /sys/class/net/eth0/batman_adv/
-# iface_status  mesh_iface
+# elp_interval  iface_status  mesh_iface  throughput_override
 
 If an interface does not have the "batman_adv" subfolder it prob-
 ably is not supported. Not supported  interfaces  are:  loopback,
-- 
2.8.1


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

* [B.A.T.M.A.N.] [PATCH 3/5] batman-adv: Add network_coding and mcast syfs files to README
  2016-07-16 19:30 [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: Add BATADV_DBG_TP_METER to BATADV_DBG_ALL Sven Eckelmann
  2016-07-16 19:30 ` [B.A.T.M.A.N.] [PATCH 2/5] batman-adv: Add B.A.T.M.A.N. V sysfs files to README Sven Eckelmann
@ 2016-07-16 19:30 ` Sven Eckelmann
  2016-10-18 11:24   ` [B.A.T.M.A.N.] [3/5] " Sven Eckelmann
  2016-07-16 19:32 ` [B.A.T.M.A.N.] [PATCH 4/5] batman-adv: Add dat, mcast, nc and neighbor debugfs " Sven Eckelmann
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Sven Eckelmann @ 2016-07-16 19:30 UTC (permalink / raw)
  To: b.a.t.m.a.n

Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 Documentation/networking/batman-adv.txt | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/Documentation/networking/batman-adv.txt b/Documentation/networking/batman-adv.txt
index d414e60..8afa991 100644
--- a/Documentation/networking/batman-adv.txt
+++ b/Documentation/networking/batman-adv.txt
@@ -71,10 +71,11 @@ All  mesh  wide  settings  can be found in batman's own interface
 folder:
 
 # ls /sys/class/net/bat0/mesh/
-#aggregated_ogms        distributed_arp_table  gw_sel_class    orig_interval
-#ap_isolation           fragmentation          hop_penalty     routing_algo
-#bonding                gw_bandwidth           isolation_mark  vlan0
-#bridge_loop_avoidance  gw_mode                log_level
+# aggregated_ogms        fragmentation  isolation_mark  routing_algo
+# ap_isolation           gw_bandwidth   log_level       vlan0
+# bonding                gw_mode        multicast_mode
+# bridge_loop_avoidance  gw_sel_class   network_coding
+# distributed_arp_table  hop_penalty    orig_interval
 
 There is a special folder for debugging information:
 
-- 
2.8.1


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

* [B.A.T.M.A.N.] [PATCH 4/5] batman-adv: Add dat, mcast, nc and neighbor debugfs files to README
  2016-07-16 19:30 [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: Add BATADV_DBG_TP_METER to BATADV_DBG_ALL Sven Eckelmann
  2016-07-16 19:30 ` [B.A.T.M.A.N.] [PATCH 2/5] batman-adv: Add B.A.T.M.A.N. V sysfs files to README Sven Eckelmann
  2016-07-16 19:30 ` [B.A.T.M.A.N.] [PATCH 3/5] batman-adv: Add network_coding and mcast syfs " Sven Eckelmann
@ 2016-07-16 19:32 ` Sven Eckelmann
  2016-10-18 11:26   ` [B.A.T.M.A.N.] [4/5] " Sven Eckelmann
  2016-07-16 19:32 ` [B.A.T.M.A.N.] [PATCH 5/5] batman-adv: Document new nc, mcast and tpmeter log levels Sven Eckelmann
  2016-10-18 11:26 ` [B.A.T.M.A.N.] [maint, 1/5] batman-adv: Add BATADV_DBG_TP_METER to BATADV_DBG_ALL Sven Eckelmann
  4 siblings, 1 reply; 10+ messages in thread
From: Sven Eckelmann @ 2016-07-16 19:32 UTC (permalink / raw)
  To: b.a.t.m.a.n

Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 Documentation/networking/batman-adv.txt | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Documentation/networking/batman-adv.txt b/Documentation/networking/batman-adv.txt
index 8afa991..a918131 100644
--- a/Documentation/networking/batman-adv.txt
+++ b/Documentation/networking/batman-adv.txt
@@ -80,9 +80,10 @@ folder:
 There is a special folder for debugging information:
 
 # ls /sys/kernel/debug/batman_adv/bat0/
-# bla_backbone_table  log                 transtable_global
-# bla_claim_table     originators         transtable_local
-# gateways            socket
+# bla_backbone_table  log          neighbors          transtable_local
+# bla_claim_table     mcast_flags  originators
+# dat_cache           nc           socket
+# gateways            nc_nodes     transtable_global
 
 Some of the files contain all sort of status information  regard-
 ing  the  mesh  network.  For  example, you can view the table of
-- 
2.8.1


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

* [B.A.T.M.A.N.] [PATCH 5/5] batman-adv: Document new nc, mcast and tpmeter log levels
  2016-07-16 19:30 [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: Add BATADV_DBG_TP_METER to BATADV_DBG_ALL Sven Eckelmann
                   ` (2 preceding siblings ...)
  2016-07-16 19:32 ` [B.A.T.M.A.N.] [PATCH 4/5] batman-adv: Add dat, mcast, nc and neighbor debugfs " Sven Eckelmann
@ 2016-07-16 19:32 ` Sven Eckelmann
  2016-10-18 11:27   ` [B.A.T.M.A.N.] [5/5] " Sven Eckelmann
  2016-10-18 11:26 ` [B.A.T.M.A.N.] [maint, 1/5] batman-adv: Add BATADV_DBG_TP_METER to BATADV_DBG_ALL Sven Eckelmann
  4 siblings, 1 reply; 10+ messages in thread
From: Sven Eckelmann @ 2016-07-16 19:32 UTC (permalink / raw)
  To: b.a.t.m.a.n

Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 Documentation/networking/batman-adv.txt | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/Documentation/networking/batman-adv.txt b/Documentation/networking/batman-adv.txt
index a918131..ccf9467 100644
--- a/Documentation/networking/batman-adv.txt
+++ b/Documentation/networking/batman-adv.txt
@@ -161,13 +161,16 @@ file in debugfs
 The additional debug output is by default disabled. It can be en-
 abled  during run time. Following log_levels are defined:
 
-0 - All  debug  output  disabled
-1 - Enable messages related to routing / flooding / broadcasting
-2 - Enable messages related to route added / changed / deleted
-4 - Enable messages related to translation table operations
-8 - Enable messages related to bridge loop avoidance
-16 - Enable messaged related to DAT, ARP snooping and parsing
-31 - Enable all messages
+  0 - All  debug  output  disabled
+  1 - Enable messages related to routing / flooding / broadcasting
+  2 - Enable messages related to route added / changed / deleted
+  4 - Enable messages related to translation table operations
+  8 - Enable messages related to bridge loop avoidance
+ 16 - Enable messages related to DAT, ARP snooping and parsing
+ 32 - Enable messages related to network coding
+ 64 - Enable messages related to multicast
+128 - Enable messages related to throughput meter
+255 - Enable all messages
 
 The debug output can be changed at runtime  using  the  file
 /sys/class/net/bat0/mesh/log_level. e.g.
-- 
2.8.1


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

* Re: [B.A.T.M.A.N.] [2/5] batman-adv: Add B.A.T.M.A.N. V sysfs files to README
  2016-07-16 19:30 ` [B.A.T.M.A.N.] [PATCH 2/5] batman-adv: Add B.A.T.M.A.N. V sysfs files to README Sven Eckelmann
@ 2016-10-18 11:23   ` Sven Eckelmann
  0 siblings, 0 replies; 10+ messages in thread
From: Sven Eckelmann @ 2016-10-18 11:23 UTC (permalink / raw)
  To: b.a.t.m.a.n

[-- Attachment #1: Type: text/plain, Size: 392 bytes --]

On Samstag, 16. Juli 2016 21:30:21 CEST Sven Eckelmann wrote:
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
>  Documentation/networking/batman-adv.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied in 05145c40763a6372df552cfdd4a9f2ef4bba0d61 [1].

Kind regards,
	Sven

[1] https://git.open-mesh.org/batman-adv.git/commit/05145c40763a6372df552cfdd4a9f2ef4bba0d61

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

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

* Re: [B.A.T.M.A.N.] [3/5] batman-adv: Add network_coding and mcast syfs files to README
  2016-07-16 19:30 ` [B.A.T.M.A.N.] [PATCH 3/5] batman-adv: Add network_coding and mcast syfs " Sven Eckelmann
@ 2016-10-18 11:24   ` Sven Eckelmann
  0 siblings, 0 replies; 10+ messages in thread
From: Sven Eckelmann @ 2016-10-18 11:24 UTC (permalink / raw)
  To: b.a.t.m.a.n

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

On Samstag, 16. Juli 2016 21:30:22 CEST Sven Eckelmann wrote:
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
>  Documentation/networking/batman-adv.txt | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)

Applied in 908ea9a52770d750b9ff2c0f601d78d4b670dd19 [1].

Kind regards,
	Sven

[1] https://git.open-mesh.org/batman-adv.git/commit/908ea9a52770d750b9ff2c0f601d78d4b670dd19

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

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

* Re: [B.A.T.M.A.N.] [maint, 1/5] batman-adv: Add BATADV_DBG_TP_METER to BATADV_DBG_ALL
  2016-07-16 19:30 [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: Add BATADV_DBG_TP_METER to BATADV_DBG_ALL Sven Eckelmann
                   ` (3 preceding siblings ...)
  2016-07-16 19:32 ` [B.A.T.M.A.N.] [PATCH 5/5] batman-adv: Document new nc, mcast and tpmeter log levels Sven Eckelmann
@ 2016-10-18 11:26 ` Sven Eckelmann
  4 siblings, 0 replies; 10+ messages in thread
From: Sven Eckelmann @ 2016-10-18 11:26 UTC (permalink / raw)
  To: b.a.t.m.a.n

[-- Attachment #1: Type: text/plain, Size: 563 bytes --]

On Samstag, 16. Juli 2016 21:30:20 CEST Sven Eckelmann wrote:
> The BATADV_DBG_ALL has to contain the bit of BATADV_DBG_TP_METER to really
> support all available debug messages.
> 
> Fixes: 98d7a766b645 ("batman-adv: throughput meter implementation")
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
>  net/batman-adv/log.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied in fcf6a3a20f1ca1ecf248ae576d0bd425e1fc96d6 [1].

Kind regards,
	Sven

[1] https://git.open-mesh.org/batman-adv.git/commit/fcf6a3a20f1ca1ecf248ae576d0bd425e1fc96d6

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

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

* Re: [B.A.T.M.A.N.] [4/5] batman-adv: Add dat, mcast, nc and neighbor debugfs files to README
  2016-07-16 19:32 ` [B.A.T.M.A.N.] [PATCH 4/5] batman-adv: Add dat, mcast, nc and neighbor debugfs " Sven Eckelmann
@ 2016-10-18 11:26   ` Sven Eckelmann
  0 siblings, 0 replies; 10+ messages in thread
From: Sven Eckelmann @ 2016-10-18 11:26 UTC (permalink / raw)
  To: b.a.t.m.a.n

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

On Samstag, 16. Juli 2016 21:32:01 CEST Sven Eckelmann wrote:
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
>  Documentation/networking/batman-adv.txt | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)

Applied in e3c647ae1ce653c0deece8457a510b3e9c68e0b6 [1].

Kind regards,
	Sven

[1] https://git.open-mesh.org/batman-adv.git/commit/e3c647ae1ce653c0deece8457a510b3e9c68e0b6

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

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

* Re: [B.A.T.M.A.N.] [5/5] batman-adv: Document new nc, mcast and tpmeter log levels
  2016-07-16 19:32 ` [B.A.T.M.A.N.] [PATCH 5/5] batman-adv: Document new nc, mcast and tpmeter log levels Sven Eckelmann
@ 2016-10-18 11:27   ` Sven Eckelmann
  0 siblings, 0 replies; 10+ messages in thread
From: Sven Eckelmann @ 2016-10-18 11:27 UTC (permalink / raw)
  To: b.a.t.m.a.n

[-- Attachment #1: Type: text/plain, Size: 411 bytes --]

On Samstag, 16. Juli 2016 21:32:02 CEST Sven Eckelmann wrote:
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
>  Documentation/networking/batman-adv.txt | 17 ++++++++++-------
>  1 file changed, 10 insertions(+), 7 deletions(-)

Applied in 147152b26c2ca2714f1619fbe655cccc0afab6c9 [1].

Kind regards,
	Sven

[1] https://git.open-mesh.org/batman-adv.git/commit/147152b26c2ca2714f1619fbe655cccc0afab6c9

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

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

end of thread, other threads:[~2016-10-18 11:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-16 19:30 [B.A.T.M.A.N.] [PATCH 1/5] batman-adv: Add BATADV_DBG_TP_METER to BATADV_DBG_ALL Sven Eckelmann
2016-07-16 19:30 ` [B.A.T.M.A.N.] [PATCH 2/5] batman-adv: Add B.A.T.M.A.N. V sysfs files to README Sven Eckelmann
2016-10-18 11:23   ` [B.A.T.M.A.N.] [2/5] " Sven Eckelmann
2016-07-16 19:30 ` [B.A.T.M.A.N.] [PATCH 3/5] batman-adv: Add network_coding and mcast syfs " Sven Eckelmann
2016-10-18 11:24   ` [B.A.T.M.A.N.] [3/5] " Sven Eckelmann
2016-07-16 19:32 ` [B.A.T.M.A.N.] [PATCH 4/5] batman-adv: Add dat, mcast, nc and neighbor debugfs " Sven Eckelmann
2016-10-18 11:26   ` [B.A.T.M.A.N.] [4/5] " Sven Eckelmann
2016-07-16 19:32 ` [B.A.T.M.A.N.] [PATCH 5/5] batman-adv: Document new nc, mcast and tpmeter log levels Sven Eckelmann
2016-10-18 11:27   ` [B.A.T.M.A.N.] [5/5] " Sven Eckelmann
2016-10-18 11:26 ` [B.A.T.M.A.N.] [maint, 1/5] batman-adv: Add BATADV_DBG_TP_METER to BATADV_DBG_ALL Sven Eckelmann

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