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

Or Gerlitz
2014-10-16T05:31:34Z

On Thu, Oct 16, 2014 at 1:41 AM, Minh Duc Tran <MinhDuc.Tran-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org> wrote:
> With the HW and fw profile we are running with the ocrdma currently, it's 8k per CQ. This number could change if we run on different hw or fw profile.

OK. So CQEs per CQ wise, there's nothing in the ocrdma (sw/fw/fw)
which is extremely different. The more major difference is the
relatively small numbers
of CQs per device you can support on your driver.

Sorry for being a bit short and not explaining everything, I'm on LPC
2014 so a bit busy... but AFAI-See-This,
here's the list of TODO items here:

1. change the the number of CQs to be min(num_cpus, 1/2 of what the
device can support)
2. add the # of SCSI commands per session and y/s immediate data is
supported for this session to ep_connect_with_params

Sagi, agree?

#1 is pretty easy and we actually have it ready for 3.19

#2 should be easy too, Max, please add it to your TODO for the ep
connect changes

Also please use TEXT based replies applied in bottom posting manner [1].

Or.

[1] http://en.wikipedia.org/wiki/Posting_style#Bottom-posting

>
> -----Original Message-----
> From: Or Gerlitz [mailto:gerlitz.or-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]
> Sent: Wednesday, October 15, 2014 3:32 PM
> To: Minh Duc Tran
> Cc: Or Gerlitz; Jay Kallickal; michaelc-hcNo3dDEHLuVc3sceRu5cw@public.gmane.org; linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Jayamohan Kallickal
> Subject: Re: [PATCH 1/1] IB/iser: Remove hard coded values for cqe and send_wr
>
> How many CQEs per CQ does the ocrdma driver supports?