[dpdk-dev] [RFC] net/mlx4: add secondary process support

Arthas Kang arthas.kang at gmail.com
Wed Mar 6 04:06:34 CET 2019


you can modify  rdma-core libibverbs contain "MADV_DONTFORK" code.

On Sun, Mar 3, 2019 at 3:11 PM Shahaf Shuler <shahafs at mellanox.com> wrote:

> Same question regarding patchwork.
>
> Friday, March 1, 2019 3:27 AM, Yongseok Koh:
> > Subject: [RFC] net/mlx4: add secondary process support
> >
> > In 19.05, mlx4 PMD will start to support secondary process. This will
> need
> > new rdma-core API and small fix in kernel driver, in order for Verbs to
> allow
> > using external (rte_malloc) memory allocator and remapping UAR space
> > because secondary process has to access device queues and UAR for Tx
> > doorbell. Majority of changes will come from mlx5 but mlx5_socket.c will
> not
> > be imported. Instead, this will be replaced with the new rte_mp_*() APIs.
> > This is for secondary process to acquire Verb's command file descriptor
> from
> > primary process. The file descriptor is required to remap UAR.
> >
> > Patches are almost ready and I will be able to release v1 soon.
> >
> > Signed-off-by: Yongseok Koh <yskoh at mellanox.com>
>
>

-- 
arthas kang
Email: arthas.kang at gmail.com
QQ:    27477657


More information about the dev mailing list