numam-dpdk/drivers/net/af_xdp
Ciara Loftus 53a73b7b9d net/af_xdp: forbid umem sharing for xsks with same context
AF_XDP PMDs who wish to share a UMEM must have a unique context
(ctx) ie. netdev,qid tuple. For instance, the following will not
work since both PMDs' contexts are identical.

  --vdev net_af_xdp0,iface=ens786f1,start_queue=0,shared_umem=1
  --vdev net_af_xdp1,iface=ens786f1,start_queue=0,shared_umem=1

Supporting this scenario would require locks, which would impact
the performance of the more typical cases - xsks with different
netdev,qid tuples.

Fixes: 74b46340e2 ("net/af_xdp: support shared UMEM")

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
2020-10-16 19:48:17 +02:00
..
af_xdp_deps.h net/af_xdp: introduce AF_XDP PMD 2019-04-05 17:45:22 +02:00
compat.h net/af_xdp: support shared UMEM 2020-09-30 19:19:09 +02:00
meson.build net/af_xdp: support shared UMEM 2020-09-30 19:19:09 +02:00
rte_eth_af_xdp.c net/af_xdp: forbid umem sharing for xsks with same context 2020-10-16 19:48:17 +02:00
rte_pmd_af_xdp_version.map version: 20.11-rc0 2020-08-12 11:32:16 +02:00