From: Sagi Grimberg <sagig-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
To: Or Gerlitz <gerlitz.or-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Minh Duc Tran
<MinhDuc.Tran-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org>,
Sagi Grimberg <sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
Max Gurtovoy <maxg-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
Jay Kallickal
<jayamohank-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"michaelc-hcNo3dDEHLuVc3sceRu5cw@public.gmane.org"
<michaelc-hcNo3dDEHLuVc3sceRu5cw@public.gmane.org>,
"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Jayamohan Kallickal
<Jayamohan.Kallickal-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH 1/1] IB/iser: Remove hard coded values for cqe and send_wr
Date: Sun, 19 Oct 2014 18:50:29 +0300 [thread overview]
Message-ID: <5443DDC5.6020805@dev.mellanox.co.il> (raw)
In-Reply-To: <CAJ3xEMgQ_spota-K5XiMQm1Gwk19a7=xFvGJ_JM+DfvpOQ_Nzw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 10/16/2014 8:31 AM, Or Gerlitz wrote:
> 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
Maybe even 3.18?
>
> #2 should be easy too, Max, please add it to your TODO for the ep
> connect changes
>
I don't think we need it in ep_connect.
We can create CQs/QPs with min(desired, device_support) and just keep
the sizes and adjust session cmds_max at session creation time, and max
QPs per CQ.
What I am concerned about is that we don't enforce max QPs per
CQ. we have never seen this overrun - but no reason why it wouldn't
happen. I have it on my todo list, but we need to take care of it soon.
This issue would be somewhat relaxed if we got rid of the artificial
ISER_MAX_CQ.
Sagi.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-10-19 15:50 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-08 0:41 [PATCH 1/1] IB/iser: Remove hard coded values for cqe and send_wr Jay Kallickal
2014-10-08 5:58 ` Sagi Grimberg
[not found] ` <CAEc=gqbKrqK_PdN8XOfkaNZgscMeODL=i6oFU+SwQrMxT2gixg@mail.gmail.com>
[not found] ` <CAEc=gqbKrqK_PdN8XOfkaNZgscMeODL=i6oFU+SwQrMxT2gixg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-10-13 8:15 ` Sagi Grimberg
[not found] ` <1412728888-13100-1-git-send-email-jkallickal-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org>
2014-10-14 7:50 ` Or Gerlitz
[not found] ` <543CD5D6.1020506-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-10-14 21:53 ` Minh Duc Tran
[not found] ` <44d2d670-4785-4a76-8c05-f59791c999cf-3RiH6ntJJkP8BX6JNMqfyFjyZtpTMMwT@public.gmane.org>
2014-10-15 22:31 ` Or Gerlitz
[not found] ` <CAJ3xEMjXWuZomt98YJiLfUw=rwZ5A+MUbsxEZnGMj8hP7gu0Og-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-10-15 23:41 ` Minh Duc Tran
[not found] ` <b7d2d454-8db1-467d-8088-bd52fac9b612-3RiH6ntJJkOPfaB/Gd0HpljyZtpTMMwT@public.gmane.org>
2014-10-16 5:31 ` Or Gerlitz
[not found] ` <CAJ3xEMgQ_spota-K5XiMQm1Gwk19a7=xFvGJ_JM+DfvpOQ_Nzw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-10-19 15:50 ` Sagi Grimberg [this message]
[not found] ` <5443DDC5.6020805-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2014-10-20 8:05 ` Or Gerlitz
2014-10-19 15:42 ` Sagi Grimberg
[not found] ` <5443DBCA.4000002-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2014-10-20 5:36 ` Minh Duc Tran
[not found] ` <ecfd3441-253c-47bf-b2cb-030b2a00f689-3RiH6ntJJkP8BX6JNMqfyFjyZtpTMMwT@public.gmane.org>
2014-10-20 8:01 ` Or Gerlitz
[not found] ` <CAJ3xEMjbYL9M12UagW52ELdLkHZFnWbKDk0CXZfo_Sf82tjugA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-10-20 16:14 ` Sagi Grimberg
[not found] ` <544534DB.4070908-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2014-10-20 20:56 ` Minh Duc Tran
2014-10-20 18:11 ` Minh Duc Tran
[not found] ` <eaf7c875-e7e1-43eb-b27a-fbd068aa32f1-3RiH6ntJJkP8BX6JNMqfyFjyZtpTMMwT@public.gmane.org>
2014-10-20 21:06 ` Or Gerlitz
[not found] ` <CAJ3xEMgnmZD8ONJcnor__eioMtfaO6MYMKfd6nbXncaWYXTG+g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-10-20 21:09 ` Or Gerlitz
[not found] ` <CAJ3xEMi9uBB0fFqGj4nUOdYYezLzF135TLH-sswQ0G5hZQvAkA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-10-21 14:22 ` Or Gerlitz
[not found] ` <54466C39.4070402-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-10-21 14:26 ` Or Gerlitz
2014-10-21 21:11 ` Minh Duc Tran
[not found] ` <d89b8c11-5f4f-4a70-b2de-3342c6b628a8-3RiH6ntJJkOPfaB/Gd0HpljyZtpTMMwT@public.gmane.org>
2014-10-22 4:01 ` Or Gerlitz
[not found] ` <54472C2A.7060407-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-10-22 4:29 ` Minh Duc Tran
[not found] ` <340a8ae7-4597-4514-a69d-9ef0d56a7e6e-3RiH6ntJJkP8BX6JNMqfyFjyZtpTMMwT@public.gmane.org>
2014-10-22 4:54 ` Or Gerlitz
2014-10-21 14:49 ` Sagi Grimberg
2014-10-22 11:08 ` Sagi Grimberg
-- strict thread matches above, loose matches on Subject: below --
2014-10-14 5:19 Jayamohan Kallickal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5443DDC5.6020805@dev.mellanox.co.il \
--to=sagig-ldsdmyg8hgv8yrgs2mwiifqbs+8scbdb@public.gmane.org \
--cc=Jayamohan.Kallickal-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org \
--cc=MinhDuc.Tran-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org \
--cc=gerlitz.or-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=jayamohank-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=maxg-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=michaelc-hcNo3dDEHLuVc3sceRu5cw@public.gmane.org \
--cc=ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=sagig-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.