Re: [ewg] [RFC] libibverbs: ibv_fork_init() and libhugetlbfs

2010-05-18 Thread Stefan Roscher
Hi Roland, On Wednesday 12 May 2010 06:40:16 pm Roland Dreier wrote: * added get_huge_page_size() to read the huge page size from /proc/meminfo. This is done at ibv_fork_init() time. That doesn't work on systems that have multiple huge page sizes (eg powerpc). You can compare the

[PATCH V2 0/4] XRC kernel patch set

2010-05-18 Thread Jack Morgenstein
Hi Roland, I resurrected my first try at the XRC patch set. All the reference counting and management of XRC RCV QPs is now done in the core layer. The low-level driver only contains create, modify, query and destroy methods. (I also extracted the common parts of mlx4_ib_query_xrc_rcv_qp and

[PATCH V2 2/4] ib_uverbs: XRC RCV qp implementation.

2010-05-18 Thread Jack Morgenstein
Implement XRC target QPs (xrc rcv qps) for userspace. The basic verbs are: create/modify/query/destroy. In addition, added two additional verbs -- register and unregister. The motivation for register/unregister comes from MPI. MPI requires XRC receive QPs which are not destroyed when the

[PATCH V2 3/4] mlx4: XRC base implementation

2010-05-18 Thread Jack Morgenstein
Support for XRC base implementation in mlx4 low-level driver. Signed-off-by: Jack Morgenstein ja...@dev.mellanox.co.il --- drivers/infiniband/hw/mlx4/cq.c | 37 - drivers/infiniband/hw/mlx4/main.c| 52 + drivers/infiniband/hw/mlx4/mlx4_ib.h |

[PATCH 4/4] mlx4_ib: XRC RCV qp implementation.

2010-05-18 Thread Jack Morgenstein
Support for XRC RCV-only QP (requested by userspace, but resides in kernel space). Implements create_xrc_rcv_qp, modify_xrc_rcv_qp, query_xrc_rcv_qp, and destroy_xrc_rcv_qp. Since query_xrc_rcv_qp and query_qp are very similar, the common portions have been placed in a helper function which is

Re: vl15 drops

2010-05-18 Thread Hal Rosenstock
Bob, On Fri, May 14, 2010 at 3:55 PM, Bob Ciotti bob.cio...@nasa.gov wrote: We are chasing down some issues related to fabric discovery and SM failover and occasionally we see a significant number of vl15 drops and are not sure if this is a problem or not. Anyone have a reference on what

Re: [PATCH v2] libibverbs: add path record definitions to sa.h

2010-05-18 Thread Steve Wise
Roland Dreier wrote: Can you add the RAW_ETY qp type in this release as well? To be honest I haven't looked at the iWARP datagram stuff at all. I'm not sure overloading the RAW_ETY QP type is necessarily the right thing to do -- it has quite different (never implemented) semantics in the IB

RE: [PATCH V2 1/4] ib_core: changes to support XRC RCV qp's

2010-05-18 Thread Sean Hefty
+struct ib_xrc_rcv_qp_table_entry * +ib_xrc_rcv_tbl_find(struct ib_device *dev, u32 qpn) +{ +return radix_tree_lookup(dev-xrc_rcv_qp_table, qpn); +} nit - but do we need a wrapper around this single call? +int ib_xrc_rcv_qp_table_add_reg_entry(struct ib_device *dev, u32 qpn, +

RE: [PATCH V2 2/4] ib_uverbs: XRC RCV qp implementation.

2010-05-18 Thread Sean Hefty
Thus, usage is: Either: create/modify/query/destroy_xrc_rcv_qp Or: create/modify/query/reg/unreg_xrc_rcv_qp I think the latter usage explains why you added checks to prevent duplicate registration. Was there a reason not to use Roland's suggestion of dropping create/destroy and having only

[PATCH 0/52] IB/qib: add

2010-05-18 Thread Ralph Campbell
The following patches introduce an updated and renamed version of the ipath HCA driver which supports the QLogic PCIe QLE SDR, DDR, and QDR series of HCAs. Rather than try to patch the ipath driver to include support for QDR, multiple ports, bug fixes, and many other structual changes, the ib_qib

[PATCH v4 01/11] IB/qib: Add qib_6120_regs.h

2010-05-18 Thread Ralph Campbell
This creates the qib_6120_regs.h file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_6120_regs.h | 977 + 1 files changed, 977 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_6120_regs.h

[PATCH v4 02/11] IB/qib: Add qib_7220.h

2010-05-18 Thread Ralph Campbell
creates the qib_7220.h file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_7220.h | 156 ++ 1 files changed, 156 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_7220.h diff --git

[PATCH v4 06/11] IB/qib: Add qib_diag.c

2010-05-18 Thread Ralph Campbell
creates the qib_diag.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_diag.c | 894 ++ 1 files changed, 894 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_diag.c diff --git

[PATCH v4 07/11] IB/qib: Add qib_dma.c

2010-05-18 Thread Ralph Campbell
creates the qib_dma.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_dma.c | 182 +++ 1 files changed, 182 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_dma.c diff --git

[PATCH v4 09/11] IB/qib: Add qib_init.c

2010-05-18 Thread Ralph Campbell
creates the qib_init.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_init.c | 1580 ++ 1 files changed, 1580 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_init.c diff --git

[PATCH v4 10/11] IB/qib: Add qib_sd7220.c

2010-05-18 Thread Ralph Campbell
creates the qib_sd7220.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_sd7220.c | 1413 1 files changed, 1413 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_sd7220.c diff --git

[PATCH v4 11/11] IB/qib: Add qib_verbs.h

2010-05-18 Thread Ralph Campbell
creates the qib_verbs.h file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_verbs.h | 1100 + 1 files changed, 1100 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_verbs.h diff --git