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
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,
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/05145c40763a6372df552cfdd4a9...
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:
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/908ea9a52770d750b9ff2c0f601d...
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
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/e3c647ae1ce653c0deece8457a51...
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.
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/147152b26c2ca2714f1619fbe655...
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/fcf6a3a20f1ca1ecf248ae576d0b...
b.a.t.m.a.n@lists.open-mesh.org