diff --git a/README.md b/README.md index 4ea38471b..39d1ba9fe 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,8 @@ Currently, besides authorized DNS server of DNSPod, there are various products i # Compile DPDK cd dpdk/ # re-enable kni now, to remove kni later - # disable crypto/openssl for Redhat/Centos 7.x. - meson -Denable_kmods=true -Ddisable_libs=flow_classify -Ddisable_drivers=crypto/openssl build + # disable crypto/openssl,net/ice for Redhat/Centos 7.x. + meson -Denable_kmods=true -Ddisable_libs=flow_classify -Ddisable_drivers=crypto/openssl,net/ice build ninja -C build ninja -C build install diff --git a/lib/ff_dpdk_if.c b/lib/ff_dpdk_if.c index 425db13c3..f6fe50e5e 100644 --- a/lib/ff_dpdk_if.c +++ b/lib/ff_dpdk_if.c @@ -809,7 +809,7 @@ init_port_start(void) mode = rte_eth_bond_mode_get(port_id); printf("Port %u, bond mode:%d\n", port_id, mode); - count = rte_eth_bond_slaves_get(port_id, slaves, len); + count = rte_eth_bond_members_get(port_id, slaves, len); printf("Port %u, %s's slave ports count:%d\n", port_id, ff_global_cfg.dpdk.bond_cfgs->name, count); for (x=0; x