diff options
author | Karsten Graul <kgraul@linux.ibm.com> | 2019-01-30 18:51:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-01 23:45:45 +0100 |
commit | e5f3aa04dbfd92154f21edfeb7a1676a45918928 (patch) | |
tree | fcc1aec701c7f929d6fef5b12354d962dcce1e47 /net/smc/smc_diag.c | |
parent | net/smc: call smc_cdc_msg_send() under send_lock (diff) | |
download | linux-e5f3aa04dbfd92154f21edfeb7a1676a45918928.tar.xz linux-e5f3aa04dbfd92154f21edfeb7a1676a45918928.zip |
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>
Diffstat (limited to 'net/smc/smc_diag.c')
0 files changed, 0 insertions, 0 deletions