|WARNING| [RFC,5/5] app/test-fib: add lookup across a group of FIBs

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Tue Nov 24 19:35:58 CET 2026


Test-Label: ai-code-review
Test-Status: WARNING
https://dpdk.org/patch/173137

_AI Code Review_

warning: review has no Review-Result line, severity inferred from prose (response may be truncated)
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-24

**Patch 3/5: fib: add group of FIBs with bulk lookup across them**

Error: adding `group` to the public `struct rte_fib_conf` is an ABI and API break.

```
+	/** Group the FIB belongs to (NULL = no group) */
+	struct rte_fib_group *group;
```

`rte_fib_create()` now dereferences this field:

```
+	if ((conf->group != NULL) && ((conf->type != conf->group->type) ||
```

- **Binary compatibility:** an application built against the previous header passes a shorter struct. `rte_fib_create()` then reads past its end and dereferences whatever it finds there.
- **Source compatibility:** any caller that fills the conf field by field without zeroing it gets the same garbage pointer. Patches 1/5 and 2/5 exist only to fix this for in-tree users, which shows existing code is affected.
- **Required action:** this needs ABI versioning of `rte_fib_create()` (`RTE_VERSION_SYMBOL`/`RTE_DEFAULT_SYMBOL`) or must wait for an ABI-breaking release. It also needs a release-note entry and a deprecation notice.
- **Alternative:** have the FIB join a group through a separate experimental call, e.g. `rte_fib_group_add(grp, fib)`. That avoids changing `rte_fib_conf` at all.

Warning: no release notes for the new


More information about the test-report mailing list