From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sagi Grimberg Subject: Re: [PATCH v2 3/5] IB/srpt: Limit the number of SG elements per work request Date: Wed, 13 Jul 2016 12:33:28 +0300 Message-ID: <57860AE8.3010705@grimberg.me> References: <908f9aa5-1afd-2eab-29d8-475626e0db49@sandisk.com> <5786098E.5020305@grimberg.me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5786098E.5020305-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Bart Van Assche , Doug Ledford Cc: Christoph Hellwig , "Nicholas A. Bellinger" , Parav Pandit , Laurence Oberman , Steve Wise , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-rdma@vger.kernel.org > >> + qp_init->cap.max_send_sge = min(attrs->max_sge, >> SRPT_MAX_SG_PER_WQE); > > Why are you limiting the max_sge with SRPT_MAX_SG_PER_WQE? what is the > motivation? OK, I see the discussion around this (was on a vacation). This is for limiting the queue-pair send buf size. got it. -- 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