Home
last modified time | relevance | path

Searched refs:tunnel1 (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/thunderbolt/
Dtest.c1320 struct tb_tunnel *tunnel1, *tunnel2; in tb_test_tunnel_pcie() local
1340 tunnel1 = tb_tunnel_alloc_pci(NULL, up, down); in tb_test_tunnel_pcie()
1341 KUNIT_ASSERT_NOT_NULL(test, tunnel1); in tb_test_tunnel_pcie()
1342 KUNIT_EXPECT_EQ(test, tunnel1->type, TB_TUNNEL_PCI); in tb_test_tunnel_pcie()
1343 KUNIT_EXPECT_PTR_EQ(test, tunnel1->src_port, down); in tb_test_tunnel_pcie()
1344 KUNIT_EXPECT_PTR_EQ(test, tunnel1->dst_port, up); in tb_test_tunnel_pcie()
1345 KUNIT_ASSERT_EQ(test, tunnel1->npaths, 2); in tb_test_tunnel_pcie()
1346 KUNIT_ASSERT_EQ(test, tunnel1->paths[0]->path_length, 2); in tb_test_tunnel_pcie()
1347 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie()
1348 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[1].out_port, up); in tb_test_tunnel_pcie()
[all …]