Home
last modified time | relevance | path

Searched refs:router (Results 1 – 25 of 125) sorted by relevance

12345

/linux/arch/x86/pci/
A Dirq.c320 pci_read_config_byte(router, reg, &x); in read_config_nybble()
330 pci_read_config_byte(router, reg, &x); in write_config_nybble()
332 pci_write_config_byte(router, reg, x); in write_config_nybble()
437 pci_read_config_byte(router, pirq, &x); in pirq_piix_get()
474 pci_read_config_byte(router, reg, &x); in pirq_ib_get()
655 pci_read_config_byte(router, reg, &x); in pirq_sis_get()
667 pci_read_config_byte(router, reg, &x); in pirq_sis_set()
670 pci_write_config_byte(router, reg, x); in pirq_sis_set()
878 struct pci_dev *router, u16 device) in via_router_probe() argument
886 switch (router->device) { in via_router_probe()
[all …]
/linux/tools/testing/selftests/net/
A Dtraceroute.sh165 for ns in host-1 host-2 router-1 router-2
181 create_ns router-1
182 create_ns router-2
189 connect_ns router-1 eth2 - 2000:102::1/64 router-2 eth2 - 2000:102::2/64
194 ip netns exec router-1 ip link set ${brdev} up
201 connect_ns router-2 eth1 - 2000:101::2/64 router-1 eth1 - -
245 for ns in host-1 host-2 router
259 create_ns router
262 router eth1 1.0.3.1/24 -
266 ip netns exec router sysctl -qw \
[all …]
A Dunicast_extensions.sh102 ip -n router-ns address add $2/$5 dev foo1 || return 1
103 ip -n router-ns link set foo1 up || return 1
104 ip -n router-ns address add $3/$5 dev bar1 || return 1
105 ip -n router-ns link set bar1 up || return 1
107 echo 1 | ip netns exec router-ns tee /proc/sys/net/ipv4/ip_forward
152 ip netns add router-ns
153 ip link add foo netns foo-ns type veth peer name foo1 netns router-ns
154 ip link add bar netns bar-ns type veth peer name bar1 netns router-ns
161 ip netns pids router-ns | xargs -r kill -9
164 ip netns del router-ns
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_router.c1453 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_netdev_ipip_type() local
2026 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_router_nve_promote_decap() local
2074 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_router_nve_demote_decap() local
2101 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_router_nve_is_decap() local
4952 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_nexthop_obj_group_info_fini() local
6081 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_fib4_entry_type_set() local
8321 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_rif_mac_profile_index_alloc() local
8367 struct mlxsw_sp_router *router = mlxsw_sp->router; in mlxsw_sp_rif_mac_profile_find() local
10281 router = kzalloc(sizeof(*mlxsw_sp->router), GFP_KERNEL); in mlxsw_sp_router_init()
10282 if (!router) in mlxsw_sp_router_init()
[all …]
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()
666 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_counters_update()
705 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_host_size_get()
1097 mutex_lock(&mlxsw_sp->router->lock); in mlxsw_sp_dpipe_table_adj_entries_get()
[all …]
A Dspectrum_router_xm.c309 struct mlxsw_sp_router_xm *router_xm = mlxsw_sp->router->xm; in mlxsw_sp_router_xm_cache_flush_node_create()
351 struct mlxsw_sp_router_xm *router_xm = mlxsw_sp->router->xm; in mlxsw_sp_router_xm_cache_flush_node_destroy()
406 mlxsw_sp->router->xm->flush_all_mode = false; in mlxsw_sp_router_xm_cache_flush_work()
467 struct mlxsw_sp_router_xm *router_xm = mlxsw_sp->router->xm; in mlxsw_sp_router_xm_cache_flush_schedule()
516 struct mlxsw_sp_router_xm *router_xm = mlxsw_sp->router->xm; in mlxsw_sp_router_xm_ml_entry_add()
557 struct mlxsw_sp_router_xm *router_xm = mlxsw_sp->router->xm; in mlxsw_sp_router_xm_ml_entry_del()
781 mlxsw_sp->router->xm = router_xm; in mlxsw_sp_router_xm_init()
797 struct mlxsw_sp_router_xm *router_xm = mlxsw_sp->router->xm; in mlxsw_sp_router_xm_fini()
809 struct mlxsw_sp_router_xm *router_xm = mlxsw_sp->router->xm; in mlxsw_sp_router_xm_ipv4_is_supported()
A Dspectrum_router.h203 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router,
211 #define mlxsw_sp_nexthop_for_each(nh, router) \ argument
212 for (nh = mlxsw_sp_nexthop_next(router, NULL); nh; \
213 nh = mlxsw_sp_nexthop_next(router, nh))
/linux/arch/mips/sgi-ip27/
A Dip27-memory.c60 klrou_t *router; in router_recurse() local
82 if (router == router_b) { in router_recurse()
87 router_recurse(router, router_b, depth + 1); in router_recurse()
117 router->rou_rflag = 0; 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()
129 router_a = router; in compute_node_distance()
131 router_b = router; in compute_node_distance()
181 klrou_t *router; in dump_topology() local
217 router->rou_port[port].port_nasid, in dump_topology()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_i2c.c344 if (!amdgpu_connector->router.ddc_valid) in amdgpu_i2c_router_select_ddc_port()
351 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
355 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_ddc_port()
358 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()
373 if (!amdgpu_connector->router.cd_valid) in amdgpu_i2c_router_select_cd_port()
380 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port()
384 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port()
387 amdgpu_connector->router.i2c_addr, in amdgpu_i2c_router_select_cd_port()
390 val |= amdgpu_connector->router.cd_mux_state; in amdgpu_i2c_router_select_cd_port()
[all …]
A Damdgpu_atombios.c307 struct amdgpu_router router; in amdgpu_atombios_get_connector_info_from_object_table() local
365 router.ddc_valid = false; in amdgpu_atombios_get_connector_info_from_object_table()
366 router.cd_valid = false; in amdgpu_atombios_get_connector_info_from_object_table()
421 router.router_id = router_obj_id; in amdgpu_atombios_get_connector_info_from_object_table()
439 router.i2c_info = in amdgpu_atombios_get_connector_info_from_object_table()
443 router.i2c_addr = i2c_record->ucI2CAddr >> 1; in amdgpu_atombios_get_connector_info_from_object_table()
448 router.ddc_valid = true; in amdgpu_atombios_get_connector_info_from_object_table()
449 router.ddc_mux_type = ddc_path->ucMuxType; in amdgpu_atombios_get_connector_info_from_object_table()
456 router.cd_valid = true; in amdgpu_atombios_get_connector_info_from_object_table()
457 router.cd_mux_type = cd_path->ucMuxType; in amdgpu_atombios_get_connector_info_from_object_table()
[all …]
/linux/Documentation/devicetree/bindings/dma/
A Ddma-router.yaml4 $id: http://devicetree.org/schemas/dma/dma-router.yaml#
23 pattern: "^dma-router(@.*)?$"
28 Array of phandles to the DMA controllers the router can direct
33 Number of incoming request lines the router can handle.
43 sdma_xbar: dma-router@4a002b78 {
A Dst,stm32-dmamux.yaml7 title: STMicroelectronics STM32 DMA MUX (DMA request router) bindings
13 - $ref: "dma-router.yaml#"
43 dma-router@40020800 {
/linux/net/batman-adv/
A Drouting.c126 if (router != neigh_node) in batadv_update_route()
130 batadv_neigh_node_put(router); in batadv_update_route()
541 if (!router) in batadv_find_router()
542 return router; in batadv_find_router()
548 return router; in batadv_find_router()
581 cand->if_outgoing, router, in batadv_find_router()
625 batadv_neigh_node_put(router); in batadv_find_router()
628 router = next_candidate_router; in batadv_find_router()
631 batadv_neigh_node_put(router); in batadv_find_router()
634 router = first_candidate_router; in batadv_find_router()
[all …]
A Dbat_v.c547 struct batadv_neigh_node *router; in batadv_v_gw_throughput_get() local
551 router = batadv_orig_router_get(orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get()
552 if (!router) in batadv_v_gw_throughput_get()
555 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get()
569 batadv_neigh_node_put(router); in batadv_v_gw_throughput_get()
682 struct batadv_neigh_node *router; in batadv_v_gw_dump_entry() local
688 if (!router) in batadv_v_gw_dump_entry()
728 if (nla_put(msg, BATADV_ATTR_ROUTER, ETH_ALEN, router->addr)) { in batadv_v_gw_dump_entry()
734 router->if_incoming->net_dev->name)) { in batadv_v_gw_dump_entry()
740 router->if_incoming->net_dev->ifindex)) { in batadv_v_gw_dump_entry()
[all …]
A Dbat_iv_ogm.c1013 if (router == neigh_node) in batadv_iv_ogm_orig_update()
1016 if (router) { in batadv_iv_ogm_orig_update()
1034 router->if_incoming); in batadv_iv_ogm_orig_update()
1048 batadv_neigh_node_put(router); in batadv_iv_ogm_orig_update()
1367 if (router) { in batadv_iv_ogm_process_per_outif()
1379 if (router && router_router && in batadv_iv_ogm_process_per_outif()
1493 batadv_neigh_node_put(router); in batadv_iv_ogm_process_per_outif()
2264 if (!router) in batadv_iv_gw_get_best_gw_node()
2412 if (!router) in batadv_iv_gw_dump_entry()
2443 router->addr) || in batadv_iv_gw_dump_entry()
[all …]
A Dbat_v_ogm.c526 struct batadv_neigh_node *router = NULL; in batadv_v_ogm_forward() local
542 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_v_ogm_forward()
545 if (neigh_node != router) in batadv_v_ogm_forward()
588 batadv_neigh_node_put(router); in batadv_v_ogm_forward()
695 struct batadv_neigh_node *router = NULL; in batadv_v_ogm_route_update() local
715 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_v_ogm_route_update()
716 if (router && router->orig_node != orig_node && !orig_neigh_router) { in batadv_v_ogm_route_update()
733 if (router == neigh_node) in batadv_v_ogm_route_update()
740 if (router) { in batadv_v_ogm_route_update()
741 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_v_ogm_route_update()
[all …]
A Doriginator.c296 struct batadv_neigh_node *router = NULL; in batadv_orig_router_get() local
303 router = rcu_dereference(orig_ifinfo->router); in batadv_orig_router_get()
307 if (router && !kref_get_unless_zero(&router->refcount)) in batadv_orig_router_get()
308 router = NULL; in batadv_orig_router_get()
311 return router; in batadv_orig_router_get()
775 struct batadv_neigh_node *router; in batadv_orig_ifinfo_release() local
783 router = rcu_dereference_protected(orig_ifinfo->router, true); in batadv_orig_ifinfo_release()
784 batadv_neigh_node_put(router); in batadv_orig_ifinfo_release()
A Dgateway_client.c201 struct batadv_neigh_node *router = NULL; in batadv_gw_election() local
228 router = batadv_orig_router_get(next_gw->orig_node, in batadv_gw_election()
230 if (!router) { in batadv_gw_election()
235 router_ifinfo = batadv_neigh_ifinfo_get(router, in batadv_gw_election()
277 batadv_neigh_node_put(router); in batadv_gw_election()
/linux/drivers/gpu/drm/radeon/
A Dradeon_i2c.c58 if (radeon_connector->router.ddc_valid) in radeon_ddc_probe()
1101 if (!radeon_connector->router.ddc_valid) in radeon_router_select_ddc_port()
1108 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1112 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1115 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1120 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1129 if (!radeon_connector->router.cd_valid) in radeon_router_select_cd_port()
1136 radeon_connector->router.i2c_addr, in radeon_router_select_cd_port()
1140 radeon_connector->router.i2c_addr, in radeon_router_select_cd_port()
1143 radeon_connector->router.i2c_addr, in radeon_router_select_cd_port()
[all …]
/linux/tools/testing/selftests/net/forwarding/
A Dip6_forward_instats_vrf.sh31 vrf_create router
32 __simple_if_init $rtr1 router 2001:1:1::1/64
33 __simple_if_init $rtr2 router 2001:1:2::1/64
42 vrf_destroy router
/linux/arch/arm/boot/dts/
A Dbcm4709-buffalo-wxr-1900dhp.dts47 router-amber {
48 label = "bcm53xx:amber:router";
52 router-white {
53 label = "bcm53xx:white:router";
A Dbcm47081-buffalo-wzr-900dhp.dts69 label = "bcm53xx:green:router";
75 label = "bcm53xx:amber:router";
/linux/include/uapi/linux/
A Dicmpv6.h30 router:1, member
33 __u32 router:1,
72 #define icmp6_router icmp6_dataun.u_nd_advt.router
/linux/Documentation/devicetree/bindings/arm/freescale/
A Dfsl,vf610-mscm-ir.txt4 block of registers which control the interrupt router. The interrupt router
18 assignment of the interrupt router is required.
/linux/Documentation/networking/
A Dila.rst64 - ILA router
69 A type of ILA router that only maintains a working set
74 can be an ILA router, ILA forwarding cache, or ILA host.
102 addressed +->|router| . . |router|->-+ addressed
241 An ILA router has also been implemented in XDP. Description of that is
249 ILA router) or an ILA address (egress ILA router). LOC is the sixty-four

Completed in 81 milliseconds

12345