[PATCH v2] net/intel: improve Rx descriptor ring size checks

Medvedkin, Vladimir vladimir.medvedkin at intel.com
Tue Jan 27 21:58:39 CET 2026


Acked-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>

On 12/15/2025 6:43 PM, Bruce Richardson wrote:
> The default Rx ring size checks did not account for the fact that the
> port would not work correctly if the Rx ring size was only twice the
> free threshold size or less, so add in a new check for this. This would
> generally only apply in cases where very small rings sizes are being
> used, for example, with default Rx free thresh of 32, only ring size of
> 64 would cause issues.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
> v2: add in extra error message for the small queue size case, to help
>      make users aware of what setting they need to use to fix things.
> ---
>   drivers/net/intel/cpfl/cpfl_rxtx.c   | 10 ++++++++++
>   drivers/net/intel/i40e/i40e_rxtx.c   | 10 ++++++++++
>   drivers/net/intel/iavf/iavf_rxtx.c   | 23 ++++++++---------------
>   drivers/net/intel/ice/ice_rxtx.c     | 10 ++++++++++
>   drivers/net/intel/idpf/idpf_rxtx.c   | 10 ++++++++++
>   drivers/net/intel/ixgbe/ixgbe_rxtx.c | 10 ++++++++++
>   6 files changed, 58 insertions(+), 15 deletions(-)
>
<snip>

-- 
Regards,
Vladimir



More information about the dev mailing list