Document the following new eBPF features introduced in this release: * Extensible BPF loading API (rte_bpf_load_ex, rte_bpf_prm_ex). * Loading and executing eBPF programs with up to 5 arguments. * Installing already loaded eBPF programs as port callbacks.
Signed-off-by: Marat Khalili <[email protected]> Acked-by: Konstantin Ananyev <[email protected]> --- doc/guides/rel_notes/release_26_07.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/guides/rel_notes/release_26_07.rst b/doc/guides/rel_notes/release_26_07.rst index 5d7aa8d1bf..3a151c8e83 100644 --- a/doc/guides/rel_notes/release_26_07.rst +++ b/doc/guides/rel_notes/release_26_07.rst @@ -155,6 +155,26 @@ New Features Added AGENTS.md file for AI review and supporting scripts to review patches and documentation. +* **Added extensible BPF loading API.** + + Added an extensible BPF loading API comprising the function + ``rte_bpf_load_ex`` and struct ``rte_bpf_prm_ex``. This enables new features + such as loading classic BPF (cBPF), loading ELF images directly from memory + buffers, and executing multi-argument programs, while avoiding future ABI + breakages. + +* **Added support for executing BPF programs with multiple arguments.** + + Added support for loading and executing BPF programs with up to 5 arguments. + This introduces new API functions ``rte_bpf_exec_ex``, + ``rte_bpf_exec_burst_ex``, and ``rte_bpf_get_jit_ex``. + +* **Added BPF port callback installation API.** + + Added new API functions ``rte_bpf_eth_rx_install`` and + ``rte_bpf_eth_tx_install`` for installing already loaded BPF programs as + port callbacks (as opposed to loading them directly from ELF files). + Removed Items ------------- -- 2.43.0

