Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/thunderbolt/
Dpath.c160 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_discover()
161 if (!path->hops) { in tb_path_discover()
191 path->hops[i].in_port = p; in tb_path_discover()
192 path->hops[i].in_hop_index = h; in tb_path_discover()
193 path->hops[i].in_counter_index = -1; in tb_path_discover()
194 path->hops[i].out_port = out_port; in tb_path_discover()
195 path->hops[i].next_hop_index = next_hop; in tb_path_discover()
260 path->hops = kcalloc(num_hops, sizeof(*path->hops), GFP_KERNEL); in tb_path_alloc()
261 if (!path->hops) { in tb_path_alloc()
320 path->hops[i].in_hop_index = in_hopid; in tb_path_alloc()
[all …]
Dtest.c786 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane0()
787 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane0()
848 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane1()
849 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane1()
928 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane1_chain()
929 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane1_chain()
1008 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane1_chain_reverse()
1009 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane1_chain_reverse()
1100 in_port = path->hops[i].in_port; in tb_test_path_mixed_chain()
1101 out_port = path->hops[i].out_port; in tb_test_path_mixed_chain()
[all …]
Dtunnel.c126 path->hops[0].initial_credits = 7; in tb_pci_init_path()
128 path->hops[1].initial_credits = in tb_pci_init_path()
129 tb_initial_credits(path->hops[1].in_port->sw); in tb_pci_init_path()
519 paths[TB_DP_VIDEO_PATH_OUT]->hops[0].in_hop_index, in tb_dp_activate()
520 paths[TB_DP_AUX_PATH_OUT]->hops[0].in_hop_index, in tb_dp_activate()
521 paths[TB_DP_AUX_PATH_IN]->hops[last].next_hop_index); in tb_dp_activate()
524 paths[TB_DP_VIDEO_PATH_OUT]->hops[last].next_hop_index, in tb_dp_activate()
525 paths[TB_DP_AUX_PATH_IN]->hops[0].in_hop_index, in tb_dp_activate()
526 paths[TB_DP_AUX_PATH_OUT]->hops[last].next_hop_index); in tb_dp_activate()
617 path->hops[i].initial_credits = 1; in tb_dp_init_aux_path()
[all …]
Dtb.h326 struct tb_path_hop *hops; member
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dcls_redirect.c174 enum hops { enum
199 enum hops hops; member
206 const char *family_str, *type, *conn, *hops, *result, *flags; in test_str() local
220 hops = "no hops"; in test_str()
221 if (test->hops == ONE_HOP) in test_str()
222 hops = "one hop"; in test_str()
235 type, result, conn, hops, flags); in test_str()
291 encap_init(&encap, test->hops == ONE_HOP ? 1 : 0, proto); in build_input()
294 if (test->hops == ONE_HOP) { in build_input()
/kernel/linux/linux-5.10/net/ipv6/
Dexthdrs.c1067 int hops; in ipv6_push_rthdr0() local
1074 hops = ihdr->rt_hdr.hdrlen >> 1; in ipv6_push_rthdr0()
1076 if (hops > 1) in ipv6_push_rthdr0()
1078 (hops - 1) * sizeof(struct in6_addr)); in ipv6_push_rthdr0()
1080 phdr->addr[hops - 1] = **addr_p; in ipv6_push_rthdr0()
1092 int plen, hops; in ipv6_push_rthdr4() local
1100 hops = sr_ihdr->first_segment + 1; in ipv6_push_rthdr4()
1102 (hops - 1) * sizeof(struct in6_addr)); in ipv6_push_rthdr4()
1107 if (sr_ihdr->hdrlen > hops * 2) { in ipv6_push_rthdr4()
1110 tlvs_offset = (1 + hops * 2) << 3; in ipv6_push_rthdr4()
[all …]
/kernel/linux/linux-5.10/arch/s390/kernel/
Ddis.c503 int start, end, opsize, hops, i; in show_code() local
523 for (i = 0, hops = 0; start + i < 32 && hops < 3; hops++) { in show_code()
536 hops = 0; in show_code()
537 while (start < end && hops < 8) { in show_code()
559 hops++; in show_code()
/kernel/linux/linux-5.10/net/decnet/
Ddn_neigh.c244 lp->visit_ct = cb->hops & 0x3f; in dn_long_output()
287 sp->forward = cb->hops & 0x3f; in dn_short_output()
329 sp->forward = cb->hops & 0x3f; in dn_phase3_output()
Ddn_route.c562 cb->hops = *ptr++; /* Visit Count */ in dn_route_rx_long()
590 cb->hops = *ptr & 0x3f; in dn_route_rx_short()
759 cb->hops = 0; in dn_output()
794 if (++cb->hops > 30) in dn_forward()
/kernel/linux/linux-5.10/include/net/
Ddn.h155 __u16 hops; member
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-rapidio156 (RO) number of hops on the path to the switch
/kernel/linux/linux-5.10/net/batman-adv/
Ddistributed-arp-table.c79 __u8 hops; member
1547 __u8 hops; in batadv_dat_check_dhcp() member
/kernel/linux/linux-5.10/Documentation/networking/devlink/
Ddevlink-dpipe.rst176 host table for directly connected routes, or adjacency table for next-hops.
/kernel/linux/linux-5.10/drivers/staging/gdm724x/
Dgdm_lte.c588 u8 hops; /* used by relay agents only */ in gdm_lte_netif_rx() member
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
Ddhcps.c153 srvr_msg->hops = 0; in dhcps_create_base_msg()
/kernel/linux/linux-5.10/net/ipv4/
Dipconfig.c609 u8 hops; /* Used only by gateways */ member
/kernel/linux/linux-5.10/Documentation/core-api/
Dworkqueue.rst179 hops through different CPUs.
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dinclude.patch3148 + * <7:6> :: USB2 hub hops consumed
3186 +#define VDO_ACABLE2(mtemp, stemp, u3p, trans, phy, ele, u4, hops, u2, u32, lane, iso, gen) \
3189 + | ((hops) & 0x3) << 6 | (u2) << 5 | (u32) << 4 | (lane) << 3 \