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