On 11/10/22 13:16, Hanumanth Pothula wrote:
Some of the HW has support for choosing memory pools based on
the packet's size. The pool sort capability allows PMD/NIC to
choose a memory pool based on the packet's length.

On multiple mempool support enabled, populate mempool array
accordingly. Also, print pool name on which packet is received.

Signed-off-by: Hanumanth Pothula <hpoth...@marvell.com>

v14:
  - Rebased on tip of next-net/main
v13:
  - Make sure protocol-based header split feature is not broken
    by updating changes with latest code base.
v12:
  - Process multi-segment configuration on number segments
    (rx_pkt_nb_segs) greater than 1 or buffer split offload
    flag (RTE_ETH_RX_OFFLOAD_BUFFER_SPLIT) set.
v11:
  - Resolve compilation and warning.
v10:
  - Populate multi-mempool array based on mbuf_data_size_n instead
    of rx_pkt_nb_segs.

Reviewed-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru>

Applied to dpdk-next-net/main, thanks.

Reply via email to