optimization for fastpath loop

Change-Id: I08510a7f397bfd8e665240ba88f939b7b5016d94
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>