[PATCH v2] net/bonding: add user callback for bond xmit policy

Stephen Hemminger stephen at networkplumber.org
Tue Dec 3 19:11:55 CET 2024


On Tue, 15 Oct 2024 10:20:49 +0200
<vignesh.purushotham.srinivas at ericsson.com> wrote:

> From: Vignesh PS <vignesh.purushotham.srinivas at ericsson.com>
> 
> Add support to bonding PMD to allow user callback
> function registration for TX transmit policy.
> 
> Signed-off-by: Vignesh PS <vignesh.purushotham.srinivas at ericsson.com>

Allowing a callback hook for more complex options is good, but needs
a little more work for completeness.

The xmit callback register should take a portid to indicate which
port it is for, and do checking of that portid that it is a bond port.

Also need a test in CI. Something in testpmd to set it.


More information about the dev mailing list