Karsten Graul e5f3aa04db net/smc: use device link provided in qp_context
The device field of the IB event structure does not always point to the
SMC IB device. Load the pointer from the qp_context which is always
provided to smc_ib_qp_event_handler() in the priv field. And for qp
events the affected port is given in the qp structure of the ibevent,
derive it from there.

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-01 14:45:45 -08:00
..
2017-07-29 11:22:58 -07:00
2018-11-21 16:14:56 -08:00
2018-11-21 16:14:56 -08:00
2018-11-21 16:14:56 -08:00
2018-05-04 11:45:06 -04:00
2019-02-01 14:45:45 -08:00
2018-12-18 22:02:51 -08:00