Home
last modified time | relevance | path

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

12345678

/Linux-v5.15/drivers/thunderbolt/
Dpath.c16 static void tb_dump_hop(const struct tb_path_hop *hop, const struct tb_regs_hop *regs) in tb_dump_hop() argument
18 const struct tb_port *port = hop->in_port; in tb_dump_hop()
21 hop->in_hop_index, regs->out_port, regs->next_hop); in tb_dump_hop()
38 struct tb_regs_hop hop; in tb_path_find_dst_port() local
48 ret = tb_port_read(port, &hop, TB_CFG_HOPS, 2 * hopid, 2); in tb_path_find_dst_port()
54 if (!hop.enable) in tb_path_find_dst_port()
57 out_port = &sw->ports[hop.out_port]; in tb_path_find_dst_port()
58 hopid = hop.next_hop; in tb_path_find_dst_port()
105 struct tb_regs_hop hop; in tb_path_discover() local
132 ret = tb_port_read(p, &hop, TB_CFG_HOPS, 2 * h, 2); in tb_path_discover()
[all …]
Dnhi.c42 int bit = ring->hop; in ring_interrupt_index()
67 index = ring->hop; in ring_interrupt_active()
69 index = ring->hop + ring->nhi->hop_count; in ring_interrupt_active()
107 RING_TYPE(ring), ring->hop, in ring_interrupt_active()
135 io += ring->hop * 16; in ring_desc_base()
143 io += ring->hop * 32; in ring_options_base()
462 if (ring->hop < 0) { in nhi_alloc_hop()
472 ring->hop = i; in nhi_alloc_hop()
477 ring->hop = i; in nhi_alloc_hop()
484 if (ring->hop < 0 || ring->hop >= nhi->hop_count) { in nhi_alloc_hop()
[all …]
Dtunnel.c156 static int tb_pci_init_credits(struct tb_path_hop *hop) in tb_pci_init_credits() argument
158 struct tb_port *port = hop->in_port; in tb_pci_init_credits()
179 hop->initial_credits = credits; in tb_pci_init_credits()
185 struct tb_path_hop *hop; in tb_pci_init_path() local
195 tb_path_for_each_hop(path, hop) { in tb_pci_init_path()
198 ret = tb_pci_init_credits(hop); in tb_pci_init_path()
683 static void tb_dp_init_aux_credits(struct tb_path_hop *hop) in tb_dp_init_aux_credits() argument
685 struct tb_port *port = hop->in_port; in tb_dp_init_aux_credits()
689 hop->initial_credits = sw->min_dp_aux_credits; in tb_dp_init_aux_credits()
691 hop->initial_credits = 1; in tb_dp_init_aux_credits()
[all …]
Dnhi_regs.h40 * 16 bytes per entry, one entry for every hop (REG_HOP_COUNT)
49 * 16 bytes per entry, one entry for every hop (REG_HOP_COUNT)
59 * 32 bytes per entry, one entry for every hop (REG_HOP_COUNT)
67 * 32 bytes per entry, one entry for every hop (REG_HOP_COUNT)
70 * the corresponding TX hop id.
80 * Every bitfield contains one bit for every hop (REG_HOP_COUNT). Registers are
89 * Both bitfields contains one bit for every hop (REG_HOP_COUNT). To
/Linux-v5.15/Documentation/networking/
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-v5.15/net/ipv6/
Dcalipso.c767 /* Hop-by-hop hdr helper functions
771 * calipso_opt_update - Replaces socket's hop options with a new set
773 * @hop: new hop options
776 * Replaces @sk's hop options with @hop. @hop may be NULL to leave
777 * the socket with no hop options.
780 static int calipso_opt_update(struct sock *sk, struct ipv6_opt_hdr *hop) in calipso_opt_update() argument
784 txopts = ipv6_renew_options(sk, old, IPV6_HOPOPTS, hop); in calipso_opt_update()
826 * calipso_opt_find - Finds the CALIPSO option in an IPv6 hop options header
827 * @hop: the hop options header
836 * offsets within @hop of the start of padding before the first
[all …]
Dmcast_snoop.c164 * with a hop-by-hop option.
165 * -ENODATA: IP+ICMPv6 header with hop-by-hop option validation succeeded
/Linux-v5.15/net/6lowpan/
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
Dnhc_hop.c3 * 6LoWPAN IPv6 Hop-by-Hop Options Header compression according to RFC6282
18 LOWPAN_NHC(nhc_hop, "RFC6282 Hop-by-Hop Options", NEXTHDR_HOP, 0,
22 MODULE_DESCRIPTION("6LoWPAN next header RFC6282 Hop-by-Hop Options compression");
Dnhc_ghc_ext_hop.c18 LOWPAN_NHC(ghc_ext_hop, "RFC7400 Hop-by-Hop Extension Header", NEXTHDR_HOP, 0,
22 MODULE_DESCRIPTION("6LoWPAN generic header hop-by-hop extension compression");
/Linux-v5.15/sound/synth/emux/
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);
288 int atomic, int hop) in snd_emux_event_oss_input() argument
301 return snd_emux_event_input(ev, direct, private_data, atomic, hop); in snd_emux_event_oss_input()
309 emuspec_control(emu, p, cmd, data, atomic, hop); in snd_emux_event_oss_input()
311 gusspec_control(emu, p, cmd, data, atomic, hop); in snd_emux_event_oss_input()
321 unsigned char *event, int atomic, int hop) in emuspec_control() argument
361 fake_event(emu, port, voice, MIDI_CTL_ALL_NOTES_OFF, 0, atomic, hop); in emuspec_control()
[all …]
/Linux-v5.15/sound/core/seq/
Dseq_queue.c238 void snd_seq_check_queue(struct snd_seq_queue *q, int atomic, int hop) in snd_seq_check_queue() argument
265 snd_seq_dispatch_event(cell, atomic, hop); in snd_seq_check_queue()
274 snd_seq_dispatch_event(cell, atomic, hop); in snd_seq_check_queue()
290 int snd_seq_enqueue_event(struct snd_seq_event_cell *cell, int atomic, int hop) in snd_seq_enqueue_event() argument
334 snd_seq_check_queue(q, atomic, hop); in snd_seq_enqueue_event()
620 int atomic, int hop) in queue_broadcast_event() argument
635 snd_seq_kernel_client_dispatch(SNDRV_SEQ_CLIENT_SYSTEM, &sev, atomic, hop); in queue_broadcast_event()
644 int atomic, int hop) in snd_seq_queue_process_event() argument
651 queue_broadcast_event(q, ev, atomic, hop); in snd_seq_queue_process_event()
656 queue_broadcast_event(q, ev, atomic, hop); in snd_seq_queue_process_event()
[all …]
Dseq_clientmgr.c68 int err, int atomic, int hop);
71 int filter, int atomic, int hop);
537 int err, int atomic, int hop) in bounce_error_event() argument
559 result = snd_seq_deliver_single_event(NULL, &bounce_ev, 0, atomic, hop + 1); in bounce_error_event()
605 int filter, int atomic, int hop) in snd_seq_deliver_single_event() argument
642 atomic, hop); in snd_seq_deliver_single_event()
655 result = bounce_error_event(client, event, result, atomic, hop); in snd_seq_deliver_single_event()
666 int atomic, int hop) in deliver_to_subscribers() argument
685 down_read_nested(&grp->list_mutex, hop); in deliver_to_subscribers()
696 0, atomic, hop); in deliver_to_subscribers()
[all …]
Dseq_queue.h66 int snd_seq_enqueue_event(struct snd_seq_event_cell *cell, int atomic, int hop);
81 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);
/Linux-v5.15/drivers/infiniband/core/
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()
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()
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-v5.15/drivers/gpu/drm/ttm/
Dttm_bo.c167 struct ttm_place *hop) in ttm_bo_handle_move_mem() argument
197 ret = bdev->funcs->move(bo, evict, ctx, mem, hop); in ttm_bo_handle_move_mem()
494 struct ttm_place *hop) in ttm_bo_bounce_temp_buffer() argument
501 hop_placement.placement = hop_placement.busy_placement = hop; in ttm_bo_bounce_temp_buffer()
522 struct ttm_place hop; in ttm_bo_evict() local
525 memset(&hop, 0, sizeof(hop)); in ttm_bo_evict()
556 ret = ttm_bo_handle_move_mem(bo, evict_mem, true, ctx, &hop); in ttm_bo_evict()
558 ret = ttm_bo_bounce_temp_buffer(bo, &evict_mem, ctx, &hop); in ttm_bo_evict()
885 struct ttm_place hop; in ttm_bo_move_buffer() local
897 * the second hop. in ttm_bo_move_buffer()
[all …]
/Linux-v5.15/tools/testing/selftests/net/forwarding/
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 ($tcflags)"
102 log_test "mirror to ip6gre with next-hop remote ($tcflags)"
/Linux-v5.15/include/net/
Dipv6.h32 #define NEXTHDR_HOP 0 /* Hop-by-hop option header. */
53 /* Limits on Hop-by-Hop and Destination options.
56 * Hop-by-Hop or Destination options other then the packet must fit in an MTU.
61 * - Limit the number of options in a Hop-by-Hop or Destination options
63 * - Limit the byte length of a Hop-by-Hop or Destination options extension
75 * options or Hop-by-Hop options. If the number is less than zero then unknown
80 * Hop-by-Hop options extension header. Setting the value to INT_MAX
87 /* Default limits for Hop-by-Hop and Destination options */
/Linux-v5.15/net/ipv6/netfilter/
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");
DKconfig121 tristate '"hbh" hop-by-hop and "dst" opts header match support'
124 This allows one to match packets based on the hop-by-hop
/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_control.sh278 -t ip hop=1,next=0,payload=$(mld_payload_get 130) -p 100 -q
286 -t ip hop=1,next=0,payload=$(mld_payload_get 131) -p 100 -q
294 -t ip hop=1,next=0,payload=$(mld_payload_get 143) -p 100 -q
302 -t ip hop=1,next=0,payload=$(mld_payload_get 132) -p 100 -q
358 -t ip hop=1,next=58,payload=$(icmpv6_header_get 135) -p 100 -q
366 -t ip hop=1,next=58,payload=$(icmpv6_header_get 136) -p 100 -q
566 # https://en.wikipedia.org/wiki/IPv6_packet#Hop-by-hop_options_and_destination_options
606 -t ip hop=1,next=58,payload=$(icmpv6_header_get 133) -p 100 -q
615 -t ip hop=1,next=58,payload=$(icmpv6_header_get 134) -p 100 -q
624 -t ip hop=1,next=58,payload=$(icmpv6_header_get 137) -p 100 -q
/Linux-v5.15/drivers/firewire/
Dcore-topology.c122 * Compute the maximum hop count for this node and it's children. The
123 * maximum hop count is the maximum number of connections between any
127 * maintain the max hop count and the max depth, ie the number of hops
128 * to the furthest leaf. Computing the max hop count breaks down into
130 * the hop count is the sum of the two biggest child depths plus 2.
131 * Or it could be the case that the max hop path is entirely
132 * containted in a child tree, in which case the max hop count is just
133 * the max hop count of this child.
/Linux-v5.15/drivers/misc/habanalabs/common/mmu/
Dmmu_v1.c108 * The value to write is actually the address of the next shadow hop + in write_pte()
111 * clear the 12 LSBs and translate the shadow hop to its associated in write_pte()
112 * physical hop, and add back the original 12 LSBs. in write_pte()
147 * put_pte - decrement the num of ptes and free the hop if possible
150 * @hop_addr: addr of the hop
152 * This function returns the number of ptes left on this hop. If the number is
241 /* translates shadow address inside hop to a physical address */
285 dev_err(hdev->dev, "failed to alloc hop 1\n"); in dram_default_mapping_init()
294 dev_err(hdev->dev, "failed to alloc hop 2\n"); in dram_default_mapping_init()
304 dev_err(hdev->dev, "failed to alloc hop 3, i: %d\n", i); in dram_default_mapping_init()
[all …]

12345678