From 7603552cf3e97123d5180915455ac4d7b40d716f Mon Sep 17 00:00:00 2001 From: Ric Li Date: Tue, 23 Jan 2024 16:29:42 +0800 Subject: [PATCH 1/2] ci: use multicast for afxdp test Signed-off-by: Ric Li --- .github/workflows/afxdp_build_with_gtest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/afxdp_build_with_gtest.yml b/.github/workflows/afxdp_build_with_gtest.yml index 53333decb..92d9b1dbb 100644 --- a/.github/workflows/afxdp_build_with_gtest.yml +++ b/.github/workflows/afxdp_build_with_gtest.yml @@ -123,8 +123,8 @@ jobs: - name: Run st2110 test case run: | - sudo ./build/tests/KahawaiTest --auto_start_stop --p_port ${{ env.TEST_PORT_P }} --r_port ${{ env.TEST_PORT_R }} --pacing_way tsc --gtest_filter=St*:-St22_?x.*:*pacing*:*ext*:*create_free_max*:*detect*:*rtcp* + sudo ./build/tests/KahawaiTest --auto_start_stop --p_port ${{ env.TEST_PORT_P }} --r_port ${{ env.TEST_PORT_R }} --mcast_only --pacing_way tsc --gtest_filter=St*:-St22_?x.*:*pacing*:*ext*:*create_free_max*:*detect*:*rtcp* - name: Run st2110 st20p test case in simulation ENA environment run: | - sudo ./build/tests/KahawaiTest --auto_start_stop --p_port ${{ env.TEST_PORT_P }} --r_port ${{ env.TEST_PORT_R }} --rss_mode l3_l4 --pacing_way tsc --iova_mode pa --multi_src_port --gtest_filter=St20p*:-*pacing*:*ext*:*create_free_max*:*rtcp* + sudo ./build/tests/KahawaiTest --auto_start_stop --p_port ${{ env.TEST_PORT_P }} --r_port ${{ env.TEST_PORT_R }} --mcast_only --rss_mode l3_l4 --pacing_way tsc --iova_mode pa --multi_src_port --gtest_filter=St20p*:-*pacing*:*ext*:*create_free_max*:*rtcp* From a0e608e1f20677cd4a26ca1e28d064aaabbc0c4c Mon Sep 17 00:00:00 2001 From: Ric Li Date: Tue, 23 Jan 2024 16:37:14 +0800 Subject: [PATCH 2/2] update path filter Signed-off-by: Ric Li --- .github/path_filters.yml | 5 +++++ .github/workflows/afxdp_build_with_gtest.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/path_filters.yml b/.github/path_filters.yml index ab4050b56..d195c30f2 100644 --- a/.github/path_filters.yml +++ b/.github/path_filters.yml @@ -67,3 +67,8 @@ afxdp_build: &afxdp_build - .github/workflows/afxdp_build.yml - *src - *build + +afxdp_test: &afxdp_test + - .github/workflows/afxdp_build_with_gtest.yml + - *src + - *build diff --git a/.github/workflows/afxdp_build_with_gtest.yml b/.github/workflows/afxdp_build_with_gtest.yml index 92d9b1dbb..15be68da2 100644 --- a/.github/workflows/afxdp_build_with_gtest.yml +++ b/.github/workflows/afxdp_build_with_gtest.yml @@ -30,7 +30,7 @@ jobs: permissions: pull-requests: read outputs: - changed: ${{ steps.filter.outputs.linux_gtest == 'true' }} + changed: ${{ steps.filter.outputs.afxdp_test == 'true' }} steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1