linux/drivers/infiniband/sw/rxe
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
..
Kconfig
Makefile
rxe_av.c IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe_comp.c IB/rxe: Advance the consumer pointer before posting the CQE 2016-12-12 16:31:45 -05:00
rxe_cq.c
rxe_dma.c IB/{rxe,core,rdmavt}: Fix kernel crash for reg MR 2016-10-06 13:50:04 -04:00
rxe_hdr.h
rxe_icrc.c
rxe_loc.h IB/rxe: Properly honor max IRD value for rd/atomic. 2016-10-06 13:50:04 -04:00
rxe_mcast.c
rxe_mmap.c IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe_mr.c IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe_net.c IB/rxe: Use DEFINE_SPINLOCK() for spinlock 2016-12-12 16:31:45 -05:00
rxe_net.h IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe_opcode.c
rxe_opcode.h
rxe_param.h
rxe_pool.c
rxe_pool.h
rxe_qp.c IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe_queue.c
rxe_queue.h
rxe_recv.c IB/rxe: Remove buffer used for printing IP address 2016-12-12 16:31:45 -05:00
rxe_req.c IB/rxe: avoid putting a large struct rxe_qp on stack 2016-12-12 16:31:45 -05:00
rxe_resp.c IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe_srq.c IB/rxe: Remove unneeded cast in rxe_srq_from_attr() 2016-12-12 16:31:45 -05:00
rxe_sysfs.c IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe_task.c
rxe_task.h
rxe_verbs.c IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe_verbs.h
rxe.c IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00
rxe.h IB/rxe: improved debug prints & code cleanup 2016-10-06 13:50:04 -04:00