net/af_xdp: disable secondary process support
authorCiara Loftus <ciara.loftus@intel.com>
Fri, 8 Oct 2021 07:50:20 +0000 (07:50 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Oct 2021 11:06:55 +0000 (13:06 +0200)
commit0668d829085c4e92a6a1117e2b7cb8653eff8038
tree9fd5194b09693dfa3238e6b57c5fbf2c8ed60f60
parent3ac2dffae88e8eb5c374b1fdd40d605014526510
net/af_xdp: disable secondary process support

Since the AF_XDP PMD does not work for secondary processes as reported
in Bugzilla 805, check for the process type at the beginning of probe
and return ENOTSUP if the process type is secondary.

It is planned that secondary processes will be supported by the PMD in
full in a future release by using rte_mp_msg to pass the state to the
secondary process that it requires in order to work.

Bugzilla ID: 805
Fixes: f1debd77efaf ("net/af_xdp: introduce AF_XDP PMD")
Cc: stable@dpdk.org
Reported-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
doc/guides/rel_notes/release_21_11.rst
drivers/net/af_xdp/rte_eth_af_xdp.c