Lines Matching refs:tunnel3
1607 struct tb_tunnel *tunnel1, *tunnel2, *tunnel3; in tb_test_tunnel_3dp() local
1656 tunnel3 = tb_tunnel_alloc_dp(NULL, in3, out3, 1, 0, 0); in tb_test_tunnel_3dp()
1657 KUNIT_ASSERT_TRUE(test, tunnel3 != NULL); in tb_test_tunnel_3dp()
1658 KUNIT_EXPECT_EQ(test, tunnel3->type, TB_TUNNEL_DP); in tb_test_tunnel_3dp()
1659 KUNIT_EXPECT_PTR_EQ(test, tunnel3->src_port, in3); in tb_test_tunnel_3dp()
1660 KUNIT_EXPECT_PTR_EQ(test, tunnel3->dst_port, out3); in tb_test_tunnel_3dp()
1661 KUNIT_ASSERT_EQ(test, tunnel3->npaths, 3); in tb_test_tunnel_3dp()
1662 KUNIT_ASSERT_EQ(test, tunnel3->paths[0]->path_length, 3); in tb_test_tunnel_3dp()
2287 struct tb_tunnel *tunnel1, *tunnel2, *tunnel3; in tb_test_credit_alloc_dma_multiple() local
2352 tunnel3 = tb_tunnel_alloc_dma(NULL, nhi, port, 10, 3, 10, 3); in tb_test_credit_alloc_dma_multiple()
2353 KUNIT_ASSERT_NULL(test, tunnel3); in tb_test_credit_alloc_dma_multiple()
2361 tunnel3 = tb_tunnel_alloc_dma(NULL, nhi, port, 10, 3, 10, 3); in tb_test_credit_alloc_dma_multiple()
2362 KUNIT_ASSERT_NOT_NULL(test, tunnel3); in tb_test_credit_alloc_dma_multiple()
2364 path = tunnel3->paths[0]; in tb_test_credit_alloc_dma_multiple()
2371 path = tunnel3->paths[1]; in tb_test_credit_alloc_dma_multiple()
2378 tb_tunnel_free(tunnel3); in tb_test_credit_alloc_dma_multiple()