|SUCCESS| net/txgbe: store flow rules without wrappers
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Tue Nov 10 23:48:49 CET 2026
Test-Label: ai-code-review
Test-Status: SUCCESS
https://dpdk.org/patch/172802
_AI Code Review_
=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-10
**Info**
The rewritten `rte_memcpy()` calls in `txgbe_flow_destroy()` are control-path copies of fixed-size structures. The patch touches these lines anyway, so plain struct assignment (or `memcpy()`) would be simpler and keeps `_FORTIFY_SOURCE` checking. For example:
```c
rte_memcpy(&ntuple_filter, ntuple_filter_ptr,
sizeof(struct rte_eth_ntuple_filter));
```
could become:
```c
ntuple_filter = *ntuple_filter_ptr;
```
The same applies to the ethertype, syn, fdir, and l2_tunnel cases. Use of `rte_memcpy()` here predates this patch; this is optional cleanup.
Review-Result: CLEAN
More information about the test-report
mailing list