[PATCH v3 1/8] net/iavf: avoid passing around pointers
Bruce Richardson
bruce.richardson at intel.com
Fri Apr 3 12:37:23 CEST 2026
On Fri, Mar 06, 2026 at 10:58:17AM +0000, Anatoly Burakov wrote:
> Currently, when querying the stats for IAVF, we pass a pointer-to-pointer
> and then use it as an input for another function. It does not really need
> to be a pointer because it is populated from virtchnl command response
> anyway. Replace it with passing in a stack-allocated struct, and pass it
> into the stats query function.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list