* [PATCH v2 2/4] net/ark: remove double mbuf frees [not found] <20250910185720.995300-1-ed.czeck@atomicrules.com> @ 2025-09-10 18:57 ` Ed Czeck 0 siblings, 0 replies; 3+ messages in thread From: Ed Czeck @ 2025-09-10 18:57 UTC (permalink / raw) To: dev, stephen; +Cc: John Miller, stable, Shepard Siegel From: John Miller <john.miller@atomicrules.com> Fixes: 8b154b690266 ("net/ark: add Rx initial version") Cc: stable@dpdk.org Signed-off-by: John Miller <john.miller@atomicrules.com> --- drivers/net/ark/ark_ethdev_rx.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ark/ark_ethdev_rx.c b/drivers/net/ark/ark_ethdev_rx.c index 80e431f1ae..6077d98ae0 100644 --- a/drivers/net/ark/ark_ethdev_rx.c +++ b/drivers/net/ark/ark_ethdev_rx.c @@ -538,7 +538,6 @@ void eth_ark_dev_rx_queue_release(void *vqueue) { struct ark_rx_queue *queue; - uint32_t i; queue = (struct ark_rx_queue *)vqueue; if (queue == 0) @@ -551,9 +550,6 @@ eth_ark_dev_rx_queue_release(void *vqueue) /* Need to clear out mbufs here, dropping packets along the way */ eth_ark_rx_queue_drain(queue); - for (i = 0; i < queue->queue_size; ++i) - rte_pktmbuf_free(queue->reserve_q[i]); - rte_free(queue->reserve_q); rte_free(queue->paddress_q); rte_free(queue); -- 2.34.1 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20250903212846.268492-1-ed.czeck@atomicrules.com>]
[parent not found: <20250910184838.994526-1-ed.czeck@atomicrules.com>]
* [PATCH v2 2/4] net/ark: remove double mbuf frees [not found] ` <20250910184838.994526-1-ed.czeck@atomicrules.com> @ 2025-09-10 18:48 ` Ed Czeck 0 siblings, 0 replies; 3+ messages in thread From: Ed Czeck @ 2025-09-10 18:48 UTC (permalink / raw) To: ed.czeck; +Cc: John Miller, stable From: John Miller <john.miller@atomicrules.com> Fixes: 8b154b690266 ("net/ark: add Rx initial version") Cc: stable@dpdk.org Signed-off-by: John Miller <john.miller@atomicrules.com> --- drivers/net/ark/ark_ethdev_rx.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ark/ark_ethdev_rx.c b/drivers/net/ark/ark_ethdev_rx.c index 80e431f1ae..6077d98ae0 100644 --- a/drivers/net/ark/ark_ethdev_rx.c +++ b/drivers/net/ark/ark_ethdev_rx.c @@ -538,7 +538,6 @@ void eth_ark_dev_rx_queue_release(void *vqueue) { struct ark_rx_queue *queue; - uint32_t i; queue = (struct ark_rx_queue *)vqueue; if (queue == 0) @@ -551,9 +550,6 @@ eth_ark_dev_rx_queue_release(void *vqueue) /* Need to clear out mbufs here, dropping packets along the way */ eth_ark_rx_queue_drain(queue); - for (i = 0; i < queue->queue_size; ++i) - rte_pktmbuf_free(queue->reserve_q[i]); - rte_free(queue->reserve_q); rte_free(queue->paddress_q); rte_free(queue); -- 2.34.1 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20250910190436.995899-1-ed.czeck@atomicrules.com>]
* [PATCH v2 2/4] net/ark: remove double mbuf frees [not found] ` <20250910190436.995899-1-ed.czeck@atomicrules.com> @ 2025-09-10 19:04 ` Ed Czeck 0 siblings, 0 replies; 3+ messages in thread From: Ed Czeck @ 2025-09-10 19:04 UTC (permalink / raw) To: dev, stephen; +Cc: John Miller, stable, Shepard Siegel From: John Miller <john.miller@atomicrules.com> Fixes: 8b154b690266 ("net/ark: add Rx initial version") Cc: stable@dpdk.org Signed-off-by: John Miller <john.miller@atomicrules.com> --- drivers/net/ark/ark_ethdev_rx.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ark/ark_ethdev_rx.c b/drivers/net/ark/ark_ethdev_rx.c index 80e431f1ae..6077d98ae0 100644 --- a/drivers/net/ark/ark_ethdev_rx.c +++ b/drivers/net/ark/ark_ethdev_rx.c @@ -538,7 +538,6 @@ void eth_ark_dev_rx_queue_release(void *vqueue) { struct ark_rx_queue *queue; - uint32_t i; queue = (struct ark_rx_queue *)vqueue; if (queue == 0) @@ -551,9 +550,6 @@ eth_ark_dev_rx_queue_release(void *vqueue) /* Need to clear out mbufs here, dropping packets along the way */ eth_ark_rx_queue_drain(queue); - for (i = 0; i < queue->queue_size; ++i) - rte_pktmbuf_free(queue->reserve_q[i]); - rte_free(queue->reserve_q); rte_free(queue->paddress_q); rte_free(queue); -- 2.34.1 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-10 19:04 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20250910185720.995300-1-ed.czeck@atomicrules.com> 2025-09-10 18:57 ` [PATCH v2 2/4] net/ark: remove double mbuf frees Ed Czeck [not found] <20250903212846.268492-1-ed.czeck@atomicrules.com> [not found] ` <20250910184838.994526-1-ed.czeck@atomicrules.com> 2025-09-10 18:48 ` Ed Czeck [not found] ` <20250910190436.995899-1-ed.czeck@atomicrules.com> 2025-09-10 19:04 ` Ed Czeck
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).