Skip to content

Commit

Permalink
Revert "test/bonding: fix loop on members"
Browse files Browse the repository at this point in the history
This reverts commit e1a999e.

This reverts the backport of main branch commit
112ce3917674 ("test/bonding: fix loop on members")

It was reported to be causing a regression during validation.

Fixes: e1a999e ("test/bonding: fix loop on members")

Reported-at: https://mails.dpdk.org/archives/dev/2024-December/310542.html
Reported-by: Hailin Xu <[email protected]>
Suggested-by: David Marchand <[email protected]>
Acked-by: Kevin Traynor <[email protected]>
  • Loading branch information
kevintraynor committed Dec 13, 2024
1 parent 28596b4 commit 4e9bfc8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/test/test_link_bonding.c
Original file line number Diff line number Diff line change
Expand Up @@ -2269,7 +2269,12 @@ test_activebackup_rx_burst(void)
}

/* free mbufs */
rte_pktmbuf_free_bulk(rx_pkt_burst, burst_size);
for (i = 0; i < MAX_PKT_BURST; i++) {
if (rx_pkt_burst[i] != NULL) {
rte_pktmbuf_free(rx_pkt_burst[i]);
rx_pkt_burst[i] = NULL;
}
}

/* reset bonded device stats */
rte_eth_stats_reset(test_params->bonded_port_id);
Expand Down

0 comments on commit 4e9bfc8

Please sign in to comment.