|SUCCESS| [v2] net/pcap: fix handling of transmit errors

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Tue Nov 17 20:03:23 CET 2026


Test-Label: ai-code-review
Test-Status: SUCCESS
https://dpdk.org/patch/173004

_AI Code Review_

=== Patch Review: series.patch (via Claude) ===
Review date: 2026-11-17

Info

1. The new multi-line comment does not follow DPDK comment style. DPDK puts the opening `/*` on its own line for multi-line comments:

       /* pcap_sendpacket() does not document errno, but it is the only way
        * to tell back pressure from a hard error.
        */

   Suggested form:

       /*
        * pcap_sendpacket() does not document errno, but it is the only way
        * to tell back pressure from a hard error.
        */

2. The comment `/* nothing sent, caller should retry */` sits inside the error branch, ahead of the EAGAIN test. It reads as if it describes every failure, but it only applies to the EAGAIN/EWOULDBLOCK break. Moving it onto the `break` line, or rewording it to "back pressure: nothing sent, caller should retry", would avoid confusion with the drop path below it.

Review-Result: CLEAN


More information about the test-report mailing list