Home
last modified time | relevance | path

Searched refs:hop (Results 1 – 25 of 48) sorted by relevance

12

/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.c776 static int calipso_opt_update(struct sock *sk, struct ipv6_opt_hdr *hop) in calipso_opt_update() argument
780 txopts = ipv6_renew_options(sk, old, IPV6_HOPOPTS, hop); in calipso_opt_update()
842 static int calipso_opt_find(struct ipv6_opt_hdr *hop, unsigned int *start, in calipso_opt_find() argument
847 unsigned char *opt = (unsigned char *)hop; in calipso_opt_find()
849 opt_len = ipv6_optlen(hop); in calipso_opt_find()
850 offset = sizeof(*hop); in calipso_opt_find()
853 tlv_len = calipso_tlv_len(hop, offset); in calipso_opt_find()
878 *start = offset_s + calipso_tlv_len(hop, offset_s); in calipso_opt_find()
880 *start = sizeof(*hop); in calipso_opt_find()
882 *end = offset_e + calipso_tlv_len(hop, offset_e); in calipso_opt_find()
[all …]
/linux/drivers/thunderbolt/
H A Dnhi.c45 int bit = ring->hop;
91 index = ring->hop; in ring_interrupt_active()
93 index = ring->hop + ring->nhi->hop_count; in ring_interrupt_active()
143 RING_TYPE(ring), ring->hop, in ring_interrupt_active()
175 io += ring->hop * 16;
183 io += ring->hop * 32; in ring_desc_base()
474 if (ring->hop < 0) { in ring_request_msix()
484 ring->hop = i; in ring_request_msix()
489 ring->hop = i; in ring_request_msix()
496 if (ring->hop >
579 tb_ring_alloc(struct tb_nhi * nhi,u32 hop,int size,bool transmit,unsigned int flags,int e2e_tx_hop,u16 sof_mask,u16 eof_mask,void (* start_poll)(void *),void * poll_data) tb_ring_alloc() argument
648 tb_ring_alloc_tx(struct tb_nhi * nhi,int hop,int size,unsigned int flags) tb_ring_alloc_tx() argument
671 tb_ring_alloc_rx(struct tb_nhi * nhi,int hop,int size,unsigned int flags,int e2e_tx_hop,u16 sof_mask,u16 eof_mask,void (* start_poll)(void *),void * poll_data) tb_ring_alloc_rx() argument
731 u32 hop; tb_ring_start() local
920 int hop = -1; nhi_interrupt_work() local
[all...]
H A Ddma_test.c156 e2e_tx_hop = ring->hop; in dma_test_start_rings()
198 dt->tx_ring ? dt->tx_ring->hop : -1, in dma_test_start_rings()
200 dt->rx_ring ? dt->rx_ring->hop : -1); in dma_test_start_rings()
224 dt->tx_ring ? dt->tx_ring->hop : -1, in dma_test_stop_rings()
226 dt->rx_ring ? dt->rx_ring->hop : -1); in dma_test_stop_rings()
/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/sound/core/seq/
H A Dseq_queue.c230 void snd_seq_check_queue(struct snd_seq_queue *q, int atomic, int hop) in snd_seq_check_queue() argument
256 snd_seq_dispatch_event(cell, atomic, hop); in snd_seq_check_queue()
267 snd_seq_dispatch_event(cell, atomic, hop); in snd_seq_check_queue()
286 int snd_seq_enqueue_event(struct snd_seq_event_cell *cell, int atomic, int hop) in snd_seq_enqueue_event() argument
329 snd_seq_check_queue(q, atomic, hop); in snd_seq_enqueue_event()
570 int atomic, int hop) in queue_broadcast_event() argument
585 snd_seq_kernel_client_dispatch(SNDRV_SEQ_CLIENT_SYSTEM, &sev, atomic, hop); in queue_broadcast_event()
594 int atomic, int hop) in snd_seq_queue_process_event() argument
601 queue_broadcast_event(q, ev, atomic, hop); in snd_seq_queue_process_event()
606 queue_broadcast_event(q, ev, atomic, hop); in snd_seq_queue_process_event()
[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()
586 snd_seq_deliver_from_ump(struct snd_seq_client * source,struct snd_seq_client * dest,struct snd_seq_client_port * dest_port,struct snd_seq_event * event,int atomic,int hop) snd_seq_deliver_from_ump() argument
1135 cvt_to_ump_midi1(struct snd_seq_client * dest,struct snd_seq_client_port * dest_port,struct snd_seq_event * event,int atomic,int hop) cvt_to_ump_midi1() argument
1169 cvt_to_ump_midi2(struct snd_seq_client * dest,struct snd_seq_client_port * dest_port,struct snd_seq_event * event,int atomic,int hop) cvt_to_ump_midi2() argument
1217 cvt_sysex_to_ump(struct snd_seq_client * dest,struct snd_seq_client_port * dest_port,struct snd_seq_event * event,int atomic,int hop) cvt_sysex_to_ump() argument
1277 snd_seq_deliver_to_ump(struct snd_seq_client * source,struct snd_seq_client * dest,struct snd_seq_client_port * dest_port,struct snd_seq_event * event,int atomic,int hop) snd_seq_deliver_to_ump() argument
[all...]
H A Dseq_clientmgr.c70 int err, int atomic, int hop);
73 int atomic, int hop);
529 int err, int atomic, int hop) in bounce_error_event()
577 result = snd_seq_deliver_single_event(NULL, &bounce_ev, atomic, hop + 1); in update_timestamp_of_queue()
616 int atomic, int hop) in _snd_seq_deliver_single_event()
629 atomic, hop); in _snd_seq_deliver_single_event()
637 int atomic, int hop) in _snd_seq_deliver_single_event()
661 event, atomic, hop); in snd_seq_deliver_single_event()
668 event, atomic, hop);
673 atomic, hop); in __deliver_to_subscribers() argument
528 bounce_error_event(struct snd_seq_client * client,struct snd_seq_event * event,int err,int atomic,int hop) bounce_error_event() argument
589 __snd_seq_deliver_single_event(struct snd_seq_client * dest,struct snd_seq_client_port * dest_port,struct snd_seq_event * event,int atomic,int hop) __snd_seq_deliver_single_event() argument
610 _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
658 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
729 deliver_to_subscribers(struct snd_seq_client * client,struct snd_seq_event * event,int atomic,int hop) deliver_to_subscribers() argument
768 snd_seq_deliver_event(struct snd_seq_client * client,struct snd_seq_event * event,int atomic,int hop) snd_seq_deliver_event() argument
803 snd_seq_dispatch_event(struct snd_seq_event_cell * cell,int atomic,int hop) snd_seq_dispatch_event() argument
878 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
2388 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);
H A Dseq_clientmgr.h100 int snd_seq_dispatch_event(struct snd_seq_event_cell *cell, int atomic, int hop);
109 int atomic, int hop);
H A Dseq_system.c105 …t event_input_timer(struct snd_seq_event * ev, int direct, void *private_data, int atomic, int hop) in event_input_timer() argument
107 return snd_seq_control_queue(ev, atomic, hop); in event_input_timer()
H A Dseq_dummy.c82 int atomic, int hop) in dummy_input() argument
99 return snd_seq_kernel_client_dispatch(p->client, &tmpev.legacy, atomic, hop); in dummy_input()
/linux/tools/testing/selftests/mm/
H A Dvirtual_address_range.c
/linux/drivers/gpu/drm/ttm/
H A Dttm_bo.c124 struct ttm_place *hop) in ttm_bo_handle_move_mem() argument
158 ret = bdev->funcs->move(bo, evict, ctx, mem, hop); in ttm_bo_handle_move_mem()
336 struct ttm_place *hop) in ttm_bo_bounce_temp_buffer() argument
343 hop_placement.placement = hop; in ttm_bo_bounce_temp_buffer()
363 struct ttm_place hop; in ttm_bo_evict() local
366 memset(&hop, 0, sizeof(hop)); in ttm_bo_evict()
396 ret = ttm_bo_handle_move_mem(bo, evict_mem, true, ctx, &hop); in ttm_bo_evict()
400 ret = ttm_bo_bounce_temp_buffer(bo, ctx, &hop); in ttm_bo_evict()
823 struct ttm_place hop; in ttm_bo_validate() local
865 ret = ttm_bo_handle_move_mem(bo, res, false, ctx, &hop); in ttm_bo_validate()
[all …]
/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
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/drivers/accel/habanalabs/common/mmu/
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()
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_kunit_helpers.c66 struct ttm_place *hop) in mock_move() argument
77 hop->mem_type = TTM_PL_TT; in mock_move()
78 hop->flags = TTM_PL_FLAG_TEMPORARY; in mock_move()
79 hop->fpfn = 0; in mock_move()
80 hop->lpfn = 0; in mock_move()
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_training_dpia.h47 uint32_t hop);
52 uint32_t hop);
/linux/include/sound/
H A Dseq_kernel.h51 int (*event_input)(struct snd_seq_event *ev, int direct, void *private_data, int atomic, int hop);
63 int snd_seq_kernel_client_dispatch(int client, struct snd_seq_event *ev, int atomic, int hop);
/linux/drivers/gpu/drm/qxl/
H A Dqxl_ttm.c140 struct ttm_place *hop) in qxl_bo_move() argument
147 hop->mem_type = TTM_PL_SYSTEM; in qxl_bo_move()
148 hop->flags = TTM_PL_FLAG_TEMPORARY; in qxl_bo_move()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm_move.h36 struct ttm_place *hop);
/linux/drivers/gpu/drm/radeon/
H A Dradeon_ttm.c191 struct ttm_place *hop) in radeon_bo_move() argument
231 hop->fpfn = 0; in radeon_bo_move()
232 hop->lpfn = 0; in radeon_bo_move()
233 hop->mem_type = TTM_PL_TT; in radeon_bo_move()
234 hop->flags = 0; in radeon_bo_move()
/linux/tools/testing/radix-tree/
H A Dtest.c118 int chunk, int hop) in item_gang_check_present() argument
136 into += hop; in item_gang_check_present()
/linux/sound/core/seq/oss/
H A Dseq_oss_event.h97 int snd_seq_oss_event_input(struct snd_seq_event *ev, int direct, void *private_data, int atomic, int hop);
/linux/net/ipv6/netfilter/
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

12