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 âstruct ip6_hdrctlâ

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