Home
last modified time | relevance | path

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

/linux/drivers/thunderbolt/
A 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()
194 path->hops[i].out_port = out_port; 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()
321 path->hops[i].in_port = in_port; in tb_path_alloc()
323 path->hops[i].out_port = out_port; in tb_path_alloc()
361 kfree(path->hops); in tb_path_free()
[all …]
A Dtest.c855 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane0()
856 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane0()
917 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane1()
918 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane1()
997 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane1_chain()
998 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane1_chain()
1077 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane1_chain_reverse()
1078 out_port = path->hops[i].out_port; in tb_test_path_not_bonded_lane1_chain_reverse()
1169 in_port = path->hops[i].in_port; in tb_test_path_mixed_chain()
1170 out_port = path->hops[i].out_port; in tb_test_path_mixed_chain()
[all …]
A Dtunnel.c597 paths[TB_DP_VIDEO_PATH_OUT]->hops[0].in_hop_index, in tb_dp_activate()
598 paths[TB_DP_AUX_PATH_OUT]->hops[0].in_hop_index, in tb_dp_activate()
599 paths[TB_DP_AUX_PATH_IN]->hops[last].next_hop_index); in tb_dp_activate()
602 paths[TB_DP_VIDEO_PATH_OUT]->hops[last].next_hop_index, in tb_dp_activate()
603 paths[TB_DP_AUX_PATH_IN]->hops[0].in_hop_index, in tb_dp_activate()
604 paths[TB_DP_AUX_PATH_OUT]->hops[last].next_hop_index); in tb_dp_activate()
973 hop = &path->hops[0]; in tb_dma_init_rx_path()
981 ret = tb_dma_reserve_credits(&path->hops[i], credits); in tb_dma_init_rx_path()
1146 if (tb_port_is_nhi(path->hops[0].in_port)) in tb_tunnel_match_dma()
1156 (tx_path->hops[0].in_hop_index != transmit_ring)) in tb_tunnel_match_dma()
[all …]
A Dtb.h375 struct tb_path_hop *hops; member
979 for ((hop) = &(path)->hops[0]; \
980 (hop) <= &(path)->hops[(path)->path_length - 1]; (hop)++)
/linux/drivers/misc/habanalabs/common/mmu/
A Dmmu.c480 struct hl_mmu_hop_info *hops, in hl_mmu_pa_page_with_offset() argument
490 if (hops->unscrambled_paddr) in hl_mmu_pa_page_with_offset()
491 tmp_phys_addr = hops->unscrambled_paddr; in hl_mmu_pa_page_with_offset()
493 tmp_phys_addr = hops->hop_info[hops->used_hops - 1].hop_pte_val; in hl_mmu_pa_page_with_offset()
542 struct hl_mmu_hop_info hops; in hl_mmu_va_to_pa() local
545 memset(&hops, 0, sizeof(hops)); in hl_mmu_va_to_pa()
557 struct hl_mmu_hop_info *hops) in hl_mmu_get_tlb_info() argument
581 virt_addr, hops); in hl_mmu_get_tlb_info()
584 virt_addr, hops); in hl_mmu_get_tlb_info()
589 if (hops->unscrambled_paddr) in hl_mmu_get_tlb_info()
[all …]
A Dmmu_v1.c870 struct hl_mmu_hop_info *hops) in hl_mmu_v1_get_tlb_info() argument
908 hops->hop_info[0].hop_pte_addr = in hl_mmu_v1_get_tlb_info()
911 hops->hop_info[0].hop_pte_val = in hl_mmu_v1_get_tlb_info()
913 hops->hop_info[0].hop_pte_addr); in hl_mmu_v1_get_tlb_info()
916 hops->hop_info[i].hop_addr = in hl_mmu_v1_get_tlb_info()
918 hops->hop_info[i - 1].hop_pte_val); in hl_mmu_v1_get_tlb_info()
922 hops->hop_info[i].hop_pte_addr = in hl_mmu_v1_get_tlb_info()
924 hops->hop_info[i].hop_addr, in hl_mmu_v1_get_tlb_info()
926 hops->hop_info[i].hop_pte_val = in hl_mmu_v1_get_tlb_info()
928 hops->hop_info[i].hop_pte_addr); in hl_mmu_v1_get_tlb_info()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
A Dcls_redirect.c175 enum hops { enum
200 enum hops hops; member
207 const char *family_str, *type, *conn, *hops, *result, *flags; in test_str() local
221 hops = "no hops"; in test_str()
222 if (test->hops == ONE_HOP) in test_str()
223 hops = "one hop"; in test_str()
236 type, result, conn, hops, flags); in test_str()
292 encap_init(&encap, test->hops == ONE_HOP ? 1 : 0, proto); in build_input()
295 if (test->hops == ONE_HOP) { in build_input()
/linux/Documentation/networking/
A Dnexthop-group-resilient.rst9 weights of constituent next hops.
48 constituent next hops: a hash table. The selection algorithm uses SKB hash
55 the individual next hops is arbitrary. Therefore when a next hop is deleted
56 the buckets that held it are simply reassigned to other next hops::
69 When weights of next hops in a group are altered, it may be possible to
83 cause bucket allocation change, the wants counts for individual next hops
86 Next hops that have fewer buckets than their wants count, are called
88 overweight (and therefore no underweight) next hops in the group, it is
97 After assigning wants counts to next hops, an "upkeep" algorithm runs. For
105 underweight next hops. If, after considering all buckets in this manner,
[all …]
/linux/arch/s390/kernel/
A Ddis.c505 int start, end, opsize, hops, i; in show_code() local
525 for (i = 0, hops = 0; start + i < 32 && hops < 3; hops++) { in show_code()
538 hops = 0; in show_code()
539 while (start < end && hops < 8) { in show_code()
561 hops++; in show_code()
/linux/net/ipv6/
A Dexthdrs.c1111 int hops; in ipv6_push_rthdr0() local
1118 hops = ihdr->rt_hdr.hdrlen >> 1; in ipv6_push_rthdr0()
1120 if (hops > 1) in ipv6_push_rthdr0()
1122 (hops - 1) * sizeof(struct in6_addr)); in ipv6_push_rthdr0()
1124 phdr->addr[hops - 1] = **addr_p; in ipv6_push_rthdr0()
1136 int plen, hops; in ipv6_push_rthdr4() local
1144 hops = sr_ihdr->first_segment + 1; in ipv6_push_rthdr4()
1146 (hops - 1) * sizeof(struct in6_addr)); in ipv6_push_rthdr4()
1151 if (sr_ihdr->hdrlen > hops * 2) { in ipv6_push_rthdr4()
1154 tlvs_offset = (1 + hops * 2) << 3; in ipv6_push_rthdr4()
[all …]
/linux/include/dt-bindings/usb/
A Dpd.h404 #define VDO_ACABLE2(mtemp, stemp, u3p, trans, phy, ele, u4, hops, u2, u32, lane, iso, gen) \ argument
407 | ((hops) & 0x3) << 6 | (u2) << 5 | (u32) << 4 | (lane) << 3 \
/linux/include/linux/usb/
A Dpd_vdo.h429 #define VDO_ACABLE2(mtemp, stemp, u3p, trans, phy, ele, u4, hops, u2, u32, lane, iso, gen) \ argument
432 | ((hops) & 0x3) << 6 | (u2) << 5 | (u32) << 4 | (lane) << 3 \
/linux/net/decnet/
A 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()
A Ddn_route.c565 cb->hops = *ptr++; /* Visit Count */ in dn_route_rx_long()
593 cb->hops = *ptr & 0x3f; in dn_route_rx_short()
763 cb->hops = 0; in dn_output()
798 if (++cb->hops > 30) in dn_forward()
/linux/include/net/
A Ddn.h155 __u16 hops; member
/linux/net/batman-adv/
A Ddistributed-arp-table.c78 __u8 hops; member
1485 __u8 hops; in batadv_dat_check_dhcp() member
/linux/Documentation/ABI/testing/
A Dsysfs-bus-rapidio156 (RO) number of hops on the path to the switch
/linux/drivers/staging/r8188eu/core/
A Drtw_br_ext.c641 u_int8_t hops; member
/linux/Documentation/networking/devlink/
A Ddevlink-dpipe.rst176 host table for directly connected routes, or adjacency table for next-hops.
/linux/drivers/misc/habanalabs/common/
A Dhabanalabs.h2300 u64 virt_addr, struct hl_mmu_hop_info *hops);
2924 struct hl_mmu_hop_info *hops);
/linux/drivers/staging/gdm724x/
A Dgdm_lte.c587 u8 hops; /* used by relay agents only */ in gdm_lte_netif_rx() member
/linux/net/ipv4/
A Dipconfig.c633 u8 hops; /* Used only by gateways */ member
/linux/Documentation/core-api/
A Dworkqueue.rst179 hops through different CPUs.

Completed in 66 milliseconds