From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CC09FA00BE; Tue, 14 Jun 2022 10:44:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AE1CA4069C; Tue, 14 Jun 2022 10:44:51 +0200 (CEST) Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) by mails.dpdk.org (Postfix) with ESMTP id D62C64068E for ; Tue, 14 Jun 2022 10:44:50 +0200 (CEST) Received: by mail-lf1-f52.google.com with SMTP id a29so12821307lfk.2 for ; Tue, 14 Jun 2022 01:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc; bh=qMcj4VcBFy5muPmMEzz7TqX+t68EA8KmYEdRVBwbcz0=; b=Vv5eTk84Y+VuXhfrLc3eornrfGAQntjxtR4t0fmk1pDwsjZbFZjgAWIXdiLGhV/VhC BwZf6R3f3SjmtblQKkhz9dPH34nKBeRR0IHZpkGxrcHBBEOCyVTiACBktbhxLmK0nWHG CgggAaDwhi58lTgr3zKx0tKSRg81Y0mjZEIj4ToVP2vhg6sqUg6EQ/Qb/vTwQ/AIxDu9 TsEuQmBxkE3cM/LegBsIzILlxlIlkb9KGdRTxP+2+rfI8JUj8NN8+UdIDcdwFZ7UPB+l Bd2a3u5/0vnAhT4LIAjRJxoTHvWuRPHcf8v4Qq8zfXb83i1WAu8G+YSSzN1FuX5lUNcm UdEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=qMcj4VcBFy5muPmMEzz7TqX+t68EA8KmYEdRVBwbcz0=; b=Ay1s/Jn0n7+/Wc8aO1HH6k5JxNr9dekbjRcytYHNuPsdJSub+P35sCQmwqhrOFzRro Xlk7mowVUcm6G/TsJyeGwHgDhdtb0JOp2b3lPS7ULhVH0zpAdkeT3MQ3y/2aNhOiWmps N0fgYvXSlfqBq6EQAnv6CagLEzHuA3rE6XijDJgqJCd7RzzUSlq9nidjn8QG/Oxne6Iu TnqsUIUrmcH9TxJLK4fW6FldfhnMWcvNcrJWoArupkInlEtn+fNQ+LQDhsxFRZFs8Xu1 DBlfUVVO1hc2d0Sc26gjudL5xhcm8B6+lY2hd/OGRMowDu5W9N0fxYnKJrvsLJdnRZe2 CQ6w== X-Gm-Message-State: AJIora9xfwBwrbwl4m6s0EwqVYmAhA/7XnJT4Bk+9swxKLIrzANIYUjL SBNH/bYoD7XpBH9OexO7zqdXeSDGQv2wK962AAavKrILbR8= X-Google-Smtp-Source: ABdhPJxzZsVmzuQaK5WisCtNzTcdJ3R9R2HQOiniu/YVFjA+rcJz62K6DTS4W64re4Pje0555D3WdDsdLKto+t4T+V4= X-Received: by 2002:a05:6512:1508:b0:478:e689:ba9f with SMTP id bq8-20020a056512150800b00478e689ba9fmr2374277lfb.51.1655196289814; Tue, 14 Jun 2022 01:44:49 -0700 (PDT) MIME-Version: 1.0 From: Kamaraj P Date: Tue, 14 Jun 2022 14:14:38 +0530 Message-ID: Subject: IPv6 in DPDK 21.11 library To: dev , "Burakov, Anatoly" Cc: Nageswara Rao Penumarthy Content-Type: multipart/alternative; boundary="000000000000e35a0a05e1646ae1" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --000000000000e35a0a05e1646ae1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Team, After integrating with our code base, we are trying to build DPDK 21.11 and see a lot of ipv6 redefinition errors like below. ipv6_types.h:1027:9: error: redefinition of =C3=A2struct ip6_hdrctl=C3=A2 1027 | struct ip6_hdrctl { | ^~~~~~~~~~ In file included from /workspace/root/usr/include/rte_ip.h:28, from /workspace/root/usr/include/rte_flow.h:24, from /workspace/usr/include/rte_eth_ctrl.h:11, from /workspace//usr/include/rte_ethdev.h:1427 Looks like DPDK 21.11 enables IPv6 in the RTE library which is different from earlier DPDK versions. Is there a way to disable IPv6 from the DPDK library perspective to try with IPv4 fist ? Any CONFIG_RTE_XXX parameters would help here ? Please share. Thanks, Kamaraj --000000000000e35a0a05e1646ae1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi Team,

Afte= r integrating with our code base, we are trying to build DPDK 21.11 and see= a lot of ipv6 redefinition errors like below.

ipv6_types.h:1027:9: error: redefinition of = =C3=A2struct ip6_hdrctl=C3=A2

1027 |=C2=A0 struct ip6_hdrctl {

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~~~~~~


In file included from /workspace/root/usr/include/rte_ip.h:28,

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 from /workspace/root/usr/include/rte_flow.h:24,

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 from /workspace/usr/include/rte_eth_ctrl.h:11,

= =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0from /workspace//usr/include/rte_ethdev.h:1427

Looks like DPDK 21.11 enables IPv6 in the RTE lib= rary which is different from earlier DPDK versions.
Is there= a way to disable IPv6 from the DPDK library perspective to try with IPv4 f= ist ?
Any CONFIG_RTE_XXX parameters would help here ?
Please share.

Thanks,
Kama= raj


--000000000000e35a0a05e1646ae1--