Zebra doesn't compile with new versions of DPDK - I have a patch but zebra still crashes #15910
Open
2 tasks done
Labels
triage
Needs further investigation
Description
I've working a little bit to fix Zebra compilation with --enable-dpdk option.
There are few changes in DPDK from moment when FRR implemented functions for DPDK.
Ex:
dev_info->device->name
now should berte_dev_name(dev_info->device)
ordev_info->driver_name
now isrte_driver_name(rte_dev_driver(dev_info->device))
I can release a patch for DPDK 24.0. The old calls I found that are in DPDK 18.0.
But even if is compiling without issues is crashing in another function:
zd_dpdk_port_show
especially at line:My question is for this problem: does zebra have some any future for DPDK? Should I push this PR to fix compilation for newer versions of DPDK? Can we fix the other issues?
Version
How to reproduce
Compile frr with --enable-dpdk
Expected behavior
Compilation should work
Actual behavior
Compilation fails because the DPDK API changed.
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: