Optimize for quad-channel by default, this should work well for
all the cases, better than the previous value of one anyway.
Suggested-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Acked-by: David Marchand <david.marchand@6wind.com>
/* get number of channels */
nchan = rte_memory_get_nchannel();
if (nchan == 0)
/* get number of channels */
nchan = rte_memory_get_nchannel();
if (nchan == 0)
nrank = rte_memory_get_nrank();
if (nrank == 0)
nrank = rte_memory_get_nrank();
if (nrank == 0)