[PATCH v5 15/34] net/ixgbe: refactor vector common code
Bruce Richardson
bruce.richardson at intel.com
Mon Jun 9 12:50:53 CEST 2025
On Fri, Jun 06, 2025 at 06:08:54PM +0100, Anatoly Burakov wrote:
> Each vector driver provides its own Rx queue setup etc. functions, but
> actually they're entirely identical, and can be merged. Rename the
> `ixgbe_recycle_mbufs_vec_common.c` to `ixgbe_rxtx_vec_common.c` and move
> all common code there from each respective vector driver.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
> drivers/net/intel/ixgbe/ixgbe_rxtx.c | 2 +
> drivers/net/intel/ixgbe/ixgbe_rxtx.h | 8 -
> ...s_vec_common.c => ixgbe_rxtx_vec_common.c} | 137 +++++++++++++++++-
> .../net/intel/ixgbe/ixgbe_rxtx_vec_common.h | 127 ++--------------
> drivers/net/intel/ixgbe/ixgbe_rxtx_vec_neon.c | 42 ------
> drivers/net/intel/ixgbe/ixgbe_rxtx_vec_sse.c | 42 ------
> drivers/net/intel/ixgbe/meson.build | 4 +-
> 7 files changed, 148 insertions(+), 214 deletions(-)
> rename drivers/net/intel/ixgbe/{ixgbe_recycle_mbufs_vec_common.c => ixgbe_rxtx_vec_common.c} (56%)
>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list