After changing the RTE_MAX_MEM_MB_PER_TYPE macro in rte_config.h file, I am able to consume all the huge pages.