]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: Refactor PQP state out of sif_dev.
authorKnut Omang <knut.omang@oracle.com>
Sun, 23 Oct 2016 07:31:26 +0000 (09:31 +0200)
committerKnut Omang <knut.omang@oracle.com>
Fri, 11 Nov 2016 16:36:53 +0000 (17:36 +0100)
commitbb0edb4c33c72cacacf1f74e6849a4dde668280f
tree1ab665e5a82cde4cd27ce5b198fa613d1c79df37
parent7445408e924adf57ed04a0d6205c180674c91a8e
sif: Refactor PQP state out of sif_dev.

Prepare handling of PQPs for the additional complexity
of resurrect upon errors and query for undetected
error conditions by moving some of the state
now directly in sif_dev into a new sif_pqp_info
struct.

Already complex logic for PQP handling is going to
increase in complexity. We need to consolidate
to be able to keep clean and easily maintainable
interfaces.

Orabug: 24715634

Signed-off-by: Knut Omang <knut.omang@oracle.com>
drivers/infiniband/hw/sif/sif_dev.h
drivers/infiniband/hw/sif/sif_fmr.c
drivers/infiniband/hw/sif/sif_hwi.c
drivers/infiniband/hw/sif/sif_pqp.c
drivers/infiniband/hw/sif/sif_pqp.h