Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dpdk: add initial unittests for DPDK codebase v6 #12083

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
3 changes: 3 additions & 0 deletions src/util-dpdk-bonding.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ uint16_t BondingMemberDevicesGet(
{
#ifdef HAVE_DPDK_BOND
#if RTE_VERSION >= RTE_VERSION_NUM(23, 11, 0, 0)
#pragma GCC diagnostic push
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
int32_t len = rte_eth_bond_members_get(bond_pid, bonded_devs, bonded_devs_length);
#pragma GCC diagnostic pop
#else
int32_t len = rte_eth_bond_slaves_get(bond_pid, bonded_devs, bonded_devs_length);
#endif /* RTE_VERSION >= RTE_VERSION_NUM(23, 11, 0, 0) */
Expand Down