i40iw: Refactor of driver generated AEs
authorHenry Orosco <henry.orosco@intel.com>
Wed, 14 Mar 2018 19:45:22 +0000 (14:45 -0500)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 15 Mar 2018 21:58:04 +0000 (15:58 -0600)
commita8b9234b1272de7a2af87e076fad51ba096a3c30
tree21db79274fcff3f929b41da746f0c66ae17b4aba
parent7f86260b5f44d93ab20d3e9afda0e3f48d005ffe
i40iw: Refactor of driver generated AEs

The flush CQP OP can be used to optionally generate
Asynchronous Events (AEs) in addition to QP flush.
Consolidate all HW AE generation code under a new
function i40iw_gen_ae which use the flush CQP OP
to only generate AEs.

Signed-off-by: Henry Orosco <henry.orosco@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/i40iw/i40iw.h
drivers/infiniband/hw/i40iw/i40iw_ctrl.c
drivers/infiniband/hw/i40iw/i40iw_d.h
drivers/infiniband/hw/i40iw/i40iw_hw.c
drivers/infiniband/hw/i40iw/i40iw_type.h
drivers/infiniband/hw/i40iw/i40iw_utils.c