ssa.c: Add ssa_db_copy() routine usage when calculating PRDB

Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
ssa.c: Add ssa_db_cmp() routine usage when calculating PRDB

Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
ssa.c: Rejoin after reject

Reject status is htons(SSA_STATUS_REQ_DENIED << 8).
The rejoin algorithm may be changed in upcoming commits.

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>