RE: [PATCH net-next V2 00/21] net/mlx4: SRIOV support

2012-01-02 Thread Yevgeny Petrilin
hotplug removal is broken... Is this a new regression with these patches? yes. after reverting those patches, removal work well without problem. Thanks Yinghai Thanks, We just found the same failure internally. Will send a fix shortly. Yevgeny -- To unsubscribe from this

RE: When is it safe to release connection resources?

2012-01-02 Thread Hefty, Sean
If I understood correctly, when ibv_get_cq_event returns, it holds some sort of lock over the completion queue, which is ibv_get_cq_event will increment a reference count on the CQ that it is returning. released when I call ibv_req_notify_cq. This lock is checked also in You decrement the

RE: [PATCH 1/2] libibverbs: Allow 3rd party extensions to verb routines

2012-01-02 Thread Hefty, Sean
1. for libibverbs some structures extended field is added at their end saying Following fields only available if device supports extensionse.g @@ -590,6 +634,13 @@ struct ibv_qp { pthread_mutex_t mutex; pthread_cond_t cond; uint32_t

Write Packets to InfiniBand HCA

2012-01-02 Thread Greg I Kerr
Hi, Does anyone know if it is or isn't possible to put the HCA in some kind of raw mode where I can compose a packet in software and write it to the card? This is obviously in comparison to calling ibv_post_send and having a work request converted into a packet. Thanks, Greg Kerr -- To