Re: [PATCH 1/1] IB/iser: Remove hard coded values for cqe and send_wr

2014-10-13 Thread Jayamohan Kallickal
>On Tue, Oct 7, 2014 at 10:58 PM, Sagi Grimberg >wrote: >>On 10/8/2014 3:41 AM, Jay Kallickal wrote: >>From: Jayamohan Kallickal >> This patch allows the underlying hardware to choose >>values other than hard coded max values for cqe and send_wr >>while preventing them from exceeding max

Re: [PATCH 1/1] IB/iser: Remove hard coded values for cqe and send_wr

2014-10-13 Thread Sagi Grimberg
On 10/9/2014 8:14 AM, Jayamohan.K wrote: Hi Minh and Jayamohan, So I agree that we would want to take device capabilities into account here, but we need to be able to adjust scsi_cmds_max (can_queue) in case the max wqe supported is lower than scsi_cmds_max * num_posts_per_cmd.

Re: [PATCH 1/1] IB/iser: Remove hard coded values for cqe and send_wr

2014-10-07 Thread Sagi Grimberg
On 10/8/2014 3:41 AM, Jay Kallickal wrote: From: Jayamohan Kallickal This patch allows the underlying hardware to choose values other than hard coded max values for cqe and send_wr while preventing them from exceeding max supported values. Hi Minh and Jayamohan, So I agree that we w

[PATCH 1/1] IB/iser: Remove hard coded values for cqe and send_wr

2014-10-07 Thread Jay Kallickal
From: Jayamohan Kallickal This patch allows the underlying hardware to choose values other than hard coded max values for cqe and send_wr while preventing them from exceeding max supported values. Signed-off-by: Minh Tran Signed-off-by: Jayamohan Kallickal --- drivers/infiniband/ulp