]> asedeno.scripts.mit.edu Git - linux.git/commit
i40iw: Ignore AE source field in AEQE for some AEs
authorMustafa Ismail <mustafa.ismail@intel.com>
Mon, 16 Oct 2017 20:45:55 +0000 (15:45 -0500)
committerDoug Ledford <dledford@redhat.com>
Wed, 18 Oct 2017 17:28:46 +0000 (13:28 -0400)
commit4236f4b99ee0dcefea909ab2a179dc6a0abcb8d6
tree6127ac21e4d3db357a55c7566613b7c34588da71
parent2d7099fc3daa2e898424c2cb1bad4484d6c7e116
i40iw: Ignore AE source field in AEQE for some AEs

The AE source field in Asynchronous Event Queue Entry (AEQE) is
not set by the hardware for some AEs, but the code assumes it does.
This results in incorrect processing of some AEs.
Fix this by setting ae_src to I40IW_AE_SOURCE_RSVD for those AEs.

Fixes: 86dbcd0f12e9 ("i40iw: add file to handle cqp calls")
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_ctrl.c
drivers/infiniband/hw/i40iw/i40iw_d.h