diff options
author | Andrew Boyer <andrew.boyer@dell.com> | 2016-11-23 20:39:18 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-13 00:31:45 +0300 |
commit | dd753d87436ce7ef2a958d684b38d5acc99c9f5c (patch) | |
tree | bde5eb088fba64caa154cc0e8c3691f9cd38b63f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6e9bb530ff8b07b3bbce79c937fc9dcb32da4eb9 (diff) | |
download | linux-dd753d87436ce7ef2a958d684b38d5acc99c9f5c.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions