[ovs-dev] [PATCH dpdk-latest v2] sparse: Fix build with DPDK 20.08.

David Marchand david.marchand at redhat.com
Tue Sep 8 11:35:17 UTC 2020


On Tue, Sep 8, 2020 at 1:12 PM Sunil Pai G <sunil.pai.g at intel.com> wrote:
>
> Introduction of C11 atomic instructions in rte_mbuf.h causes the build
> to fail with Sparse reporting following errors.
>
> error: undefined identifier '__atomic_add_fetch'
> error: undefined identifier '__atomic_store_n'
>
> This patch adds the Sparse header for rte_mbuf.h.
>
> Tested-at: https://travis-ci.org/github/Sunil-Pai-G/ovs-copy/builds/724038561
> Signed-off-by: Sunil Pai G <sunil.pai.g at intel.com>

Acked-by: David Marchand <david.marchand at redhat.com>

Thanks.

-- 
David Marchand



More information about the dev mailing list