lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <adask5fy8et.fsf@roland-alpha.cisco.com>
Date:	Tue, 25 May 2010 14:32:26 -0700
From:	Roland Dreier <rdreier@...co.com>
To:	Eli Cohen <eli@....mellanox.co.il>
Cc:	Eli Cohen <eli@...lanox.co.il>, davem@...emloft.net,
	netdev@...r.kernel.org,
	Linux RDMA list <linux-rdma@...r.kernel.org>,
	yevgenyp@...lanox.co.il
Subject: Re: [PATCH] mlx4_en: show device's port used

 > I don't think there are many devices out there which have more than
 > one port.

??

http://developer.intel.com/network/connectivity/solutions/gigabit.htm
http://www.broadcom.com/products/Ethernet-Controllers/Enterprise-Server/BCM5704C

etc

 > So this will require changing all the drivers to put some value there
 > or we would need to use a default value of 1 for drivers that don't
 > explicitly set a value.

Yes, just set a default value.

 > > and export it to userspace in generic code (so everyone
 > > does it the same way).

 > Something like ethtool? But we still need an entry under
 > /sys/class/net/ethx/, right?

It could be ethtool or a sysfs attr.

 - R.
-- 
Roland Dreier <rolandd@...co.com> || For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ