[PATCH resend] ib/ehca: rework destroy_eq()

2009-11-20 Thread Alexander Schmidt
The ibmebus_free_irq() function, which might sleep, was called with interrupts disabled. To ship around this, make sure that no interrupts are running by killing the interrupt tasklet. Also lock the shca_list_lock to protect against the poll_eqs_timer running concurrently. Signed-off-by:

patch for non-ib network

2009-11-20 Thread javed
hello, is it possible to add a patch in ofed release for non-ib networks? we've integrated ofed with 'paramnet-3' a 10Gbps system area network. currently IPoIB is working fine. more details can be provided if required. thanks for your time. javed -- This message has been scanned for

ib_post_send in drivers

2009-11-20 Thread frank zago
Hello, It seems ib_post_send() is implemented slightly differently in the various hardware drivers (as in kernel 2.6.31). Here are the differences I've noticed regarding the bad_wr parameter. amso1100/c2_qp.c : c2_post_send() * bails out and does not set bad_wr if the 1st check is bad.

Re: ib_post_send in drivers

2009-11-20 Thread Bart Van Assche
On Fri, Nov 20, 2009 at 5:16 PM, frank zago fz...@systemfabricworks.com wrote: It seems ib_post_send() is implemented slightly differently in the various hardware drivers (as in kernel 2.6.31). Here are the differences I've noticed regarding the bad_wr parameter. amso1100/c2_qp.c :

[PATCH 00/11] Add new torus routing engine: torus-2QoS

2009-11-20 Thread Jim Schutt
This patch series adds a new routing engine designed to handle large fabrics connected with a 2D/3D torus topology. Patches 1-4 do some preparation to handle new SL-related features of the routing engine, patches 5/6 add and enable the engine, and patches 7-11 have some fixups that only make

[PATCH 04/11] opensm: Track the minimum value in the fabric of data VLs supported.

2009-11-20 Thread Jim Schutt
A routing engine that wants to make contributions to SL2VL maps in support of routing free from credit loops may need to know the minimum number of supported data VLs in the fabric. This code tracks that value. Signed-off-by: Jim Schutt jasc...@sandia.gov --- opensm/include/opensm/osm_subnet.h

[PATCH 06/11] opensm: Enable torus-2QoS routing engine.

2009-11-20 Thread Jim Schutt
Signed-off-by: Jim Schutt jasc...@sandia.gov --- opensm/include/opensm/osm_opensm.h |1 + opensm/opensm/osm_opensm.c |6 ++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/opensm/include/opensm/osm_opensm.h b/opensm/include/opensm/osm_opensm.h index

[PATCH 03/11] opensm: Allow the routing engine to participate in path SL calculations.

2009-11-20 Thread Jim Schutt
LASH already does this, in a hard-coded fashion. Generalize this by adding a callback to struct osm_routing_engine that computes a path SL value, and fix up LASH to use it. This patchset causes the requested or QoS-computed SL value to be passed to the routing engine path SL computation as a

[PATCH 11/11] opensm: Update documentation to describe torus-2QoS.

2009-11-20 Thread Jim Schutt
Signed-off-by: Jim Schutt jasc...@sandia.gov --- opensm/doc/current-routing.txt | 154 +++- opensm/man/opensm.8.in |9 ++- 2 files changed, 160 insertions(+), 3 deletions(-) diff --git a/opensm/doc/current-routing.txt

[PATCH 01/11] opensm: Prepare for routing engine input to path record SL lookup and SL2VL map setup.

2009-11-20 Thread Jim Schutt
In the event a routing engine needs to participate in SL assignment and SL2VL map setup in order to avoid credit loops in a fabric, it will be useful to make the routing engine context more widely available. To this end, have osm_opensm_t save a pointer to the routing engine used, rather than its

[PATCH 08/11] opensm: Do not require -Q option for torus-2QoS routing engine.

2009-11-20 Thread Jim Schutt
The torus-2QoS engine provides a deadlock-free routing for a 2D/3D torus, but requires that switch SL2VL maps be programmed. Before this change, opensm -Q was required for that to happen. When a routing engine sets the struct osm_routing_engine:update_sl2vl pointer, it is signalling its intent

[PATCH 07/11] opensm: Add opensm option to specify file name for extra torus-2QoS configuration information.

2009-11-20 Thread Jim Schutt
Signed-off-by: Jim Schutt jasc...@sandia.gov --- opensm/include/opensm/osm_base.h | 18 ++ opensm/include/opensm/osm_subnet.h |5 + opensm/opensm/main.c |8 opensm/opensm/osm_subnet.c |1 + opensm/opensm/osm_ucast_torus.c|

[PATCH 10/11] opensm: Avoid havoc in minhop caused by torus-2QoS persistent use of osm_port_t:priv.

2009-11-20 Thread Jim Schutt
Torus-2QoS makes persistent use of osm_port_t:priv to speed calculation of path SL values. It cannot clear osm_port_t:priv members when it tears down its persistent data for the following reason: If a port is removed from the fabric, the opensm core will delete the corresponding osm_port_t

[PATCH 05/11] opensm: Add torus-2QoS routing engine.

2009-11-20 Thread Jim Schutt
This engine routes a 2D/3D torus without credit loops while providing two quality-of-service levels. Signed-off-by: Jim Schutt jasc...@sandia.gov --- I've attached the patch as a compressed file, as otherwise it is too large to make it through the list. -- Jim opensm/opensm/Makefile.am

torus-2QoS example input files (was Re: [PATCH 00/11] Add new torus routing engine: torus-2QoS)

2009-11-20 Thread Jim Schutt
The attached files can be used to test the torus-2QoS routing engine using ibsim. fabric-torus-5x5x5 contains a fabric description that ibsim can read. Once ibsim is running, run opensm like this: opensm --config opensm.conf --torus_config torus-2QoS-5x5x5.conf or opensm --config

RE: ib_post_send in drivers

2009-11-20 Thread Sean Hefty
mlx4/qp.c: mlx4_ib_post_send() * when passing a list containing more than one item to mlx4_ib_post_send(), and sending the second or later item fails (e.g. because of QP overflow), the preceding items are sent anyway. This behavior makes it almost impossible to get error recovery right for block