F-Stack support DPDK-23.11.3(LTS).

This commit is contained in:
fengbojiang 2025-01-10 19:56:51 +08:00
parent 7bfbc467ce
commit b244ea900d
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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<count; x++) {