All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Aring <aring@mojatatu.com>
To: Stefan Schmidt <stefan@osg.samsung.com>
Cc: linux-wpan@vger.kernel.org, kernel@mojatatu.com
Subject: Re: [RFC PATCH wpan-next 1/2] ieee802154: hwsim: add replacement for fakelb
Date: Thu, 17 May 2018 16:35:55 -0400	[thread overview]
Message-ID: <20180517203555.jxu3si3ea6pqd6j3@x220t> (raw)
In-Reply-To: <20180517202934.azxojzh6hma3arde@x220t>

Hi,

On Thu, May 17, 2018 at 04:29:34PM -0400, Alexander Aring wrote:
> Hi,
> 
> On Mon, May 14, 2018 at 05:40:26PM +0200, Stefan Schmidt wrote:
> > Hello.
> > 
> > 
> > On 05/14/2018 04:29 PM, Alexander Aring wrote:
> > > Hi,
> > >
> > > On Fri, Apr 27, 2018 at 05:21:53PM -0400, Alexander Aring wrote:
> > >> This patch adds a new virtual driver mac802154_hwsim which is based on
> > >> the fakelb driver.
> > >> The fakelb driver will get deprecated and hopefully removed someday.
> > >> The main reason for doing this step is to rename the driver to
> > >> mac802154_hwsim to have a similar naming scheme as mac80211_hwsim,
> > >> which is more popular in the 802.11 wireless word and the idea is the
> > >> same behind this driver.
> > >>
> > >> The new features of this driver are to have knowledge about connected
> > >> edges, which can be changed during runtime. This offers a testing
> > >> environment for routing protocols e.g. RPL.
> > >> The default behaviour is still as fakelb: two radios connected to each
> > >> other. New added radios during runtime will not be connected to other
> > >> wpan_hwsim instances.
> > >>
> > >> The netlink api is not namespace aware on purpose, only the registered
> > >> wpan_phy's can be moved to namespaces. The physical layer according to
> > >> wiresless "air" communication can be handled across namespaces.
> > >>
> > >> Furthermore the edges can be weighted with the LQI value according IEEE
> > >> 802.15.4 which offers additional handling to mark bad or good connection
> > >> indicators to other connected virtual phys.
> > >>
> > >> Signed-off-by: Alexander Aring <aring@mojatatu.com>
> > > somebody (don't cc him, I think he don't want to be public) reported
> > > about issues with hwsim privetly. I will check on it and enable more
> > > kernel debugging stuff in kernel hacking feature to see all
> > > locking/stack issues.
> > 
> > The positive side is that it got some more testing and you got some problems reported. :-)
> > 
> 
> My test case is:
> 
> while true;do wpan-hwsim edge del 0 1; sleep 1; wpan-hwsim edge add 0 1;sleep 1;done
> 

forget the sleep here, better without so add/del edge so fast as
possible while traffic send.

traffic send can be replaced by iperf or netperf.

- Alex

  reply	other threads:[~2018-05-17 20:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-27 21:21 [RFC PATCH wpan-next 0/2] ieee802154: hwsim: add hwsim driver Alexander Aring
2018-04-27 21:21 ` [RFC PATCH wpan-next 1/2] ieee802154: hwsim: add replacement for fakelb Alexander Aring
2018-05-07 14:00   ` Stefan Schmidt
2018-05-17 19:57     ` Alexander Aring
2018-05-14 14:29   ` Alexander Aring
2018-05-14 15:40     ` Stefan Schmidt
2018-05-17 20:29       ` Alexander Aring
2018-05-17 20:35         ` Alexander Aring [this message]
2018-04-27 21:21 ` [RFC PATCH wpan-next 2/2] ieee802154: fakelb: add deprecated msg while probe Alexander Aring
2018-05-07 14:01   ` Stefan Schmidt
2018-05-17 20:40   ` Alexander Aring

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=20180517203555.jxu3si3ea6pqd6j3@x220t \
    --to=aring@mojatatu.com \
    --cc=kernel@mojatatu.com \
    --cc=linux-wpan@vger.kernel.org \
    --cc=stefan@osg.samsung.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.