[PATCH v4] net/af_xdp: re-enable secondary process support
Ferruh Yigit
ferruh.yigit at intel.com
Fri Feb 11 14:32:16 CET 2022
On 2/9/2022 3:29 PM, Stephen Hemminger wrote:
> On Wed, 9 Feb 2022 09:48:08 +0000
> Ciara Loftus <ciara.loftus at intel.com> wrote:
>
>> Secondary process support had been disabled for the AF_XDP PMD because
>> there was no logic in place to share the AF_XDP socket file descriptors
>> between the processes. This commit introduces this logic using the IPC
>> APIs.
>>
>> Rx and Tx are disabled in the secondary process due to memory mapping of
>> the AF_XDP rings being assigned by the kernel in the primary process only.
>> However other operations including retrieval of stats are permitted.
>>
>> Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
>
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list