For access layer, on (full) DB update, destroy access layer context indices

Currently, only full DB update is supported.
Incremental update will be added later.

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
plugin/ssa_comparison.c: Fix commentary typo

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
ssa.c: In ssa_upstream_handler, reset some connection fields when DB query

If previous SSA DB, reset field and data tables pointers in the
upstream connection data structure.

This is ACM equivalent of commit 8bceb87c961b17c3361ac507eeb79ec207760faf
ssa.c: In ssa_upstream_handle_op, reset some connection fields when DB update

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

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
acm.c: Fix old cache records removal mechanism

The following was fixed:
 - Removing old records stored in cache by ACM_ADDRESS_GID,
   that are not valid.
 - Find old records, that are not valid using proper
   comparison method.

Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
acm.c: In acm_parse_access_v1_paths_update, add removal log message

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