1 optimizing loop
2 change of ntohl to htonl

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Add flag to debug compilation to support perf callgraph
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>