Home
last modified time | relevance | path

Searched full:hop (Results 1 – 25 of 171) sorted by relevance

1234567

/linux/Documentation/networking/
H A Dnexthop-group-resilient.rst4 Resilient Next-hop Groups
7 Resilient groups are a type of next-hop group that is aimed at minimizing
12 the legacy multipath next-hop group, which uses the hash-threshold
15 To select a next hop, hash-threshold algorithm first assigns a range of
16 hashes to each next hop in the group, and then selects the next hop by
17 comparing the SKB hash with the individual ranges. When a next hop is
19 reassignment of parts of hash space from one next hop to another. RFC 2992
28 Before and after deletion of next hop 3
31 Note how next hop 2 gave up part of the hash space in favor of next hop 1,
33 previous and the new distribution, some traffic flows change the next hop
[all …]
/linux/net/ipv6/
H A Dcalipso.c764 /* Hop-by-hop hdr helper functions
768 * calipso_opt_update - Replaces socket's hop options with a new set
770 * @hop: new hop options
773 * Replaces @sk's hop options with @hop. @hop may be NULL to leave
774 * the socket with no hop options.
777 static int calipso_opt_update(struct sock *sk, struct ipv6_opt_hdr *hop) in calipso_opt_update() argument
781 txopts = ipv6_renew_options(sk, old, IPV6_HOPOPTS, hop); in calipso_opt_update()
823 * calipso_opt_find - Finds the CALIPSO option in an IPv6 hop options header
824 * @hop: the hop options header
833 * offsets within @hop of the start of padding before the first
[all …]
H A Dmcast_snoop.c164 * with a hop-by-hop option.
165 * -ENODATA: IP+ICMPv6 header with hop-by-hop option validation succeeded
/linux/net/6lowpan/
H A DKconfig41 tristate "Hop-by-Hop Options Header Support"
44 6LoWPAN IPv6 Hop-by-Hop Options Header compression according to
72 tristate "GHC Hop-by-Hop Options Header Support"
74 6LoWPAN IPv6 Hop-by-Hop option generic header compression according
H A Dnhc_hop.c3 * 6LoWPAN IPv6 Hop-by-Hop Options Header compression according to RFC6282
11 LOWPAN_NHC(nhc_hop, "RFC6282 Hop-by-Hop Options", NEXTHDR_HOP, 0,
15 MODULE_DESCRIPTION("6LoWPAN next header RFC6282 Hop-by-Hop Options compression");
H A Dnhc_ghc_ext_hop.c11 LOWPAN_NHC(ghc_ext_hop, "RFC7400 Hop-by-Hop Extension Header", NEXTHDR_HOP, 0,
15 MODULE_DESCRIPTION("6LoWPAN generic header hop-by-hop extension compression");
/linux/sound/synth/emux/
H A Demux_oss.c27 void *private, int atomic, int hop);
30 int cmd, unsigned char *event, int atomic, int hop);
32 int cmd, unsigned char *event, int atomic, int hop);
34 int ch, int param, int val, int atomic, int hop);
290 int atomic, int hop) in snd_emux_event_oss_input() argument
303 return snd_emux_event_input(ev, direct, private_data, atomic, hop); in snd_emux_event_oss_input()
311 emuspec_control(emu, p, cmd, data, atomic, hop); in snd_emux_event_oss_input()
313 gusspec_control(emu, p, cmd, data, atomic, hop); in snd_emux_event_oss_input()
323 unsigned char *event, int atomic, int hop) in emuspec_control() argument
363 fake_event(emu, port, voice, MIDI_CTL_ALL_NOTES_OFF, 0, atomic, hop); in emuspec_control()
[all …]
/linux/drivers/accel/habanalabs/common/mmu/
H A Dmmu.c484 /* last hop holds the phys address and flags */ in hl_mmu_pa_page_with_offset()
520 * find the correct hop shift field in hl_mmu_properties in hl_mmu_pa_page_with_offset()
727 * hl_mmu_get_hop_pte_phys_addr() - extract PTE address from HOP
730 * @hop_idx: HOP index.
731 * @hop_addr: HOP address.
742 dev_err_ratelimited(ctx->hdev->dev, "Invalid hop index %d\n", hop_idx); in hl_mmu_get_hop_pte_phys_addr()
772 * @hop_table_size: HOP table size.
815 * @hop_table_size: HOP table size.
880 dev_err(hdev->dev, "Failed to allocate HOP from pgt pool\n"); in hl_mmu_hr_init()
902 * @hop_table_size: HOP table size
[all …]
H A Dmmu_v2_hr.c192 int hop; in hl_mmu_v2_get_last_hop() local
194 for (hop = (mmu_prop->num_hops - 1); hop; hop--) { in hl_mmu_v2_get_last_hop()
195 if (mmu_prop->hop_shifts[hop] == 0) in hl_mmu_v2_get_last_hop()
198 if (page_size <= (1 << mmu_prop->hop_shifts[hop])) in hl_mmu_v2_get_last_hop()
202 return hop; in hl_mmu_v2_get_last_hop()
234 dev_err(ctx->hdev->dev, "Invalid last HOP %d\n", hop_last); in _hl_mmu_v2_hr_map()
266 dev_dbg(hdev->dev, "hop%d pte: 0x%llx (0x%llx)\n", in _hl_mmu_v2_hr_map()
284 /* for each new hop, add its address to the table of previous-hop */ in _hl_mmu_v2_hr_map()
H A Dmmu_v2.c152 /* First hop is preallocated therefore it is treated differently */ in hl_mmu_v2_map()
187 dev_dbg(hdev->dev, "hop%d pte: 0x%llx (0x%llx)\n", in hl_mmu_v2_map()
201 /* for each new hop, add its address to the table of previous-hop */ in hl_mmu_v2_map()
302 /* if passed over all hops then no last hop was found */ in hl_mmu_v2_get_tlb_info()
/linux/sound/core/seq/
H A Dseq_queue.c229 void snd_seq_check_queue(struct snd_seq_queue *q, int atomic, int hop)
255 snd_seq_dispatch_event(cell, atomic, hop); in snd_seq_check_queue()
266 snd_seq_dispatch_event(cell, atomic, hop); in snd_seq_check_queue()
285 int snd_seq_enqueue_event(struct snd_seq_event_cell *cell, int atomic, int hop)
327 snd_seq_check_queue(q, atomic, hop); in snd_seq_enqueue_event()
568 int atomic, int hop) in snd_seq_queue_remove_cells()
583 snd_seq_kernel_client_dispatch(SNDRV_SEQ_CLIENT_SYSTEM, &sev, atomic, hop); in snd_seq_queue_remove_cells()
592 int atomic, int hop) in queue_broadcast_event()
599 queue_broadcast_event(q, ev, atomic, hop); in queue_broadcast_event()
604 queue_broadcast_event(q, ev, atomic, hop); in queue_broadcast_event()
230 snd_seq_check_queue(struct snd_seq_queue * q,int atomic,int hop) snd_seq_check_queue() argument
286 snd_seq_enqueue_event(struct snd_seq_event_cell * cell,int atomic,int hop) snd_seq_enqueue_event() argument
593 queue_broadcast_event(struct snd_seq_queue * q,struct snd_seq_event * ev,int atomic,int hop) queue_broadcast_event() argument
617 snd_seq_queue_process_event(struct snd_seq_queue * q,struct snd_seq_event * ev,int atomic,int hop) snd_seq_queue_process_event() argument
668 snd_seq_control_queue(struct snd_seq_event * ev,int atomic,int hop) snd_seq_control_queue() argument
[all...]
H A Dseq_ump_convert.c365 int atomic, int hop) in cvt_ump_midi1_to_midi2() argument
428 atomic, hop); in cvt_ump_midi1_to_midi2()
435 int atomic, int hop) in cvt_ump_midi2_to_midi1() argument
472 atomic, hop); in cvt_ump_midi2_to_midi1()
479 atomic, hop); in cvt_ump_midi2_to_midi1()
500 atomic, hop); in cvt_ump_midi2_to_midi1()
508 int atomic, int hop) in cvt_ump_to_any() argument
542 &ev_cvt[i], atomic, hop); in cvt_ump_to_any()
554 int atomic, int hop) in deliver_with_group_convert() argument
565 atomic, hop); in deliver_with_group_convert()
[all …]
H A Dseq_queue.h66 int snd_seq_enqueue_event(struct snd_seq_event_cell *cell, int atomic, int hop);
82 void snd_seq_check_queue(struct snd_seq_queue *q, int atomic, int hop);
93 int snd_seq_control_queue(struct snd_seq_event *ev, int atomic, int hop);
H A Dseq_clientmgr.c70 int err, int atomic, int hop);
73 int atomic, int hop);
528 int err, int atomic, int hop)
550 result = snd_seq_deliver_single_event(NULL, &bounce_ev, atomic, hop + 1); in get_event_dest_client()
589 int atomic, int hop) in bounce_error_event()
602 atomic, hop); in bounce_error_event()
610 int atomic, int hop)
634 event, atomic, hop); in update_timestamp_of_queue()
641 event, atomic, hop); in __snd_seq_deliver_single_event() argument
646 atomic, hop); in __snd_seq_deliver_single_event()
579 bounce_error_event(struct snd_seq_client * client,struct snd_seq_event * event,int err,int atomic,int hop) bounce_error_event() argument
668 snd_seq_deliver_single_event(struct snd_seq_client * client,struct snd_seq_event * event,int atomic,int hop) snd_seq_deliver_single_event() argument
735 __deliver_to_subscribers(struct snd_seq_client * client,struct snd_seq_event * event,int port,int atomic,int hop) __deliver_to_subscribers() argument
791 deliver_to_subscribers(struct snd_seq_client * client,struct snd_seq_event * event,int atomic,int hop) deliver_to_subscribers() argument
830 snd_seq_deliver_event(struct snd_seq_client * client,struct snd_seq_event * event,int atomic,int hop) snd_seq_deliver_event() argument
865 snd_seq_dispatch_event(struct snd_seq_event_cell * cell,int atomic,int hop) snd_seq_dispatch_event() argument
941 snd_seq_client_enqueue_event(struct snd_seq_client * client,struct snd_seq_event * event,struct file * file,int blocking,int atomic,int hop,struct mutex * mutexp) snd_seq_client_enqueue_event() argument
2532 snd_seq_kernel_client_dispatch(int client,struct snd_seq_event * ev,int atomic,int hop) snd_seq_kernel_client_dispatch() argument
[all...]
H A Dseq_ump_convert.h15 int atomic, int hop);
20 int atomic, int hop);
/linux/tools/testing/selftests/mm/
H A Dvirtual_address_range.c155 unsigned long hop; in validate_complete_va_space() local
188 hop = 0; in validate_complete_va_space()
189 while (start_addr + hop < end_addr) { in validate_complete_va_space()
190 if (write(fd, (void *)(start_addr + hop), 1) != 1) in validate_complete_va_space()
195 munmap((char *)(start_addr + hop), MAP_CHUNK_SIZE); in validate_complete_va_space()
197 hop += MAP_CHUNK_SIZE; in validate_complete_va_space()
/linux/drivers/infiniband/core/
H A Dsmi.c86 /* C14-9:5 -- Fail unreasonable hop pointer */ in __smi_handle_dr_smp_send()
120 /* C14-13:5 -- Check for unreasonable hop pointer */ in __smi_handle_dr_smp_send()
174 /* C14-9:2 -- intermediate hop */ in __smi_handle_dr_smp_recv()
197 /* C14-9:5 -- fail unreasonable hop pointer */ in __smi_handle_dr_smp_recv()
231 /* C14-13:5 -- Check for unreasonable hop pointer */ in __smi_handle_dr_smp_recv()
276 /* C14-9:2 -- intermediate hop */ in __smi_check_forward_dr_smp()
289 /* C14-13:2 -- intermediate hop */ in __smi_check_forward_dr_smp()
H A Dopa_smi.h57 /* C14-9:4 -- Hop Pointer = Hop Count + 1 -> give to SMA/SM */ in opa_smi_check_local_smp()
72 /* C14-13:4 -- Hop Pointer == 0 -> give to SM */ in opa_smi_check_local_returning_smp()
H A Dsmi.h69 /* C14-9:4 -- Hop Pointer = Hop Count + 1 -> give to SMA/SM */ in smi_check_local_smp()
84 /* C14-13:4 -- Hop Pointer == 0 -> give to SM */ in smi_check_local_returning_smp()
/linux/tools/testing/selftests/net/forwarding/
H A Dmirror_gre_nh.sh8 # is reachable through a next-hop route (as opposed to directly-attached route).
91 log_test "mirror to gre with next-hop remote"
102 log_test "mirror to ip6gre with next-hop remote"
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_control.sh280 -t ip hop=1,next=0,payload=$(mld_payload_get 130) -p 100 -q
288 -t ip hop=1,next=0,payload=$(mld_payload_get 131) -p 100 -q
296 -t ip hop=1,next=0,payload=$(mld_payload_get 143) -p 100 -q
304 -t ip hop=1,next=0,payload=$(mld_payload_get 132) -p 100 -q
360 -t ip hop=1,next=58,payload=$(icmpv6_header_get 135) -p 100 -q
368 -t ip hop=1,next=58,payload=$(icmpv6_header_get 136) -p 100 -q
568 # https://en.wikipedia.org/wiki/IPv6_packet#Hop-by-hop_options_and_destination_options
608 -t ip hop=1,next=58,payload=$(icmpv6_header_get 133) -p 100 -q
617 -t ip hop=1,next=58,payload=$(icmpv6_header_get 134) -p 100 -q
626 -t ip hop=1,next=58,payload=$(icmpv6_header_get 137) -p 100 -q
/linux/include/net/
H A Dipv6.h34 #define NEXTHDR_HOP 0 /* Hop-by-hop option header. */
55 /* Limits on Hop-by-Hop and Destination options.
58 * Hop-by-Hop or Destination options other then the packet must fit in an MTU.
63 * - Limit the number of options in a Hop-by-Hop or Destination options
65 * - Limit the byte length of a Hop-by-Hop or Destination options extension
77 * options or Hop-by-Hop options. If the number is less than zero then unknown
82 * Hop-by-Hop options extension header. Setting the value to INT_MAX
89 /* Default limits for Hop-by-Hop and Destination options */
/linux/net/ipv6/netfilter/
H A Dip6t_hbh.c2 /* Kernel module to match Hop-by-Hop and Destination parameters. */
21 MODULE_DESCRIPTION("Xtables: IPv6 Hop-By-Hop and Destination Header match");
H A DKconfig124 tristate '"hbh" hop-by-hop and "dst" opts header match support'
127 This allows one to match packets based on the hop-by-hop
/linux/net/batman-adv/
H A Dbat_v_ogm.c459 * Initially the per hardif hop penalty is applied to the throughput. After
467 * - throughput * node hop penalty otherwise
480 /* Apply per hardif hop penalty */ in batadv_v_forward_penalty()
484 /* Don't apply hop penalty in default originator table. */ in batadv_v_forward_penalty()
497 /* hop penalty of 255 equals 100% */ in batadv_v_forward_penalty()
541 /* strict rule: forward packets coming from the best next hop only */ in batadv_v_ogm_forward()
727 /* if this neighbor already is our next hop there is nothing in batadv_v_ogm_route_update()
735 * the last received seqno from our best next hop. in batadv_v_ogm_route_update()
907 * - If this OGM traveled one hop so far (emitted by single hop in batadv_v_ogm_process()
909 * - For OGMs traversing more than hop the path throughput metric is in batadv_v_ogm_process()

1234567