Additional file descriptor for SMP MADs should be closed before running
ibnd_discover_fabric() to avoid parallel usage of two SMP file descriptors
Signed-off-by: Vladimir Koushnir vladim...@mellanox.com
Signed-off-by: Hal Rosenstock h...@mellanox.com
Thanks applied,
Ira
--
To
On 7/30/2015 8:25 PM, Jason Gunthorpe wrote:
On Thu, Jul 30, 2015 at 10:05:53AM -0500, Steve Wise wrote:
+int iser_assign_reg_ops(struct iser_device *device)
+{
+ struct ib_device_attr *dev_attr = device-dev_attr;
+
+ /* Assign function handles - based on FMR support */
+ if
On 8/2/2015 12:48 AM, Or Gerlitz wrote:
On Sat, Aug 1, 2015 at 1:01 AM, Jason Gunthorpe
jguntho...@obsidianresearch.com wrote:
On Sat, Aug 01, 2015 at 12:24:23AM +0300, Or Gerlitz wrote:
addressed in incremental patch, as Doug suggested. Jason, it's wrong
to send developers again and again
+static void
+iser_calc_scsi_params(struct iser_conn *iser_conn,
+ unsigned int max_sectors)
+{
+struct iser_device *device = iser_conn-ib_conn.device;
+unsigned short sg_tablesize, sup_sg_tablesize;
+
+sg_tablesize = DIV_ROUND_UP(max_sectors * 512, SIZE_4K);
+
On 31/07/2015 02:22, Jason Gunthorpe wrote:
int ib_dealloc_pd(struct ib_pd *pd)
{
+ if (pd-local_mr) {
+ if (ib_dereg_mr(pd-local_mr))
+ return -EBUSY;
+ pd-local_mr = NULL;
+ }
+
It looks like ib_uverbs_alloc_pd calls