From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Subject: Re: [B.A.T.M.A.N.] [PATCH v11 2/2] batman-adv: throughput meter implementation
Date: Fri, 20 May 2016 17:45:14 +0800 [thread overview]
Message-ID: <2925697.0li2FmKury@voltaire> (raw)
In-Reply-To: <1463564330-11178-2-git-send-email-sven.eckelmann@open-mesh.com>
[-- Attachment #1: Type: text/plain, Size: 3044 bytes --]
On Wednesday, May 18, 2016 11:38:49 Sven Eckelmann wrote:
> From: Antonio Quartulli <antonio.quartulli@open-mesh.com>
>
> The throughput meter module is a simple, kernel-space replacement for
> throughtput measurements tool like iperf and netperf. It is intended to
> approximate TCP behaviour.
>
> It is invoked through batctl: the protocol is connection oriented, with
> cumulative acknowledgment and a dynamic-size sliding window.
>
> The test *can* be interrupted by batctl. A receiver side timeout avoids
> unlimited waitings for sender packets: after one second of inactivity, the
> receiver abort the ongoing test.
>
> Based on a prototype from Edo Monticelli <montik@autistici.org>
>
> Signed-off-by: Antonio Quartulli <antonio.quartulli@open-mesh.com>
> Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
> ---
> v11:
> * moved batadv_tp_meter_init to batadv_init (main.c)
> * fixed missing space in kerneldoc between "<" and "0"
> * port to nla_put_u64_64bit
> * add compat code for nla_put_u64_64bit
> * introduce attribute BATADV_ATTR_PAD which is used for alignment
> * rename batadv_real_genl_register_family back to genl_register_family in
> compat-include
> v10:
> * no changes
> v9:
> * rebase on top of current master+"batman-adv: Include main.h in all
> files"+ "batman-adv: Keep includes ordered by filename"
> * adjust BATADV_DBG_TP_METER to bit 7 to avoid conflicts with mcast
> * Renamed BATADV_TP_SIGINT to BATADV_TP_REASON_CANCEL
> * Renamed batadv_tp_meter_reason enumerals to BATADV_TP_REASON*
> * Remove unrelated patch chunk in batadv_iv_ogm_orig_add_if
> * Re-add accidentally removed empty line from batadv_recv_my_icmp_packet
> * define BATADV_TP_PLEN via BATADV_TP_PACKET_LEN (increases it to 1476)
> * fixed whitespace problems in compat code
> * remove double "a" in kerneldoc for batadv_tp_meter_reason
> v8:
> * rebase on top of current master
> v7:
> * add compatibility code for v3.13
> * make batadv_netlink_mcgrps non-const because v3.12 needs it writable
> v6:
> * increase total_bytes to 64 bit to allow higher speeds/longer test times
> ---
> compat-include/linux/netlink.h | 113 +++
> compat-include/net/genetlink.h | 127 +++-
> include/uapi/linux/batman_adv.h | 43 ++
> net/batman-adv/Makefile | 1 +
> net/batman-adv/main.c | 4 +
> net/batman-adv/main.h | 26 +-
> net/batman-adv/netlink.c | 234 +++++-
> net/batman-adv/netlink.h | 6 +
> net/batman-adv/packet.h | 54 ++
> net/batman-adv/routing.c | 8 +
> net/batman-adv/soft-interface.c | 2 +
> net/batman-adv/tp_meter.c | 1503
> +++++++++++++++++++++++++++++++++++++++
> net/batman-adv/tp_meter.h | 34 +
> net/batman-adv/types.h | 112 +++
> 14 files changed, 2255 insertions(+), 12 deletions(-)
> create mode 100644 compat-include/linux/netlink.h
> create mode 100644 net/batman-adv/tp_meter.c
> create mode 100644 net/batman-adv/tp_meter.h
Applied in revision 98d7a76.
Thanks,
Marek
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-05-20 9:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-18 9:38 [B.A.T.M.A.N.] [PATCH v11 0/3] batman-adv: throughput meter Sven Eckelmann
2016-05-18 9:38 ` [B.A.T.M.A.N.] [PATCH v11 1/2] batman-adv: return netdev status in the TX path Sven Eckelmann
2016-05-20 8:43 ` Marek Lindner
2016-05-18 9:38 ` [B.A.T.M.A.N.] [PATCH v11 2/2] batman-adv: throughput meter implementation Sven Eckelmann
2016-05-20 9:45 ` Marek Lindner [this message]
2016-05-18 9:38 ` [B.A.T.M.A.N.] [PATCH v11] batctl: introduce throughput meter support Sven Eckelmann
2016-05-20 9:50 ` Marek Lindner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2925697.0li2FmKury@voltaire \
--to=mareklindner@neomailbox.ch \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=sven.eckelmann@open-mesh.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox