From: David Miller <davem@davemloft.net>
To: hagen@jauu.net
Cc: netdev@vger.kernel.org, fw@strlen.de
Subject: Re: [PATCH] netem: add cell concept to simulate special MAC behavior
Date: Mon, 12 Dec 2011 19:45:12 -0500 (EST) [thread overview]
Message-ID: <20111212.194512.338764506478752885.davem@davemloft.net> (raw)
In-Reply-To: <1323736200-1252-1-git-send-email-hagen@jauu.net>
From: Hagen Paul Pfeifer <hagen@jauu.net>
Date: Tue, 13 Dec 2011 01:30:00 +0100
> This extension can be used to simulate special link layer
> characteristics. Simulate because packet data is not modified, only the
> calculation base is changed to delay a packet based on the original
> packet size and artificial cell information.
>
> packet_overhead can be used to simulate a link layer header compression
> scheme (e.g. set packet_overhead to -20) or with a positive
> packet_overhead value an additional MAC header can be simulated. It is
> also possible to "replace" the 14 byte Ethernet header with something
> else.
>
> cell_size and cell_overhead can be used to simulate link layer schemes,
> based on cells, like some TDMA schemes. Another application area are MAC
> schemes using a link layer fragmentation with a (small) header each.
> Cell size is the maximum amount of data bytes within one cell. Cell
> overhead is an additional variable to change the per-cell-overhead
> (e.g. 5 byte header per fragment).
>
> Example (5 kbit/s, 20 byte per packet overhead, cell-size 100 byte, per
> cell overhead 5 byte):
>
> tc qdisc add dev eth0 root netem rate 5kbit 20 100 5
>
> Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
> Signed-off-by: Florian Westphal <fw@strlen.de>
> Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Applied, thanks.
next prev parent reply other threads:[~2011-12-13 0:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-10 15:15 [PATCH net-next] netem: add cell concept to simulate special MAC behavior Hagen Paul Pfeifer
2011-12-10 16:43 ` Eric Dumazet
2011-12-10 23:36 ` [PATCH] " Hagen Paul Pfeifer
2011-12-10 23:58 ` Florian Westphal
2011-12-11 0:02 ` Hagen Paul Pfeifer
2011-12-11 0:08 ` Hagen Paul Pfeifer
2011-12-11 0:11 ` Hagen Paul Pfeifer
2011-12-12 17:19 ` Stephen Hemminger
2011-12-13 0:01 ` David Miller
2011-12-13 0:30 ` Hagen Paul Pfeifer
2011-12-13 0:45 ` David Miller [this message]
2011-12-12 17:18 ` [PATCH net-next] " Stephen Hemminger
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=20111212.194512.338764506478752885.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=fw@strlen.de \
--cc=hagen@jauu.net \
--cc=netdev@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).