Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/thunderbolt/
Dnhi_regs.h85 #define RING_NOTIFY_REG_COUNT(nhi) ((31 + 3 * nhi->hop_count) / 32)
93 #define RING_INTERRUPT_REG_COUNT(nhi) ((31 + 2 * nhi->hop_count) / 32)
Dnhi.c43 bit += ring->nhi->hop_count; in ring_interrupt_index()
68 index = ring->hop + ring->nhi->hop_count; in ring_interrupt_active()
452 for (i = RING_FIRST_USABLE_HOPID; i < nhi->hop_count; i++) { in nhi_alloc_hop()
467 if (ring->hop < 0 || ring->hop >= nhi->hop_count) { in nhi_alloc_hop()
810 for (bit = 0; bit < 3 * nhi->hop_count; bit++) { in nhi_interrupt_work()
815 if (++hop == nhi->hop_count) { in nhi_interrupt_work()
1025 for (i = 0; i < nhi->hop_count; i++) { in nhi_shutdown()
1194 nhi->hop_count = ioread32(nhi->iobase + REG_HOP_COUNT) & 0x3ff; in nhi_probe()
1195 dev_dbg(&pdev->dev, "total paths: %d\n", nhi->hop_count); in nhi_probe()
1197 nhi->tx_rings = devm_kcalloc(&pdev->dev, nhi->hop_count, in nhi_probe()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_cls_redirect.c381 sizeof(struct in_addr) * encap->unigue.hop_count; in accept_locally()
405 sizeof(struct in_addr) * encap->unigue.hop_count; in forward_with_gre()
533 if (encap->unigue.next_hop == encap->unigue.hop_count - 1 && in forward_to_next_hop()
542 if (encap->unigue.next_hop < encap->unigue.hop_count) { in forward_to_next_hop()
579 if (encap->unigue.next_hop > encap->unigue.hop_count) { in get_next_hop()
586 if (encap->unigue.next_hop == encap->unigue.hop_count) { in get_next_hop()
597 return skip_next_hops(pkt, encap->unigue.hop_count - in get_next_hop()
1000 sizeof(encap->unigue) / 4 + encap->unigue.hop_count) { in cls_redirect()
Dtest_cls_redirect.h38 uint8_t hop_count; member
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dcls_redirect.c248 static void encap_init(encap_headers_t *encap, uint8_t hop_count, uint8_t proto) in encap_init() argument
251 (sizeof(struct guehdr) / sizeof(uint32_t)) + hop_count; in encap_init()
269 .hop_count = hop_count in encap_init()
/kernel/linux/linux-5.10/net/mac80211/
Dmesh_hwmp.c104 u8 hop_count, u8 ttl, in mesh_path_sel_frame_tx() argument
158 *pos++ = hop_count; in mesh_path_sel_frame_tx()
497 mpath->hop_count = hopcount; in hwmp_route_info_get()
543 mpath->hop_count = 1; in hwmp_route_info_get()
Dmesh.h116 u8 hop_count; member
Dmesh_pathtbl.c754 mpath->hop_count = 0; in mesh_path_fix_nexthop()
Dcfg.c1962 pinfo->hop_count = mpath->hop_count; in mpath_set_pinfo()
/kernel/linux/linux-5.10/include/linux/
Dthunderbolt.h453 u32 hop_count; member
/kernel/linux/linux-5.10/include/net/
Dcfg80211.h1833 u8 hop_count; member
/kernel/linux/linux-5.10/net/wireless/
Dnl80211.c6693 pinfo->hop_count)) || in nl80211_send_mpath()