Whamcloud - gitweb
LU-56 lnet: move "match" functions to lib-ptl.c
This is still an intermediate patch for LNet SMP improvements,
it covered a few things:
- create a new file lib-ptl.c, all functions about portals
are moved into this file.
- always precreate match hash-table for all portals, it's a little
wasty for unique-portal, but it will save a lot of problems for
upcoming patches
- instead of storing all portals in contiguous buffer, we allocate
memory for each portal in turn, this change is also for upcoming
patches.
Signed-off-by: Liang Zhen <liang@whamcloud.com>
Change-Id: I19e61c7f3a01f1c90a9f3f78d48d81dc00cd037d
Reviewed-on: http://review.whamcloud.com/2926
Tested-by: Hudson
Reviewed-by: Doug Oucharek <doug@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>