[PATCH v3 02/13] net/iavf: make IPsec stats dynamically allocated

Bruce Richardson bruce.richardson at intel.com
Wed May 14 18:39:14 CEST 2025


On Mon, May 12, 2025 at 01:54:28PM +0100, Anatoly Burakov wrote:
> Currently, the stats structure is directly embedded in the queue structure.
> We're about to move iavf driver to a common Rx queue structure, so we can't
> have driver-specific structures that aren't pointers, inside the common
> queue structure. To prepare, we replace direct embedding into the queue
> structure with a pointer to the stats structure.
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
>  drivers/net/intel/iavf/iavf_ethdev.c |  2 +-
>  drivers/net/intel/iavf/iavf_rxtx.c   | 21 ++++++++++++++++++---
>  drivers/net/intel/iavf/iavf_rxtx.h   |  2 +-
>  3 files changed, 20 insertions(+), 5 deletions(-)

Acked-by: Bruce Richardson <bruce.richardson at intel.com>




More information about the dev mailing list