]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: sif_qp: implement additional flush_retry_qp for port 2 (WA#3714)
authorTriviño <francisco.trivino@oracle.com>
Wed, 8 Jun 2016 08:57:57 +0000 (10:57 +0200)
committerKnut Omang <knut.omang@oracle.com>
Sun, 3 Jul 2016 14:01:48 +0000 (16:01 +0200)
commit649023c85da8aafbbed14f0521dc38fbdfcc8679
tree875fd78133b319de5e0a4762999c7e8127bace2e
parent2782fb4eb89e5ec5a715afd3675957e17cb83939
sif: sif_qp: implement additional flush_retry_qp for port 2 (WA#3714)

Current implementation of WA#3714 uses an RC flush_retry_qp associated to
port 1, and configured with port_lid from port 1. Under the scenario where
port 1 is not used (port 1 is not connected, or in INIT state), but port
2 is up and running, the WA will use an invalid flush_retry_qp (with
port_lid = 0).

This commit improves WA#3714 implementation by creating an additional
flush_retry_qp that is associated to the port 2. The proper lush_retry_qp
is selected depending on the target QP port on which the WA will be applied.

Signed-off-by: Triviño <francisco.trivino@oracle.com>
Reviewed-by: Knut Omang <knut.omang@oracle.com>
drivers/infiniband/hw/sif/sif_dev.h
drivers/infiniband/hw/sif/sif_eq.c
drivers/infiniband/hw/sif/sif_qp.c
drivers/infiniband/hw/sif/sif_r3.c
drivers/infiniband/hw/sif/sif_r3.h