mbox

[00/11] pull request for net-next: batman-adv 2016-07-04

Message ID 1467637379-6089-1-git-send-email-sw@simonwunderlich.de (mailing list archive)
State Not Applicable, archived
Headers

Pull-request

git://git.open-mesh.org/linux-merge.git tags/batadv-next-for-davem-20160704

Message

Simon Wunderlich July 4, 2016, 1:02 p.m. UTC
  Hi David,

this is our second and final feature pull request for batman-adv in this
round.

Please pull or let me know of any problem!

Thank you,
      Simon

The following changes since commit 4e3e823b5a503235630921287f130e1d8d22d200:

  batman-adv: Add debugfs table for mcast flags (2016-06-30 10:29:43 +0200)

are available in the git repository at:

  git://git.open-mesh.org/linux-merge.git tags/batadv-next-for-davem-20160704

for you to fetch changes up to 29824a55c07cd79a530d4bc1020a529c402515b6:

  batman-adv: split routing API data structure in subobjects (2016-07-04 12:37:19 +0200)

----------------------------------------------------------------
This feature patchset includes the following changes:

 - Cleanup work by Markus Pargmann and Sven Eckelmann (six patches)

 - Initial Netlink support by Matthias Schiffer (two patches)

 - Throughput Meter implementation by Antonio Quartulli, a kernel-space
   traffic generator to estimate link speeds. This feature is useful on
   low-end WiFi APs where running iperf or netperf from userspace
   gives wrong results due to heavy userspace/kernelspace overhead.
   (two patches)

 - API clean-up work by Antonio Quartulli (one patch)

----------------------------------------------------------------
Antonio Quartulli (3):
      batman-adv: return netdev status in the TX path
      batman-adv: throughput meter implementation
      batman-adv: split routing API data structure in subobjects

Markus Pargmann (1):
      batman-adv: split tvlv into a separate file

Matthias Schiffer (2):
      batman-adv: add generic netlink family for batman-adv
      batman-adv: add netlink command to query generic mesh information files

Sven Eckelmann (5):
      batman-adv: Include main.h in bat_v_ogm.h
      batman-adv: Keep includes ordered by filename
      batman-adv: move bat_algo functions into a separate file
      batman-adv: Consolidate logging related functions
      batman-adv: Fix bat_(iv|v) function declaration header

 MAINTAINERS                            |    1 +
 include/uapi/linux/batman_adv.h        |  114 +++
 net/batman-adv/Makefile                |    5 +
 net/batman-adv/bat_algo.c              |  140 +++
 net/batman-adv/bat_algo.h              |   35 +-
 net/batman-adv/bat_iv_ogm.c            |   40 +-
 net/batman-adv/bat_iv_ogm.h            |   25 +
 net/batman-adv/bat_v.c                 |   29 +-
 net/batman-adv/bat_v.h                 |   52 ++
 net/batman-adv/bat_v_elp.c             |    3 +-
 net/batman-adv/bat_v_elp.h             |    4 +-
 net/batman-adv/bat_v_ogm.c             |    5 +-
 net/batman-adv/bat_v_ogm.h             |    4 +-
 net/batman-adv/bitarray.c              |    2 +
 net/batman-adv/bridge_loop_avoidance.c |    1 +
 net/batman-adv/debugfs.c               |  217 +----
 net/batman-adv/distributed-arp-table.c |    2 +
 net/batman-adv/fragmentation.c         |   41 +-
 net/batman-adv/fragmentation.h         |    6 +-
 net/batman-adv/gateway_client.c        |    1 +
 net/batman-adv/gateway_common.c        |    4 +-
 net/batman-adv/hard-interface.c        |   21 +-
 net/batman-adv/icmp_socket.c           |    1 +
 net/batman-adv/log.c                   |  231 +++++
 net/batman-adv/log.h                   |  111 +++
 net/batman-adv/main.c                  |  707 +--------------
 net/batman-adv/main.h                  |  121 +--
 net/batman-adv/multicast.c             |    2 +
 net/batman-adv/netlink.c               |  424 +++++++++
 net/batman-adv/netlink.h               |   32 +
 net/batman-adv/network-coding.c        |    2 +
 net/batman-adv/originator.c            |   51 +-
 net/batman-adv/packet.h                |   54 ++
 net/batman-adv/routing.c               |   43 +-
 net/batman-adv/send.c                  |   39 +-
 net/batman-adv/soft-interface.c        |    3 +
 net/batman-adv/sysfs.c                 |    7 +-
 net/batman-adv/tp_meter.c              | 1507 ++++++++++++++++++++++++++++++++
 net/batman-adv/tp_meter.h              |   34 +
 net/batman-adv/translation-table.c     |    8 +-
 net/batman-adv/tvlv.c                  |  632 ++++++++++++++
 net/batman-adv/tvlv.h                  |   61 ++
 net/batman-adv/types.h                 |  226 ++++-
 43 files changed, 3831 insertions(+), 1217 deletions(-)
 create mode 100644 include/uapi/linux/batman_adv.h
 create mode 100644 net/batman-adv/bat_algo.c
 create mode 100644 net/batman-adv/bat_iv_ogm.h
 create mode 100644 net/batman-adv/bat_v.h
 create mode 100644 net/batman-adv/log.c
 create mode 100644 net/batman-adv/log.h
 create mode 100644 net/batman-adv/netlink.c
 create mode 100644 net/batman-adv/netlink.h
 create mode 100644 net/batman-adv/tp_meter.c
 create mode 100644 net/batman-adv/tp_meter.h
 create mode 100644 net/batman-adv/tvlv.c
 create mode 100644 net/batman-adv/tvlv.h
  

Comments

David Miller July 5, 2016, 6:37 a.m. UTC | #1
From: Simon Wunderlich <sw@simonwunderlich.de>
Date: Mon,  4 Jul 2016 15:02:48 +0200

> this is our second and final feature pull request for batman-adv in this
> round.
> 
> Please pull or let me know of any problem!

Pulled, thanks.

I have no idea why you guys were using debugfs for anything that
actually matters like configuration. :-/  debugfs should only be
used for "debugging", such that if debugfs were not present the
full functionality of the facility would still be present.
  
Sven Eckelmann July 5, 2016, 7:07 a.m. UTC | #2
On Monday 04 July 2016 23:37:25 David Miller wrote:
[...]
> I have no idea why you guys were using debugfs for anything that
> actually matters like configuration. :-/

It wasn't used for configuration. rtnl/sysfs is used for configuration.

Kind regards,
	Sven
  
Simon Wunderlich July 5, 2016, 9:02 a.m. UTC | #3
Hi David,

On Monday 04 July 2016 23:37:25 David Miller wrote:
> From: Simon Wunderlich <sw@simonwunderlich.de>
> Date: Mon,  4 Jul 2016 15:02:48 +0200
> 
> > this is our second and final feature pull request for batman-adv in this
> > round.
> > 
> > Please pull or let me know of any problem!
> 
> Pulled, thanks.
> 
> I have no idea why you guys were using debugfs for anything that
> actually matters like configuration. :-/  debugfs should only be
> used for "debugging", such that if debugfs were not present the
> full functionality of the facility would still be present.

as Sven pointed out, debugfs was not used for configuration (except for very 
deep tune parameters which are really for debugging anyway). We use sysfs 
(formerly) and now rtnl for configuration.

However, debugfs has quite some tables showing the current state of the mesh 
(read only) which are obviously interesting for many users as well. Therefore 
we want to change to a netlink based interface in the long run, similar to 
what the wireless stack and iw are doing. This will also enable new features 
like proper namespace support, which we are going to integrate soon.

Cheers,
     Simon