[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1263299131.6037.44.camel@braunu-laptop>
Date: Tue, 12 Jan 2010 13:25:31 +0100
From: Ursula Braun <ubraun@...ux.vnet.ibm.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, linux-s390@...r.kernel.org,
frank.blaschka@...ibm.com, ursula.braun@...ibm.com
Subject: Re: [patch 1/3] [PATCH] qeth: HiperSockets Network Traffic Analyzer
On Tue, 2010-01-12 at 03:23 -0800, David Miller wrote:
> From: Ursula Braun <ubraun@...ux.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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists