summaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2017-12-19 21:29:25 +0300
committerJason Gunthorpe <jgg@mellanox.com>2017-12-22 02:06:06 +0300
commit96a236ed286776554fbd227c6d2876fd3b5dc65d (patch)
treea8f5c88b3bf65ddf64ffd82e1cfa78fd15b7252e /arch/blackfin
parentf55688c45442bc863f40ad678c638785b26cdce6 (diff)
downloadlinux-96a236ed286776554fbd227c6d2876fd3b5dc65d.tar.xz
iw_cxgb4: reflect the original WR opcode in drain cqes
The flush/drain logic was not retaining the original wr opcode in its completion. This can cause problems if the application uses the completion opcode to make decisions. Use bit 10 of the CQE header word to indicate the CQE is a special drain completion, and save the original WR opcode in the cqe header opcode field. Fixes: 4fe7c2962e11 ("iw_cxgb4: refactor sq/rq drain logic") Cc: stable@vger.kernel.org Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'arch/blackfin')
0 files changed, 0 insertions, 0 deletions