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]> --- 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 f012d47a4b1b..18810ab81d93 100644 --- a/doc/guides/rel_notes/release_26_07.rst +++ b/doc/guides/rel_notes/release_26_07.rst @@ -63,6 +63,26 @@ New Features ``rte_eal_init`` and the application is responsible for probing each device, * ``--auto-probing`` enables the initial bus probing, which is the current default behavior. +* **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

