OpenVisualCloud / Media-Transport-Library

A real-time media transport(DPDK, AF_XDP, RDMA) stack for both raw and compressed video based on COTS hardware.
BSD 3-Clause "New" or "Revised" License
171 stars 55 forks source link

Fix the last frame drop in ST22 #924

Closed DawidWesierski4 closed 4 months ago

DawidWesierski4 commented 4 months ago

In ST22, ensure the frame status changes to FREE at the end of transmitting the last frame. This change addresses the issue of the last frame sometimes being omitted in ST22 streams.

DawidWesierski4 commented 4 months ago

Running test: =========================================== ./build/tests/KahawaiUfdTest --p_port 0000:b1:01.1 --r_port 0000:b1:01.2

Test passed in 22 seconds.

=========================================== Running test: =========================================== ./build/tests/KahawaiUfdTest --p_port 0000:b1:01.1 --r_port 0000:b1:01.2 --queue_mode shared

Test passed in 20 seconds.

=========================================== Running test: =========================================== ./build/tests/KahawaiUfdTest --p_port 0000:b1:01.1 --r_port 0000:b1:01.2 --queue_mode shared --udp_lcore

Test passed in 20 seconds.

=========================================== Running test: =========================================== ./build/tests/KahawaiUfdTest --p_port 0000:b1:01.1 --r_port 0000:b1:01.2 --rss_mode l3_l4

Test passed in 20 seconds.

=========================================== Running test: =========================================== ./build/tests/KahawaiTest --auto_start_stop --p_port 0000:b1:01.1 --r_port 0000:b1:01.2 --dma_dev 0000:00:01.0,0000:00:01.1 --gtestfilter=-St22?x.*

Test passed in 781 seconds.

=========================================== Running test: =========================================== ./build/tests/KahawaiTest --auto_start_stop --p_port 0000:b1:01.1 --r_port 0000:b1:01.2 --rss_mode l3_l4 --pacing_way tsc --iova_mode pa --multi_src_port --gtest_filter=Main.:St20p:-ext

Test passed in 83 seconds.

=========================================== Running test: =========================================== ./build/tests/KahawaiTest --p_port kernel:lo --r_port kernel:lo --auto_start_stop --gtest_filter=St20p*

Test passed in 140 seconds.

===========================================

tests passed