commit | f449c7a2d822c2d81b5bcb2c50eec80796766726 | [log] [tgz] |
---|---|---|
author | Ram Amrani <Ram.Amrani@Cavium.com> | Tue Jan 24 13:51:43 2017 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Tue Jan 24 15:35:08 2017 -0500 |
tree | cca8604d19f515f490c4f1b3492345367af86559 | |
parent | 9c1e0228ab35e52d30abf4b5629c28350833fbcb [diff] |
RDMA/qedr: Dispatch port active event from qedr_add Relying on qede to trigger qedr on startup is problematic. When probing both if qedr loads slowly then qede can assume qedr is missing and not trigger it. This patch adds a triggering from qedr and protects against a race via an atomic bit. Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com> Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com> Signed-off-by: Doug Ledford <dledford@redhat.com>