[dpdk-dev] [PATCH v2] net/af_xdp: don't allow umem sharing for xsks with same ctx
Ferruh Yigit
ferruh.yigit at intel.com
Tue Oct 13 17:57:07 CEST 2020
On 10/13/2020 2:10 PM, Ciara Loftus wrote:
> 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: 74b46340e2d4 ("net/af_xdp: support shared UMEM")
>
> Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list