From: Roland Dreier <rdreier@cisco.com>
To: Eli Cohen <eli@mellanox.co.il>
Cc: davem@davemloft.net, netdev@vger.kernel.org,
Linux RDMA list <linux-rdma@vger.kernel.org>,
yevgenyp@mellanox.co.il
Subject: Re: [PATCH] mlx4_en: show device's port used
Date: Tue, 25 May 2010 09:55:47 -0700 [thread overview]
Message-ID: <adaaarnzzsc.fsf@roland-alpha.cisco.com> (raw)
In-Reply-To: <20100525135548.GA12749@mtldesk030.lab.mtl.com> (Eli Cohen's message of "Tue, 25 May 2010 16:55:48 +0300")
> 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@cisco.com> || For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html
next prev parent reply other threads:[~2010-05-25 16:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-25 13:55 [PATCH] mlx4_en: show device's port used Eli Cohen
2010-05-25 16:55 ` Roland Dreier [this message]
[not found] ` <adaaarnzzsc.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-05-25 17:12 ` Stephen Hemminger
2010-05-25 17:42 ` Eli Cohen
[not found] ` <20100525174214.GA14745-8YAHvHwT2UEvbXDkjdHOrw/a8Rv0c6iv@public.gmane.org>
2010-05-25 21:32 ` Roland Dreier
[not found] ` <adask5fy8et.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-05-26 11:35 ` Tziporet Koren
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=adaaarnzzsc.fsf@roland-alpha.cisco.com \
--to=rdreier@cisco.com \
--cc=davem@davemloft.net \
--cc=eli@mellanox.co.il \
--cc=linux-rdma@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=yevgenyp@mellanox.co.il \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.