]> git.baikalelectronics.ru Git - kernel.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)
commitbfb2f358da76ca937542bef32d0314c0fc50af28
tree6127ac21e4d3db357a55c7566613b7c34588da71
parent266715281e835cb3107c2e5d9f80b78e127b3d75
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: 1c84f135a3b8 ("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