support for OFED detection for kernel build

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
setting tasks pool private data to NULL if not required

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