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? The entire point was to make the ULP interface sane. IMHO if the driver has bugged itself then it should do something sane internally and not just punt random error codes to the user. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html