Home
last modified time | relevance | path

Searched full:router (Results 1 – 25 of 345) sorted by relevance

12345678910>>...14

/linux-6.12.1/arch/x86/pci/
Dirq.c53 int (*get)(struct pci_dev *router, struct pci_dev *dev, int pirq);
54 int (*set)(struct pci_dev *router, struct pci_dev *dev, int pirq,
56 int (*lvl)(struct pci_dev *router, struct pci_dev *dev, int pirq,
62 int (*probe)(struct irq_router *r, struct pci_dev *router, u16 device);
117 * have no information as to the router device to use, but we can handle
349 static int pirq_finali_get(struct pci_dev *router, struct pci_dev *dev, in pirq_finali_get() argument
368 static int pirq_finali_set(struct pci_dev *router, struct pci_dev *dev, in pirq_finali_set() argument
390 static int pirq_finali_lvl(struct pci_dev *router, struct pci_dev *dev, in pirq_finali_lvl() argument
412 static unsigned int read_config_nybble(struct pci_dev *router, unsigned offset, unsigned nr) in read_config_nybble() argument
417 pci_read_config_byte(router, reg, &x); in read_config_nybble()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c520 u16 id; /* virtual router ID */
540 lpm_tree = mlxsw_sp->router->lpm.proto_trees[proto]; in mlxsw_sp_fib_create()
580 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_tree_find_unused()
581 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_tree_find_unused()
680 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_tree_get()
681 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_tree_get()
719 mlxsw_sp->router->lpm.tree_count = max_trees - MLXSW_SP_LPM_TREE_MIN; in mlxsw_sp_lpm_init()
720 mlxsw_sp->router->lpm.trees = kcalloc(mlxsw_sp->router->lpm.tree_count, in mlxsw_sp_lpm_init()
723 if (!mlxsw_sp->router->lpm.trees) in mlxsw_sp_lpm_init()
726 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_init()
[all …]
Dspectrum_dpipe.c214 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_erif_entries_dump()
245 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_erif_entries_dump()
252 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_erif_entries_dump()
262 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_erif_counters_update()
275 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_erif_counters_update()
550 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_entries_get()
606 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_entries_get()
611 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_entries_get()
666 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_counters_update()
688 mutex_unlock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_counters_update()
[all …]
/linux-6.12.1/drivers/net/ethernet/marvell/prestera/
Dprestera_router_hw.c61 /* TODO: move to router.h as macros */
71 err = rhashtable_init(&sw->router->nh_neigh_ht, in prestera_router_hw_init()
76 err = rhashtable_init(&sw->router->nexthop_group_ht, in prestera_router_hw_init()
81 err = rhashtable_init(&sw->router->fib_ht, in prestera_router_hw_init()
86 INIT_LIST_HEAD(&sw->router->vr_list); in prestera_router_hw_init()
87 INIT_LIST_HEAD(&sw->router->rif_entry_list); in prestera_router_hw_init()
92 rhashtable_destroy(&sw->router->nexthop_group_ht); in prestera_router_hw_init()
94 rhashtable_destroy(&sw->router->nh_neigh_ht); in prestera_router_hw_init()
101 rhashtable_free_and_destroy(&sw->router->fib_ht, in prestera_router_hw_fini()
103 WARN_ON(!list_empty(&sw->router->vr_list)); in prestera_router_hw_fini()
[all …]
Dprestera_router.c458 rhashtable_lookup_fast(&sw->router->kern_neigh_cache_ht, key, in prestera_kern_neigh_cache_find()
474 rhashtable_remove_fast(&sw->router->kern_neigh_cache_ht, in __prestera_kern_neigh_cache_destroy()
496 err = rhashtable_insert_fast(&sw->router->kern_neigh_cache_ht, in __prestera_kern_neigh_cache_create()
544 rhashtable_lookup_fast(&sw->router->kern_fib_cache_ht, key, in prestera_kern_fib_cache_find()
571 rhashtable_remove_fast(&sw->router->kern_fib_cache_ht, in prestera_kern_fib_cache_destroy()
634 err = rhashtable_insert_fast(&sw->router->kern_fib_cache_ht, in prestera_kern_fib_cache_create()
1081 rhashtable_walk_enter(&sw->router->kern_neigh_cache_ht, &iter); in prestera_k_arb_hw_evt()
1131 rhashtable_walk_enter(&sw->router->kern_neigh_cache_ht, &iter); in __prestera_k_arb_fib_evt2nc()
1259 rhashtable_free_and_destroy(&sw->router->kern_fib_cache_ht, in prestera_k_arb_abort()
1262 rhashtable_free_and_destroy(&sw->router->kern_neigh_cache_ht, in prestera_k_arb_abort()
[all …]
/linux-6.12.1/net/qrtr/
DKconfig2 # Qualcomm IPC Router configuration
6 tristate "Qualcomm IPC Router support"
8 Say Y if you intend to use Qualcomm IPC router protocol. The
18 tristate "SMD IPC Router channels"
22 most common transport for IPC Router.
25 tristate "TUN device for Qualcomm IPC Router"
32 tristate "MHI IPC Router channels"
/linux-6.12.1/tools/testing/selftests/net/netfilter/
Dconntrack_ipip_mtu.sh11 # |Router A|-------|Wanrouter|-------|Router B|
21 # Router A and Router B use IPIP tunnel interfaces to tunnel traffic
70 # Detailed setup for Router A
78 # 10.4.4.1 via 10.2.2.254 (Router B via Wanrouter)
100 # Detailed setup for Router B
108 # 10.2.2.1 via 10.4.4.254 (Router A via Wanrouter)
169 # Router A has learned PMTU (1400) to Router B from Wanrouter.
171 # from Router A.
181 # UDP packet is sent as two fragments (1380 + 20). Router A forwards the
185 #When sending the large UDP packet again, Router A now reassembles the
[all …]
Dvxlan_mtu_frag.sh18 setup_ns host vtep router
23 ip link add vtep-router netns "$vtep" type veth peer name router-vtep netns "$router"
55 ip -n "$vtep" address add dev vtep-router 60.0.0.1/24
70 ip -n "$vtep" link set vtep-router up
78 ip -n "$router" link set router-vtep up
/linux-6.12.1/arch/mips/sgi-ip27/
Dip27-memory.c60 klrou_t *router; in router_recurse() local
81 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in router_recurse()
82 if (router == router_b) { in router_recurse()
87 router_recurse(router, router_b, depth + 1); in router_recurse()
99 klrou_t *router, *router_a = NULL, *router_b = NULL; in compute_node_distance() local
116 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in compute_node_distance()
117 router->rou_rflag = 0; in compute_node_distance()
120 if (router->rou_port[port].port_nasid == INVALID_NASID) in compute_node_distance()
124 router->rou_port[port].port_nasid, in compute_node_distance()
125 router->rou_port[port].port_offset); in compute_node_distance()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_i2c.c342 /* ddc router switching */
348 if (!amdgpu_connector->router.ddc_valid) in amdgpu_i2c_router_select_ddc_port()
355 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
358 val &= ~amdgpu_connector->router.ddc_mux_control_pin; in amdgpu_i2c_router_select_ddc_port()
360 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
363 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
366 val &= ~amdgpu_connector->router.ddc_mux_control_pin; in amdgpu_i2c_router_select_ddc_port()
367 val |= amdgpu_connector->router.ddc_mux_state; in amdgpu_i2c_router_select_ddc_port()
369 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
373 /* clock/data router switching */
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/dma/
Ddma-router.yaml4 $id: http://devicetree.org/schemas/dma/dma-router.yaml#
7 title: DMA Router Common Properties
23 pattern: "^dma-router(@.*)?$"
30 Array of phandles to the DMA controllers the router can direct
35 Number of incoming request lines the router can handle.
/linux-6.12.1/Documentation/devicetree/bindings/arm/freescale/
Dfsl,vf610-mscm-ir.txt1 Freescale Vybrid Miscellaneous System Control - Interrupt Router
4 block of registers which control the interrupt router. The interrupt router
12 - reg: the register range of the MSCM Interrupt Router
18 assignment of the interrupt router is required.
/linux-6.12.1/drivers/thunderbolt/
Dusb4.c118 * If the connection manager implementation provides USB4 router in __usb4_switch_op()
133 * router operation instead. in __usb4_switch_op()
158 * @sw: Router whose wakes to check
228 * @sw: USB4 router to setup
237 * This does not set the configuration valid bit of the router. To do
276 * Only enable PCIe tunneling if the parent router supports it in usb4_switch_setup()
299 * @sw: USB4 router
301 * Sets configuration valid bit for the router. Must be called before
302 * any tunnels can be set through the router and after
331 * usb4_switch_read_uid() - Read UID from USB4 router
[all …]
Dclx.c178 * tb_switch_clx_is_supported() - Is CLx supported on this type of router
179 * @sw: The router to check CLx support for
200 * tb_switch_clx_init() - Initialize router CL states
201 * @sw: Router
203 * Can be called for any router. Initializes the current CL state by
307 * tb_switch_clx_enable() - Enable CLx on upstream port of specified router
308 * @sw: Router to enable CLx for
387 * tb_switch_clx_disable() - Disable CLx on upstream port of specified router
388 * @sw: Router to disable CLx for
390 * Disables all CL states of the given router. Can be called on any
[all …]
Dtb.h46 * @vops: Router vendor specific NVM operations (optional)
96 * struct tb_switch_tmu - Structure holding router TMU configuration
99 * @mode: TMU mode related to the upstream router. Reflects the HW
100 * setting. Don't care for host router.
101 * @mode_request: TMU mode requested to set. Related to upstream router.
102 * Don't care for host router.
130 * @preferred_link_width: Router preferred link width (only set for Gen 4 links)
157 * @max_usb3_credits: Router preferred number of buffers for USB 3.x
158 * @min_dp_aux_credits: Router preferred minimum number of buffers for DP AUX
159 * @min_dp_main_credits: Router preferred minimum number of buffers for DP MAIN
[all …]
Dtmu.c541 * Router may already been disconnected so ignore errors on the in disable_enhanced()
573 * initiated by upstream router. In case of bi-directional in tb_switch_tmu_disable()
574 * time sync, TMU handshake is initiated by downstream router. in tb_switch_tmu_disable()
575 * We change downstream router's rate to off for both uni/bidir in tb_switch_tmu_disable()
577 * We avoid changing upstream router's mode since it might in tb_switch_tmu_disable()
578 * have another downstream router plugged, that is set to in tb_switch_tmu_disable()
775 /* Router specific parameters first */ in tb_switch_tmu_enable_enhanced()
869 /* Program the upstream router downstream facing lane adapter */ in tb_switch_tmu_change_mode()
899 /* Program the new mode and the downstream router lane adapter */ in tb_switch_tmu_change_mode()
935 * tb_switch_tmu_enable() - Enable TMU on a router
[all …]
/linux-6.12.1/drivers/irqchip/
Dirq-ti-sci-intr.c3 * Texas Instruments' K3 Interrupt Router irqchip driver
22 * Interrupt Router IRQ domain.
27 * @type: Specifies the trigger type supported by this Interrupt Router
75 * @intr: IRQ domain corresponding to Interrupt Router
128 * @domain: Pointer to the interrupt router IRQ domain
161 /* Parent is Interrupt Router */ in ti_sci_intr_alloc_parent_irq()
186 * ti_sci_intr_irq_domain_alloc() - Allocate Interrupt router IRQs
187 * @domain: Point to the interrupt router IRQ domain
284 dev_info(dev, "Interrupt Router %d domain created\n", intr->ti_sci_id); in ti_sci_intr_irq_domain_probe()
305 MODULE_DESCRIPTION("K3 Interrupt Router driver over TI SCI protocol");
/linux-6.12.1/net/batman-adv/
Drouting.c45 * _batadv_update_route() - set the router for this originator
49 * @neigh_node: neighbor which should be the next router
66 /* curr_router used earlier may not be the current orig_ifinfo->router in _batadv_update_route()
78 curr_router = rcu_replace_pointer(orig_ifinfo->router, neigh_node, in _batadv_update_route()
108 * batadv_update_route() - set the router for this originator
112 * @neigh_node: neighbor which should be the next router
119 struct batadv_neigh_node *router = NULL; in batadv_update_route() local
124 router = batadv_orig_router_get(orig_node, recv_if); in batadv_update_route()
126 if (router != neigh_node) in batadv_update_route()
130 batadv_neigh_node_put(router); in batadv_update_route()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/interrupt-controller/
Dti,sci-intr.yaml7 title: Texas Instruments K3 Interrupt Router
16 The Interrupt Router (INTR) module provides a mechanism to mux M
18 to be driven per N output. An Interrupt Router can either handle edge
21 Interrupt Router
40 controller will keep track of the used and unused registers within the Router.
69 The 1st cell should contain interrupt router input hw number.
/linux-6.12.1/net/ipv6/
DKconfig26 bool "IPv6: Router Preference (RFC 4191) support"
28 Router Preference is an optional extension to the Router
30 to pick an appropriate router, especially when the hosts
225 This driver is useful if the other endpoint is a Cisco router: Cisco
274 Normally, a multicast router runs a userspace daemon and decides
276 destination addresses. If you say Y here, the multicast router
/linux-6.12.1/tools/testing/selftests/net/
Dtraceroute.sh186 # Setup N1. host-1 and router-2 connect to a bridge in router-1.
237 cleanup_ns $h1 $h2 $router
246 setup_ns h1 h2 router
249 create_ns $router
252 $router eth1 1.0.3.1/24 -
255 ip netns exec $router ip addr add 1.0.1.1/24 dev eth1
256 ip netns exec $router sysctl -qw \
260 $router eth2 1.0.2.1/24 -
Dsrv6_end_flavors_test.sh110 # Each SRv6 router is configured with a Local SID table in which SIDs are
111 # stored. Considering the given SRv6 router rt-x, at least two SIDs are
114 # Local SID table for SRv6 router rt-x
128 # An SRv6 ingress router applies different SRv6 Policies to the traffic received
152 # Router rt-1 is configured to enforce the Policy (i.a) through the SRv6
157 # As the packet reaches the router rt-3, the SRv6 End behavior bound to SID
160 # next router on the path, i.e. rt-4.
162 # When router rt-4 receives the packet, the PSP enabled SRv6 End behavior bound
166 # fcff:2::ef1 and the packet is forwarded to router rt-2.
184 # Router rt-2 is configured to enforce the Policy (i.b) through the SRv6
[all …]
Dsrv6_end_x_next_csid_l3vpn_test.sh78 # Each SRv6 router is configured with a Local SID/C-SID table in which
79 # SIDs/C-SIDs are stored. Considering an SRv6 router rt-x, SIDs/C-SIDs are
82 # Local SID/C-SID table for SRv6 router rt-x
105 # An SRv6 ingress router applies different SRv6 Policies to the traffic received
146 # The router rt-1 is configured to enforce the given Policy through the SRv6
151 # As the packet reaches the router rt-3, the enabled NEXT-C-SID SRv6 End.X
180 # The node rt-4 performs a plain IPv6 forward to the rt-2 router according to
183 # The router rt-2 is configured for decapsulating the inner IPv6 packet and,
192 # The router rt-1 is configured to enforce the given Policy through the SRv6
198 # As the packet reaches the node rt-3, the router applies the enabled NEXT-C-SID
[all …]
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_i2c.c58 if (radeon_connector->router.ddc_valid) in radeon_ddc_probe()
1095 /* ddc router switching */
1100 if (!radeon_connector->router.ddc_valid) in radeon_router_select_ddc_port()
1107 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1109 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port()
1111 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1114 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1116 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port()
1117 val |= radeon_connector->router.ddc_mux_state; in radeon_router_select_ddc_port()
1119 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
[all …]
/linux-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm4709-buffalo-wxr-1900dhp.dts47 led-router-amber {
48 label = "bcm53xx:amber:router";
52 led-router-white {
53 label = "bcm53xx:white:router";

12345678910>>...14