frr
frr copied to clipboard
zebra: Update Zebra DPDK >=22.11 API
Hi,
This is my first try to fix Zebra against DPDK >= 22.11 API. Starting from this version DPDK had some changes:
External users may still register their driver using the associated driver headers (see enable_driver_sdk meson option). The rte_driver and rte_device objects are now opaque and must be manipulated through added accessors.
There are few issues still:
- To enable the DPDK we need to compile FRRouting with
--enable-dp-dpdk=yes - usr/lib/*/frr/modules/zebra_dplane_dpdk.so is missing from debian/frr.install . For testing purpose I've created a script that adds this option and missing lib in the corresponding files.
- Zebra is still crashing when I don't have any interfaces attached to DPDK. Keeps #15910 opened until we figured out the issue.
Partial solves #15910 .
let's update the commit message to state zebra: Update for DPDK >=22.11 API to follow our standards, also let's remove the merge commit and force push a rebase onto the branch.
let's update the commit message to state
zebra: Update for DPDK >=22.11 APIto follow our standards, also let's remove the merge commit and force push a rebase onto the branch.
Thanks for suggestion. Is ok now? I will check the Zebra DPDK files for correct clang-format and I will push another PR for formatting.
Please fix the problems identified by frrbot.
Please fix the problems identified by frrbot.
This is very weird. I tested with git clang-format and give me no changes. I applied what frrbot suggested.