On Tue, 2010-01-12 at 03:23 -0800, David Miller wrote: > From: Ursula Braun <ubraun@xxxxxxxxxxxxxxxxxx> > 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 linux-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html