From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carol Soto Subject: Re: [Patch 1/2] IB/mlx5: Implementation of PCI error handler Date: Thu, 13 Mar 2014 11:26:30 -0500 Message-ID: <5321DC36.9020009@linux.vnet.ibm.com> References: <20140312034219.637916521@linux.vnet.ibm.com> <20140312034512.065218504@linux.vnet.ibm.com> <1394649252.23624.36.camel@deadeye.wl.decadent.org.uk> <20140313064521.GH20224@mtldesk30> <5321CAD3.2070301@linux.vnet.ibm.com> <20140313154002.GA28066@mtldesk30> <5321D412.1040501@linux.vnet.ibm.com> <20140313160359.GB28066@mtldesk30> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140313160359.GB28066@mtldesk30> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Eli Cohen Cc: Ben Hutchings , eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org, roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, brking-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org List-Id: linux-rdma@vger.kernel.org On 3/13/2014 11:03 AM, Eli Cohen wrote: > On Thu, Mar 13, 2014 at 10:51:46AM -0500, Carol Soto wrote: >> The motivation to reduce that timeout is that if there is a process >> in the middle of a HW command >> in the middle of the PCI error, I probably did not want to wait 2hrs >> since the command will never complete >> since the card is dead. Now you are right, I forgot the case of big >> memory registration where commands can >> take longer than that. Do you have an idea of what is the longest >> time that a command can take in mlx5? >> > There is no guranteed time for command completions. With current > driver/firmware, registration of 4.5 GB can take around 2 minutes; for > larger regions it can take even more time. As I mentioned earlier, I > will soon send a patch that reduces registation times for large > regions. Hi Eli, I can wait for your patch to be available and try this again. For now, I can remove my changes for the timeout and resubmit the patch. Thanks for the feedback about the commands. Carol > -- > 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 > -- 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