On Sun, Aug 28, 2016 at 11:17:58AM -0600, Jason Gunthorpe wrote: > On Sun, Aug 28, 2016 at 10:58:32AM +0300, Leon Romanovsky wrote: > > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > > > By Mellanox HW design and SW implementation poll_cq never > > fails and returns errors, so all these prints are to catch ULP bugs. > > Eh? How can a ULP cause poll_cq to get errors? > > Are you sure these are not driver bugs? > > Why can't you just print and discard the broken CQ entry? > > What should use ULP do when it get EINVAL? You say poll again is > not correct, so you suggest a full QP tear down? See patches 4 and 6, they completely removed these EINVALs.
Attachment:
signature.asc
Description: PGP signature