[PATCH v4 20/25] net/i40e: use common Rx rearm code
Bruce Richardson
bruce.richardson at intel.com
Wed Jun 4 11:33:47 CEST 2025
On Fri, May 30, 2025 at 02:57:16PM +0100, Anatoly Burakov wrote:
> The i40e driver has an implementation of vectorized mbuf rearm code that
> is identical to the one in the common code, so just use that.
>
> In addition, the i40e has implementations of Rx queue rearm for Neon and
> AltiVec instruction sets, so create a common headers for each of the
> instruction sets, and use that in respective i40e code.
>
> While we're at it, also make sure to use common definitions for things like
> burst size, rearm threshold, and descriptors per loop, which is currently
> defined separately in each driver.
>
> 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