From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sagi Grimberg Subject: Re: mlx5 + SRP: max_qp_sz mismatch Date: Tue, 26 Aug 2014 19:10:55 +0300 Message-ID: <53FCB18F.5030608@dev.mellanox.co.il> References: <53F36420.3060607@dev.mellanox.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Mark Lehrer Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Bart Van Assche , Eli Cohen List-Id: linux-rdma@vger.kernel.org On 8/20/2014 6:51 PM, Mark Lehrer wrote: >> From what I see srp_sq_size is controlled via >> configfs. Can you set it to 2048 just for the sake of >> confirmation this is indeed the issue? > > Now that we have confirmed that this works, what is the proper way to > fix the problem? Is the core issue with mlx5 or srp? > > Thanks, > Mark > Since I don't know how true send queue size can be computed from the device capabilities at the moment -I can suggest a fix to srpt to retry with srp_sq_size/2 (ans so on until it succeeds...) CC'ing Bart and Eli. 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