Home
last modified time | relevance | path

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

123456789

/linux/arch/x86/pci/
H A 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/drivers/net/ethernet/marvell/prestera/
H A 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 …]
H A 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/net/qrtr/
H A 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/tools/testing/selftests/net/netfilter/
H A 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 …]
H A 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/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_i2c.c323 /* ddc router switching */
329 if (!amdgpu_connector->router.ddc_valid) in amdgpu_i2c_router_select_ddc_port()
336 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
339 val &= ~amdgpu_connector->router.ddc_mux_control_pin; in amdgpu_i2c_router_select_ddc_port()
341 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
344 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
347 val &= ~amdgpu_connector->router.ddc_mux_control_pin; in amdgpu_i2c_router_select_ddc_port()
348 val |= amdgpu_connector->router.ddc_mux_state; in amdgpu_i2c_router_select_ddc_port()
350 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
354 /* clock/data router switching */
[all …]
/linux/Documentation/devicetree/bindings/dma/
H A 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.
H A Dnxp,lpc3220-dmamux.yaml7 title: DMA multiplexer for LPC32XX SoC (DMA request router)
14 - $ref: dma-router.yaml#
42 dma-router@7c {
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A 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 …]
H A Dspectrum_router.h61 struct mutex lock; /* Protects shared router resources */
142 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router,
150 #define mlxsw_sp_nexthop_for_each(nh, router) \ argument
151 for (nh = mlxsw_sp_nexthop_next(router, NULL); nh; \
152 nh = mlxsw_sp_nexthop_next(router, nh))
/linux/net/ipv6/
H A DKconfig22 bool "IPv6: Router Preference (RFC 4191) support"
24 Router Preference is an optional extension to the Router
26 to pick an appropriate router, especially when the hosts
221 This driver is useful if the other endpoint is a Cisco router: Cisco
270 Normally, a multicast router runs a userspace daemon and decides
272 destination addresses. If you say Y here, the multicast router
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm4709-buffalo-wxr-1900dhp.dts47 led-router-amber {
48 label = "bcm53xx:amber:router";
52 led-router-white {
53 label = "bcm53xx:white:router";
/linux/tools/testing/selftests/net/
H A Dtraceroute.sh195 # Setup N1. host-1 and router-2 connect to a bridge in router-1.
297 # Setup N1. host-1 and router-2 connect to a bridge in router-1.
487 cleanup_ns $h1 $h2 $router
496 setup_ns h1 h2 router
499 create_ns $router
502 $router eth1 1.0.3.1/24 -
506 ip netns exec $router ip addr add 1.0.1.1/24 dev eth1
507 ip netns exec $router sysct
[all...]
H A Dndisc_unsolicited_na_test.sh20 ROUTER_INTF="veth-router"
69 # On end of the tunnel is a router and the other end is a host.
79 # Enable IPv6 on both router and host, and configure static addresses.
80 # The router here is the DUT
81 # Setup router configuration as specified by the arguments.
82 # forwarding=0 case is to check that a non-router
H A Dsrv6_end_x_next_csid_l3vpn_test.sh75 # In addition, every router interface connecting rt-x to rt-y is assigned an
81 # Each SRv6 router is configured with a Local SID/C-SID table in which
82 # SIDs/C-SIDs are stored. Considering an SRv6 router rt-x, SIDs/C-SIDs are
85 # Local SID/C-SID table for SRv6 router rt-x
108 # An SRv6 ingress router applies different SRv6 Policies to the traffic received
149 # The router rt-1 is configured to enforce the given Policy through the SRv6
154 # As the packet reaches the router rt-3, the enabled NEXT-C-SID SRv6 End.X
183 # The node rt-4 performs a plain IPv6 forward to the rt-2 router according to
186 # The router rt-2 is configured for decapsulating the inner IPv6 packet and,
195 # The router rt-1 is configured to enforce the given Policy through the SRv6
[all …]
H A 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 r
[all...]
H A Dsrv6_end_dt4_l3vpn_test.sh31 # the router rt-1 which acts as an arp proxy.
34 # router rt-1 receives the packet on the internal veth-t100 interface. Such
38 # network up to the router rt-2 that receives it on veth0 interface.
40 # The rt-2 router uses the 'localsid' routing table to process incoming
259 # configure the VRF for the tenant X on the router which is directly
264 # enslave the veth-tX interface to the vrf-X in the access router
287 # host hssrc and destined to the access router rtsrc.
294 # the rtdst router and destined to the hsdst host.
314 # setup the networking for router rt-1 and router r
[all...]
H A Dsrv6_end_dt6_l3vpn_test.sh32 # the router rt-1 which acts as a ndp proxy.
35 # router rt-1 receives the packet on the internal veth-t100 interface. Such
39 # network up to the router rt-2 that receives it on veth0 interface.
41 # The rt-2 router uses the 'localsid' routing table to process incoming
263 # configure the VRF for the tenant X on the router which is directly
271 # enslave the veth-tX interface to the vrf-X in the access router
297 # host hssrc and destined to the access router rtsrc.
304 # the rtdst router and destined to the hsdst host.
324 # setup the networking for router rt-1 and router rt-2
330 # - host hs-1 is directly connected to the router rt-1;
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_i2c.c58 if (radeon_connector->router.ddc_valid) in radeon_ddc_probe()
1084 /* ddc router switching */
1089 if (!radeon_connector->router.ddc_valid) in radeon_router_select_ddc_port()
1096 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1098 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port()
1100 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1103 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1105 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port()
1106 val |= radeon_connector->router.ddc_mux_state; in radeon_router_select_ddc_port()
1108 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
[all …]
/linux/drivers/thunderbolt/
H A Dtmu.c545 * Router may already been disconnected so ignore errors on the in disable_enhanced()
579 * initiated by upstream router. In case of bi-directional in tb_switch_tmu_disable()
580 * time sync, TMU handshake is initiated by downstream router. in tb_switch_tmu_disable()
581 * We change downstream router's rate to off for both uni/bidir in tb_switch_tmu_disable()
583 * We avoid changing upstream router's mode since it might in tb_switch_tmu_disable()
584 * have another downstream router plugged, that is set to in tb_switch_tmu_disable()
781 /* Router specific parameters first */ in tb_switch_tmu_enable_enhanced()
875 /* Program the upstream router downstream facing lane adapter */ in tb_switch_tmu_change_mode()
905 /* Program the new mode and the downstream router lane adapter */ in tb_switch_tmu_change_mode()
941 * tb_switch_tmu_enable() - Enable TMU on a router
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A Dip6_forward_instats_vrf.sh33 vrf_create router
34 __simple_if_init $rtr1 router 2001:1:1::1/64
35 __simple_if_init $rtr2 router 2001:1:2::1/64
44 vrf_destroy router
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-i2c-devices-turris-omnia-mcu29 Description: (RW) The front button on the Turris Omnia router can be
46 Turris Omnia router support powering off the router into true
47 low power mode. The router can be powered on by pressing the
/linux/drivers/dma/
H A Dof-dma.c47 * of_dma_router_xlate - translation function for router devices
49 * @ofdma: pointer to DMA controller data (router information)
51 * The function creates new dma_spec to be passed to the router driver's
84 chan->router = ofdma->dma_router; in of_dma_router_xlate()
171 * of_dma_router_register - Register a DMA router to DT DMA helpers as a
173 * @np: device node of DMA router
174 * @of_dma_route_allocate: setup function for the router which need to
/linux/drivers/irqchip/
H A Dirq-vf610-mscm-ir.c6 * IRQ chip driver for MSCM interrupt router available on Vybrid SoC's.
7 * The interrupt router is between the CPU's interrupt controller and the
8 * peripheral. The router allows to route the peripheral interrupts to
10 * Cortex-M4). The router will be configured transparently on a IRQ
18 * o It is required to setup the interrupt router even on single-core

123456789