From: Eli Cohen <eli-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Roland Dreier <rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
Cc: Eli Cohen <eli-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>,
Linux RDMA list
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] mlx4: Use official names for supported devices
Date: Mon, 12 Oct 2009 17:03:05 +0200 [thread overview]
Message-ID: <20091012150305.GA28596@mtls03> (raw)
In-Reply-To: <adaws30hdvh.fsf-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
On Mon, Oct 12, 2009 at 07:43:14AM -0700, Roland Dreier wrote:
> This patch doesn't apply since e76d0b67 ("mlx4_core: Add 40GigE device
> ID") which adds ID 0x676e for 40GE.
I was used your "master" branch to create the patches. I see the
commit you mention on "for-linus" so I'll fix that.
>
> Also if we're going to churn all these comments, I think it would be a
> good idea to at least make the names follow a consistent scheme:
>
> A) choose either "PCIe 2.0" or "PCIe Gen2" and use that everywhere, not:
>
> > + { PCI_VDEVICE(MELLANOX, 0x6372) }, /* MT25458 [ConnectX EN 10GigE 10GBaseT, PCIe 2.0 2.5GT/s] */
>
> vs.
>
> > + { PCI_VDEVICE(MELLANOX, 0x675a) }, /* MT26458 [ConnectX EN 10GigE 10GBaseT, PCIe Gen2 5GT/s] */
>
> B) decide whether the external port type goes before or after the PCIe
> speed, use that everywhere, not:
>
> > + { PCI_VDEVICE(MELLANOX, 0x634a) }, /* MT25418 [ConnectX VPI PCIe 2.0 2.5GT/s - IB DDR / 10GigE] */
>
> vs.
>
> > + { PCI_VDEVICE(MELLANOX, 0x6368) }, /* MT25448 [ConnectX EN 10GigE, PCIe 2.0 2.5GT/s] */
>
> To be honest even if we did that I don't see that much value in this
> patch -- it replaces readable comments with longer ones that wrap around
> the edge of my terminal, which say pretty much the same thing.
I will re-send once I get the correct official phrasing. The patch
fixes inconsistencies in between hex values and decimal values of
device IDs so I think it is needed.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2009-10-12 15:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-12 14:29 [PATCH] mlx4: Use official names for supported devices Eli Cohen
2009-10-12 14:43 ` Roland Dreier
[not found] ` <adaws30hdvh.fsf-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2009-10-12 15:03 ` Eli Cohen [this message]
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=20091012150305.GA28596@mtls03 \
--to=eli-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
--cc=eli-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org \
/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.