All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add new device IDs for ConnectX VPI HCAs
@ 2010-02-08 14:04 Vladimir Sokolovsky
  2010-02-24 22:07 ` Roland Dreier
  0 siblings, 1 reply; 5+ messages in thread
From: Vladimir Sokolovsky @ 2010-02-08 14:04 UTC (permalink / raw)
  To: rdreier-FYB4Gu1CFyUAvxtiuMwx3w; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Signed-off-by: Vladimir Sokolovsky <vlad-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>
---
 src/mlx4.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mlx4.c b/src/mlx4.c
index 1295c53..973df68 100644
--- a/src/mlx4.c
+++ b/src/mlx4.c
@@ -66,6 +66,8 @@ struct {
 	HCA(MELLANOX, 0x6354),	/* MT25408 "Hermon" QDR */
 	HCA(MELLANOX, 0x6732),	/* MT25408 "Hermon" DDR PCIe gen2 */
 	HCA(MELLANOX, 0x673c),	/* MT25408 "Hermon" QDR PCIe gen2 */
+	HCA(MELLANOX, 0x6746),	/* MT26438 ConnectX VPI PCIe 2.0 5GT/s - IB QDR / 10GigE Virt+ */
+	HCA(MELLANOX, 0x6778),	/* MT26488 ConnectX VPI PCIe 2.0 5GT/s - IB DDR / 10GigE Virt+ */
 };
 
 static struct ibv_context_ops mlx4_ctx_ops = {
-- 
1.5.4.3

--
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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] Add new device IDs for ConnectX VPI HCAs
  2010-02-08 14:04 [PATCH] Add new device IDs for ConnectX VPI HCAs Vladimir Sokolovsky
@ 2010-02-24 22:07 ` Roland Dreier
       [not found]   ` <adazl2yxp7r.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Roland Dreier @ 2010-02-24 22:07 UTC (permalink / raw)
  To: vlad-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

 > +	HCA(MELLANOX, 0x6746),	/* MT26438 ConnectX VPI PCIe 2.0 5GT/s - IB QDR / 10GigE Virt+ */

The kernel calls this device ID "MT26438 ConnectX EN 40GigE PCIe gen2
5GT/s".  Maybe we should just delete these comments, since we can't seem
to get them right?

 > +	HCA(MELLANOX, 0x6778),	/* MT26488 ConnectX VPI PCIe 2.0 5GT/s - IB DDR / 10GigE Virt+ */

Are we missing a kernel patch?  I don't see this device ID in the kernel
driver.
-- 
Roland Dreier  <rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
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 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Add new device IDs for ConnectX VPI HCAs
       [not found]   ` <adazl2yxp7r.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
@ 2010-02-25 21:08     ` Eli Cohen
       [not found]       ` <20100225210850.GA26139-8YAHvHwT2UEvbXDkjdHOrw/a8Rv0c6iv@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Cohen @ 2010-02-25 21:08 UTC (permalink / raw)
  To: Roland Dreier
  Cc: vlad-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb, linux-rdma-u79uwXL29TY76Z2rM5mHXA

On Wed, Feb 24, 2010 at 02:07:20PM -0800, Roland Dreier wrote:
>  > +	HCA(MELLANOX, 0x6746),	/* MT26438 ConnectX VPI PCIe 2.0 5GT/s - IB QDR / 10GigE Virt+ */
> 
> The kernel calls this device ID "MT26438 ConnectX EN 40GigE PCIe gen2
> 5GT/s".  Maybe we should just delete these comments, since we can't seem
> to get them right?

I guess it would be best if we take the description from
http://pciids.sourceforge.net/v2.2/pci.ids
> 
>  > +	HCA(MELLANOX, 0x6778),	/* MT26488 ConnectX VPI PCIe 2.0 5GT/s - IB DDR / 10GigE Virt+ */
> 
> Are we missing a kernel patch?  I don't see this device ID in the kernel
> driver.

Looks like it is missing.

If we agree on this, we'll send two patches - one for kernel and one
for libmlx4 to sync all device IDs with descriptions from the
mentioned url.


--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Add new device IDs for ConnectX VPI HCAs
       [not found]       ` <20100225210850.GA26139-8YAHvHwT2UEvbXDkjdHOrw/a8Rv0c6iv@public.gmane.org>
@ 2010-02-25 23:28         ` Roland Dreier
       [not found]           ` <adapr3sx5db.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Roland Dreier @ 2010-02-25 23:28 UTC (permalink / raw)
  To: Eli Cohen
  Cc: vlad-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb, linux-rdma-u79uwXL29TY76Z2rM5mHXA

 > > The kernel calls this device ID "MT26438 ConnectX EN 40GigE PCIe gen2
 > > 5GT/s".  Maybe we should just delete these comments, since we can't seem
 > > to get them right?
 > 
 > I guess it would be best if we take the description from
 > http://pciids.sourceforge.net/v2.2/pci.ids

I wonder whether it's really worth having the text at all.  Maybe it's a
bit useful, I'm not sure.  But the pciids text could probably use some
cleaning up, eg:

	634a  MT25418 [ConnectX VPI PCIe 2.0 2.5GT/s - IB DDR / 10GigE]
	6368  MT25448 [ConnectX EN 10GigE, PCIe 2.0 2.5GT/s]

it would be nice to decide on a standard order of whether the PCIe or
the network info comes first.

And then to make things even better we have:

		103c 3313  HP NC542m Dual Port Flex-10 10GbE BLc Adapter

so we can't even decide on 10GigE vs. 10GbE.

But yeah, patches to get the ID list into shape with at least the right
list of device IDs for kernel and userspace would be welcome.
-- 
Roland Dreier  <rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
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 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] Add new device IDs for ConnectX VPI HCAs
       [not found]           ` <adapr3sx5db.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
@ 2010-02-26 13:55             ` Eli Cohen
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Cohen @ 2010-02-26 13:55 UTC (permalink / raw)
  To: Roland Dreier
  Cc: vlad-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb, linux-rdma-u79uwXL29TY76Z2rM5mHXA

On Thu, Feb 25, 2010 at 03:28:16PM -0800, Roland Dreier wrote:
> 
> But yeah, patches to get the ID list into shape with at least the right
> list of device IDs for kernel and userspace would be welcome.

OK, we'll have them sent next week.
--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-02-26 13:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-08 14:04 [PATCH] Add new device IDs for ConnectX VPI HCAs Vladimir Sokolovsky
2010-02-24 22:07 ` Roland Dreier
     [not found]   ` <adazl2yxp7r.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-02-25 21:08     ` Eli Cohen
     [not found]       ` <20100225210850.GA26139-8YAHvHwT2UEvbXDkjdHOrw/a8Rv0c6iv@public.gmane.org>
2010-02-25 23:28         ` Roland Dreier
     [not found]           ` <adapr3sx5db.fsf-BjVyx320WGW9gfZ95n9DRSW4+XlvGpQz@public.gmane.org>
2010-02-26 13:55             ` Eli Cohen

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.