Searched refs:hop_count (Results 1 – 13 of 13) sorted by relevance
85 #define RING_NOTIFY_REG_COUNT(nhi) ((31 + 3 * nhi->hop_count) / 32)94 #define RING_INTERRUPT_REG_COUNT(nhi) ((31 + 2 * nhi->hop_count) / 32)
57 bit += ring->nhi->hop_count; in ring_interrupt_index()103 index = ring->hop + ring->nhi->hop_count; in ring_interrupt_active()442 4 * (ring->nhi->hop_count / 32)); in ring_clear_msix()527 for (i = start_hop; i < nhi->hop_count; i++) { in nhi_alloc_hop()547 if (ring->hop < 0 || ring->hop >= nhi->hop_count) { in nhi_alloc_hop()921 for (bit = 0; bit < 3 * nhi->hop_count; bit++) { in nhi_interrupt_work()926 if (++hop == nhi->hop_count) { in nhi_interrupt_work()1136 for (i = 0; i < nhi->hop_count; i++) { in nhi_shutdown()1355 nhi->hop_count = ioread32(nhi->iobase + REG_CAPS) & 0x3ff; in nhi_probe()1356 dev_dbg(dev, "total paths: %d\n", nhi->hop_count); in nhi_probe()[all …]
385 sizeof(struct in_addr) * encap->unigue.hop_count; in accept_locally()409 sizeof(struct in_addr) * encap->unigue.hop_count; in forward_with_gre()543 if (encap->unigue.next_hop == encap->unigue.hop_count - 1 && in forward_to_next_hop()552 if (encap->unigue.next_hop < encap->unigue.hop_count) { in forward_to_next_hop()589 if (encap->unigue.next_hop > encap->unigue.hop_count) { in get_next_hop()596 if (encap->unigue.next_hop == encap->unigue.hop_count) { in get_next_hop()607 return skip_next_hops(pkt, encap->unigue.hop_count - in get_next_hop()1010 sizeof(encap->unigue) / 4 + encap->unigue.hop_count) { in cls_redirect()
277 sizeof(struct in_addr) * encap->unigue.hop_count; in accept_locally()299 sizeof(struct in_addr) * encap->unigue.hop_count; in forward_with_gre()435 if (encap->unigue.next_hop == encap->unigue.hop_count - 1 && in forward_to_next_hop()444 if (encap->unigue.next_hop < encap->unigue.hop_count) { in forward_to_next_hop()480 if (encap->unigue.next_hop > encap->unigue.hop_count) in get_next_hop()486 if (encap->unigue.next_hop == encap->unigue.hop_count) { in get_next_hop()498 return skip_next_hops(offset, encap->unigue.hop_count - encap->unigue.next_hop - 1); in get_next_hop()910 sizeof(encap->unigue) / 4 + encap->unigue.hop_count) { in cls_redirect()
47 uint8_t hop_count; member
218 static void encap_init(encap_headers_t *encap, uint8_t hop_count, uint8_t proto) in encap_init() argument221 (sizeof(struct guehdr) / sizeof(uint32_t)) + hop_count; in encap_init()239 .hop_count = hop_count in encap_init()
104 u8 hop_count, u8 ttl, in mesh_path_sel_frame_tx() argument158 *pos++ = hop_count; in mesh_path_sel_frame_tx()507 mpath->hop_count = hopcount; in hwmp_route_info_get()557 mpath->hop_count = 1; in hwmp_route_info_get()
118 u8 hop_count; member
1053 mpath->hop_count = 0; in mesh_path_fix_nexthop()
2363 pinfo->hop_count = mpath->hop_count; in mpath_set_pinfo()
501 u32 hop_count; member
2340 u8 hop_count; member
7893 pinfo->hop_count)) || in nl80211_send_mpath()