[RFC PATCH v2 26/26] config: add computed max queues define for compatibility

Stephen Hemminger stephen at networkplumber.org
Wed Aug 14 17:01:19 CEST 2024


On Tue, 13 Aug 2024 17:00:03 +0100
Bruce Richardson <bruce.richards at intel.com> wrote:

> +.. note::
> +
> +   The define ``RTE_MAX_QUEUES_PER_PORT`` is kept for backward compatibility.
> +   Its value is no longer hard-coded,
> +   but is set, at configuration time, to the maximum of the configured max Rx and Tx queue values.

Would rather it just be marked __rte_deprecated because a runtime calculation is going to break
code that uses this to size arrays at compile time.


More information about the dev mailing list