On Fri, 11 Apr 2025 16:44:39 -0700
Stephen Hemminger <step...@networkplumber.org> wrote:

> Before this patch if secondary process called start/stop
> it would only impact the secondary process, the ethdev on the
> primary process will still not be started.
> 
> With this patch, when start/stop is called from secondary,
> it calls the primary and does the operation there. The design
> is generic, and we can later add queue and other operations
> as needed.
> 
> Bugzilla ID: 73
> 
> Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
> ---

Wanted to expand this to other functions like rte_eth_dev_configure()
but the structure rte_eth_conf has grown quite large
According to pahole
        /* size: 2280, cachelines: 36, members: 8 */
        /* sum members: 2268, holes: 2, sum holes: 8 */
        /* padding: 4 */
        /* member types with holes: 3, total: 4, bit holes: 1, total: 1, bit 
paddings: 1, total: 29 bits */
 The biggest offender
there is DCB and VMDQ both of which are features I doubt anyone ever uses,
but unlikely to get that fixed.

Because it is so large, it is impossible to pass rte_eth_conf over the mp
primary/secondary API.

Reply via email to