From: Damjan Marion Date: Wed, 27 Mar 2024 21:53:21 +0000 (+0100) Subject: octeon: specify pool when alloc buffers X-Git-Tag: v24.10-rc0~133 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=5e814768b8d21fe4812b63a38b88bb1175404ed8;p=vpp.git octeon: specify pool when alloc buffers Type: fix Fixes: 01fe7ab Change-Id: I72fdaca250468d91a31efcce2fb447c97ba49dc7 Signed-off-by: Damjan Marion --- diff --git a/src/plugins/dev_octeon/rx_node.c b/src/plugins/dev_octeon/rx_node.c index 35776c8b714..997f1356199 100644 --- a/src/plugins/dev_octeon/rx_node.c +++ b/src/plugins/dev_octeon/rx_node.c @@ -217,7 +217,8 @@ oct_rxq_refill (vlib_main_t *vm, vnet_dev_rx_queue_t *rxq, u16 n_refill) while (n_lines >= batch_max_lines) { - n_alloc = vlib_buffer_alloc (vm, buffer_indices, batch_max_bufs); + n_alloc = + vlib_buffer_alloc_from_pool (vm, buffer_indices, batch_max_bufs, bpi); if (PREDICT_FALSE (n_alloc < batch_max_bufs)) goto alloc_fail; oct_rxq_refill_batch (vm, lmt_id, addr, lines, buffer_indices, w0,