Skip to content

f-stack wont build on fedora #681

@One-ders

Description

@One-ders

the commit 6beb89e dont build on fedora.

ff_dpdk_if.c: In function ‘init_port_start’:
ff_dpdk_if.c:581:17: error: implicit declaration of function ‘rte_eth_bond_8023ad_dedicated_queues_enable’ [-Werror=implicit-function-declaration]
581 | rte_eth_bond_8023ad_dedicated_queues_enable(u_port_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:666: ff_dpdk_if.o] Error 1

The reason is a missing include file in ff_dpdk_if.c

Maybe something like this:
#ifdef RTE_NET_BOND
#include <rte_eth_bond.h>
#include <rte_eth_bond_8023ad.h>
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions