linux/drivers/infiniband/sw
Andrew Boyer dd753d8743 IB/rxe: Advance the consumer pointer before posting the CQE
A simple userspace application might poll the CQ, find a completion,
and then attempt to post a new WQE to the SQ. A spurious error can
occur if the userspace application detects a full SQ in the instant
before the kernel is able to advance the SQ consumer pointer.

This is noticeable when using single-entry SQs with ibv_rc_pingpong
if lots of kernel and userspace library debugging is enabled.

Signed-off-by: Andrew Boyer <andrew.boyer@dell.com>
Reviewed-by: Yonatan Cohen <yonatanc@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-12-12 16:31:45 -05:00
..
rdmavt kthread: kthread worker API cleanup 2016-10-11 15:06:33 -07:00
rxe IB/rxe: Advance the consumer pointer before posting the CQE 2016-12-12 16:31:45 -05:00
Makefile Soft RoCE driver 2016-08-04 11:13:12 -04:00