]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
IB/qib: Fix comparison error with qperf compare/swap test
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Tue, 14 Nov 2017 12:34:52 +0000 (04:34 -0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 23 Feb 2018 14:26:27 +0000 (08:26 -0600)
commitc2f9f7ed693d3b3c0cce04e3bef6bbc53f216b81
treeb5182ad528402316c466d9c5db8c63643dfc4160
parent66d82f33ce23167b2efb9bc0fa832181b6f0cdb6
IB/qib: Fix comparison error with qperf compare/swap test

BugLink: http://bugs.launchpad.net/bugs/1751131
commit 87b3524cb5058fdc7c2afdb92bdb2e079661ddc4 upstream.

This failure exists with qib:

ver_rc_compare_swap:
mismatch, sequence 2, expected 123456789abcdef, got 0

The request builder was using the incorrect inlines to
build the request header resulting in incorrect data
in the atomic header.

Fix by using the appropriate inlines to create the request.

Fixes: 261a4351844b ("IB/qib,IB/hfi: Use core common header file")
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/infiniband/hw/qib/qib_rc.c