mirror of https://github.com/F-Stack/f-stack.git
F-Stack support DPDK-23.11.3(LTS).
This commit is contained in:
parent
7bfbc467ce
commit
b244ea900d
|
@ -51,8 +51,8 @@ Currently, besides authorized DNS server of DNSPod, there are various products i
|
||||||
# Compile DPDK
|
# Compile DPDK
|
||||||
cd dpdk/
|
cd dpdk/
|
||||||
# re-enable kni now, to remove kni later
|
# re-enable kni now, to remove kni later
|
||||||
# disable crypto/openssl for Redhat/Centos 7.x.
|
# disable crypto/openssl,net/ice for Redhat/Centos 7.x.
|
||||||
meson -Denable_kmods=true -Ddisable_libs=flow_classify -Ddisable_drivers=crypto/openssl build
|
meson -Denable_kmods=true -Ddisable_libs=flow_classify -Ddisable_drivers=crypto/openssl,net/ice build
|
||||||
ninja -C build
|
ninja -C build
|
||||||
ninja -C build install
|
ninja -C build install
|
||||||
|
|
||||||
|
|
|
@ -809,7 +809,7 @@ init_port_start(void)
|
||||||
mode = rte_eth_bond_mode_get(port_id);
|
mode = rte_eth_bond_mode_get(port_id);
|
||||||
printf("Port %u, bond mode:%d\n", port_id, mode);
|
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,
|
printf("Port %u, %s's slave ports count:%d\n", port_id,
|
||||||
ff_global_cfg.dpdk.bond_cfgs->name, count);
|
ff_global_cfg.dpdk.bond_cfgs->name, count);
|
||||||
for (x=0; x<count; x++) {
|
for (x=0; x<count; x++) {
|
||||||
|
|
Loading…
Reference in New Issue