Skip to content
Commit c48254fa authored by Karsten Graul's avatar Karsten Graul Committed by David S. Miller
Browse files

net/smc: move add link processing for new device into llc layer



When a new ib device is up smc will send an add link invitation to the
peer if needed. This is currently done with rudimentary flow control.
Under high workload these add link invitations can disturb other llc
flows because they arrive unexpected. Fix this by integrating the
invitations into the normal llc event flow and handle them as a flow.
While at it, check for already assigned requests in the flow before
the new add link request is assigned.

Reviewed-by: default avatarUrsula Braun <ubraun@linux.ibm.com>
Fixes: 1f90a05d

 ("net/smc: add smcr_port_add() and smcr_link_up() processing")
Signed-off-by: default avatarKarsten Graul <kgraul@linux.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2ff08678
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment