[ovs-dev] [PATCH] netdev-dpdk: Remove access to DPDK internals.

David Marchand david.marchand at redhat.com
Tue Nov 9 08:44:58 UTC 2021


On Tue, Sep 7, 2021 at 11:35 AM Maxime Coquelin
<maxime.coquelin at redhat.com> wrote:
> On 9/7/21 10:23 AM, David Marchand wrote:
> > Instead of dereferencing DPDK ethdev internals, we can list "sibling"
> > ports [1]: such ports share the underlying rte_device object.
> >
> > This API was experimental so far, but it will go to stable in 21.11
> > (see [2]) as it underwent no change since introduction in v19.05.
> > For the time being, waive the warning for this experimental API.
> >
> > 1: https://git.dpdk.org/dpdk/commit/?id=7f98942886bc
> > 2: https://patchwork.dpdk.org/project/dpdk/list/?series=18705
> >
> > Signed-off-by: David Marchand <david.marchand at redhat.com>
> > ---
> > Note: I sent this against the master branch for discussion, but I am
> > fine with re-sending this against dpdk-latest without the #pragma trick.

No comment for two months, I'll withdraw this patch for master and
resubmit with other fixes for 21.11 through dpdk-latest.


> >
> > ---
> >  lib/netdev-dpdk.c | 95 ++++++++++++++++++++++++++---------------------
> >  1 file changed, 53 insertions(+), 42 deletions(-)
> >
>
> Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks Maxime.


-- 
David Marchand



More information about the dev mailing list