summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorDevesh Sharma <devesh.sharma@broadcom.com>2017-05-22 03:15:31 -0700
committerDoug Ledford <dledford@redhat.com>2017-06-13 16:09:04 -0400
commitcc1ec769b87c7dea9092fb537c512e0b6b7a5dac (patch)
treeb23240aa3ea52a47e455fba62f37d8bb51feacb8 /init
parent79e25959403e6a79552db28a87abed34de32a1df (diff)
RDMA/bnxt_re: Fixing the Control path command and response handling
Fixing a concurrency issue with creq handling. Each caller was given a globally managed crsq element, which was accessed outside a lock. This could result in corruption, if lot of applications are simultaneously issuing Control Path commands. Now, each caller will provide its own response buffer and the responses will be copied under a lock. Also, Fixing the queue full condition check for the CMDQ. As a part of these changes, the control path code is refactored to remove the code replication in the response status checking. Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com> Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions