net/af_xdp: allow probing when multiprocess is disabled
net/af_xdp: allow probing when multiprocess is disabled

If EAL multiprocess feature has been disabled via rte_mp_disable()
function, AF_XDP driver may not be able to register its IPC callback.
Previously this leads to probe failure.
This commit adds a check for this condition so that AF_XDP can still be
used even if multiprocess is disabled.

Fixes: 9876cf8316b3 ("net/af_xdp: re-enable secondary process support")

Signed-off-by: Junxiao Shi <46f1a0bd5592a2f9244ca321b129902a06b53e03@mail1.yoursunny.com>
Acked-by: Ciara Loftus <b3d6c0da41dcf0b8333ab29bfd5c6eca84b2ba45@intel.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk