public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
From: Ursula Braun <ubraun@linux.vnet.ibm.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, linux-s390@vger.kernel.org,
	frank.blaschka@de.ibm.com, ursula.braun@de.ibm.com
Subject: Re: [patch 1/3] [PATCH] qeth: HiperSockets Network Traffic Analyzer
Date: Tue, 12 Jan 2010 13:25:31 +0100	[thread overview]
Message-ID: <1263299131.6037.44.camel@braunu-laptop> (raw)
In-Reply-To: <20100112.032305.223871701.davem@davemloft.net>

On Tue, 2010-01-12 at 03:23 -0800, David Miller wrote:
> From: Ursula Braun <ubraun@linux.vnet.ibm.com>
> Date: Tue, 12 Jan 2010 12:19:44 +0100
> 
> > An HS NTA device in Linux on System z is a specialized HiperSockets
> > device managed by the qeth driver and initialized specifically for
> > sniffing. The trigger for an HS device to act as a Network Traffic
> > Analyzer is the sysfs attribute "sniffer". If this attribute is set to
> > 1, the NTA-specific initialization is started when the HS device is
> > brought online. Traffic sniffing starts, once the device is switched
> > into promiscuous mode, for instance by invoking the tcpdump-tool.
> 
> Sounds like something which might be useful for other
> virtualized environments.
> 
> At worst, they would be able to provide some similar
> facility, and therefore the configuration mechanism to
> turn this on should be unified.
> 
> Perhaps an ethtool boolean flag setting or similar,
> rather than a baroque and driver specific sysfs knob.

Sounds like a good idea, but there exists a qeth-specific problem if
sniffer configuration should be switched to ethtool: Ethtool requires
the existence of the network interface for the network device. The
network interface for s390 network devices is defined within an
s390-specific initialization step called "online setting". The sniffing
characteristic must be configured before the online setting of the
device, since NTA-specific initialization steps are necessary. At that
point of time we cannot make use of ethtool, because the network
interface name is not known yet. That means switching to your proposed
ethtool-based configuration mechanism for HS NTA would result in an
additional major rework of qeth device setup.

  reply	other threads:[~2010-01-12 12:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-12 11:19 [patch 1/3] [PATCH] qeth: HiperSockets Network Traffic Analyzer Ursula Braun
2010-01-12 11:23 ` David Miller
2010-01-12 12:25   ` Ursula Braun [this message]
2010-01-12 12:59     ` David Miller
2010-01-12 13:29       ` Ursula Braun
2010-01-14  4:35         ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2010-01-11 12:50 [patch 0/3] s390: qeth patches for 2.6.34 frank.blaschka
2010-01-11 12:50 ` [patch 1/3] [PATCH] qeth: HiperSockets Network Traffic Analyzer frank.blaschka
2010-01-12  0:30   ` David Miller

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=1263299131.6037.44.camel@braunu-laptop \
    --to=ubraun@linux.vnet.ibm.com \
    --cc=davem@davemloft.net \
    --cc=frank.blaschka@de.ibm.com \
    --cc=linux-s390@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=ursula.braun@de.ibm.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