[PATCH v2] net/ring: remove internal devarg
Stephen Hemminger
stephen at networkplumber.org
Tue Sep 22 17:32:47 CEST 2026
On Tue, 22 Sep 2026 15:24:11 +0100
Bruce Richardson <bruce.richardson at intel.com> wrote:
> The devarg "internal" was used to pass a pointer to the creation
> function to reuse set parameters. However, this meant it could also be
> used as a devarg on the commandline leading to incorrect behaviour.
> Redesign the passing of the args parameters to use a per-thread global
> instead. The wrapper function sets the global to a valid value before
> calling the main creation function, skipping passing a devarg, before
> resetting the pointer back to NULL when the function returns.
>
> Bugzilla ID: 1687
> Fixes: 96cb19521147 ("net/ring: use EAL APIs in PMD specific API")
> Cc: stable at dpdk.org
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
Looks good, applied to next-net.
Did manual validation that internal arg was gone.
More information about the stable
mailing list