acm.c: Cosmetic formatting changes

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
ssa.c: Cosmetic formatting changes in ssa_open_port

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
[acm distrib].c: In process_msg, handle SSA_CTRL_EXIT message

SSA_CTRL_EXIT is not an unexpected message as it is passed
by SSA upstream handler.

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
[distrib acm].c: Revert commit fd8dfe339357eb2b78dcf75b62d6df1811ba3077

[distrib acm].c: Set main thread name for log and debug purposes
rather than thread ID

While this fixed the thread name in log, it broke ability to pkill by
name. Would have to pkill MAIN which is ugly.

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
core.c: Preserve SMDB address in case of no SMDB change

Currently, after each SUBNET UP event, previous version
of SMDB is destroyed and a new one is generated. As a
consequence of this, the SMDB pointer is changed even if
the data remained the same.

Such scenarios break running SSA plugin as combined
node (core + access layers) where the SMDB pointer
is shared between core and access layers.

Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>