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
| ||
|
Message-ID: <adaaarnzzsc.fsf@roland-alpha.cisco.com> Date: Tue, 25 May 2010 09:55:47 -0700 From: Roland Dreier <rdreier@...co.com> To: Eli Cohen <eli@...lanox.co.il> Cc: 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 > Add a sysfs file under /sys/class/net/<ethx> to show the port number within the > device that this network interface is using. This is needed as ConnectX devices > have two ports and it is useful to know which port the ethernet devices uses. How do other multi-port ethernet devices handle this? Seems that the cleanest way to handle this would be to add a place for drivers to set the port number, and export it to userspace in generic code (so everyone does it the same way). -- 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