Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/arch/x86/pci/
Dirq.c47 int (*get)(struct pci_dev *router, struct pci_dev *dev, int pirq);
48 int (*set)(struct pci_dev *router, struct pci_dev *dev, int pirq,
54 int (*probe)(struct irq_router *r, struct pci_dev *router, u16 device);
176 static unsigned int read_config_nybble(struct pci_dev *router, unsigned offset, unsigned nr) in read_config_nybble() argument
181 pci_read_config_byte(router, reg, &x); in read_config_nybble()
185 static void write_config_nybble(struct pci_dev *router, unsigned offset, in write_config_nybble() argument
191 pci_read_config_byte(router, reg, &x); in write_config_nybble()
193 pci_write_config_byte(router, reg, x); in write_config_nybble()
201 static int pirq_ali_get(struct pci_dev *router, struct pci_dev *dev, int pirq) in pirq_ali_get() argument
206 return irqmap[read_config_nybble(router, 0x48, pirq-1)]; in pirq_ali_get()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtraceroute.sh165 for ns in host-1 host-2 router-1 router-2
181 create_ns router-1
182 create_ns router-2
185 connect_ns router-2 eth3 - 2000:103::2/64 host-2 eth3 - 2000:103::4/64
189 connect_ns router-1 eth2 - 2000:102::1/64 router-2 eth2 - 2000:102::2/64
190 ip netns exec router-1 ip route add default via 2000:102::2
193 ip netns exec router-1 ip link add name ${brdev} type bridge
194 ip netns exec router-1 ip link set ${brdev} up
195 ip netns exec router-1 ip addr add 2000:101::1/64 dev ${brdev}
197 connect_ns host-1 eth0 - 2000:101::3/64 router-1 eth0 - -
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c435 lpm_tree = mlxsw_sp->router->lpm.proto_trees[proto]; in mlxsw_sp_fib_create()
475 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_tree_find_unused()
476 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_tree_find_unused()
575 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_tree_get()
576 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_tree_get()
613 mlxsw_sp->router->lpm.tree_count = max_trees - MLXSW_SP_LPM_TREE_MIN; in mlxsw_sp_lpm_init()
614 mlxsw_sp->router->lpm.trees = kcalloc(mlxsw_sp->router->lpm.tree_count, in mlxsw_sp_lpm_init()
617 if (!mlxsw_sp->router->lpm.trees) in mlxsw_sp_lpm_init()
620 for (i = 0; i < mlxsw_sp->router->lpm.tree_count; i++) { in mlxsw_sp_lpm_init()
621 lpm_tree = &mlxsw_sp->router->lpm.trees[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 …]
Dspectrum_router.h124 struct mlxsw_sp_nexthop *mlxsw_sp_nexthop_next(struct mlxsw_sp_router *router,
132 #define mlxsw_sp_nexthop_for_each(nh, router) \ argument
133 for (nh = mlxsw_sp_nexthop_next(router, NULL); nh; \
134 nh = mlxsw_sp_nexthop_next(router, nh))
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
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()
353 val &= ~amdgpu_connector->router.ddc_mux_control_pin; 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()
360 val &= ~amdgpu_connector->router.ddc_mux_control_pin; in amdgpu_i2c_router_select_ddc_port()
361 val |= amdgpu_connector->router.ddc_mux_state; 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()
[all …]
Damdgpu_display.c396 if (amdgpu_connector->router.ddc_valid) in amdgpu_display_print_display_setup()
398 amdgpu_connector->router.ddc_mux_control_pin, in amdgpu_display_print_display_setup()
399 amdgpu_connector->router.ddc_mux_state); in amdgpu_display_print_display_setup()
400 if (amdgpu_connector->router.cd_valid) in amdgpu_display_print_display_setup()
402 amdgpu_connector->router.cd_mux_control_pin, in amdgpu_display_print_display_setup()
403 amdgpu_connector->router.cd_mux_state); in amdgpu_display_print_display_setup()
473 if (amdgpu_connector->router.ddc_valid) in amdgpu_display_ddc_probe()
/kernel/linux/linux-5.10/net/batman-adv/
Dbat_v.c708 struct batadv_neigh_node *router; in batadv_v_gw_throughput_get() local
712 router = batadv_orig_router_get(orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get()
713 if (!router) in batadv_v_gw_throughput_get()
716 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get()
730 if (router) in batadv_v_gw_throughput_get()
731 batadv_neigh_node_put(router); in batadv_v_gw_throughput_get()
839 struct batadv_neigh_node *router; in batadv_v_gw_write_buffer_text() local
843 router = batadv_orig_router_get(gw_node->orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_write_buffer_text()
844 if (!router) in batadv_v_gw_write_buffer_text()
847 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_write_buffer_text()
[all …]
Drouting.c79 curr_router = rcu_replace_pointer(orig_ifinfo->router, neigh_node, in _batadv_update_route()
121 struct batadv_neigh_node *router = NULL; in batadv_update_route() local
126 router = batadv_orig_router_get(orig_node, recv_if); in batadv_update_route()
128 if (router != neigh_node) in batadv_update_route()
132 if (router) in batadv_update_route()
133 batadv_neigh_node_put(router); in batadv_update_route()
547 struct batadv_neigh_node *router, *cand_router = NULL; in batadv_find_router() local
557 router = batadv_orig_router_get(orig_node, recv_if); in batadv_find_router()
559 if (!router) in batadv_find_router()
560 return router; in batadv_find_router()
[all …]
Dbat_iv_ogm.c931 struct batadv_neigh_node *router = NULL; in batadv_iv_ogm_orig_update() local
1015 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_iv_ogm_orig_update()
1016 if (router == neigh_node) in batadv_iv_ogm_orig_update()
1019 if (router) { in batadv_iv_ogm_orig_update()
1020 router_ifinfo = batadv_neigh_ifinfo_get(router, if_outgoing); in batadv_iv_ogm_orig_update()
1036 sum_orig = batadv_iv_orig_ifinfo_sum(router->orig_node, in batadv_iv_ogm_orig_update()
1037 router->if_incoming); in batadv_iv_ogm_orig_update()
1052 if (router) in batadv_iv_ogm_orig_update()
1053 batadv_neigh_node_put(router); in batadv_iv_ogm_orig_update()
1323 struct batadv_neigh_node *router = NULL; in batadv_iv_ogm_process_per_outif() local
[all …]
Dbat_v_ogm.c525 struct batadv_neigh_node *router = NULL; in batadv_v_ogm_forward() local
541 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_v_ogm_forward()
544 if (neigh_node != router) in batadv_v_ogm_forward()
588 if (router) in batadv_v_ogm_forward()
589 batadv_neigh_node_put(router); in batadv_v_ogm_forward()
699 struct batadv_neigh_node *router = NULL; in batadv_v_ogm_route_update() local
719 router = batadv_orig_router_get(orig_node, if_outgoing); in batadv_v_ogm_route_update()
720 if (router && router->orig_node != orig_node && !orig_neigh_router) { in batadv_v_ogm_route_update()
737 if (router == neigh_node) in batadv_v_ogm_route_update()
744 if (router) { in batadv_v_ogm_route_update()
[all …]
Doriginator.c297 struct batadv_neigh_node *router = NULL; in batadv_orig_router_get() local
304 router = rcu_dereference(orig_ifinfo->router); in batadv_orig_router_get()
308 if (router && !kref_get_unless_zero(&router->refcount)) in batadv_orig_router_get()
309 router = NULL; in batadv_orig_router_get()
312 return router; in batadv_orig_router_get()
817 struct batadv_neigh_node *router; in batadv_orig_ifinfo_release() local
825 router = rcu_dereference_protected(orig_ifinfo->router, true); in batadv_orig_ifinfo_release()
826 if (router) in batadv_orig_ifinfo_release()
827 batadv_neigh_node_put(router); in batadv_orig_ifinfo_release()
Dgateway_client.c204 struct batadv_neigh_node *router = NULL; in batadv_gw_election() local
231 router = batadv_orig_router_get(next_gw->orig_node, in batadv_gw_election()
233 if (!router) { in batadv_gw_election()
238 router_ifinfo = batadv_neigh_ifinfo_get(router, in batadv_gw_election()
282 if (router) in batadv_gw_election()
283 batadv_neigh_node_put(router); in batadv_gw_election()
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
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
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dbcm4709-buffalo-wxr-1900dhp.dts47 router-amber {
48 label = "bcm53xx:amber:router";
52 router-white {
53 label = "bcm53xx:white:router";
Dbcm47081-buffalo-wzr-900dhp.dts69 label = "bcm53xx:green:router";
75 label = "bcm53xx:amber:router";
Dbcm47081-buffalo-wzr-600dhp2.dts64 label = "bcm53xx:green:router";
70 label = "bcm53xx:amber:router";
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_i2c.c66 if (radeon_connector->router.ddc_valid) in radeon_ddc_probe()
1109 if (!radeon_connector->router.ddc_valid) in radeon_router_select_ddc_port()
1116 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1118 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port()
1120 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1123 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1125 val &= ~radeon_connector->router.ddc_mux_control_pin; in radeon_router_select_ddc_port()
1126 val |= radeon_connector->router.ddc_mux_state; in radeon_router_select_ddc_port()
1128 radeon_connector->router.i2c_addr, in radeon_router_select_ddc_port()
1137 if (!radeon_connector->router.cd_valid) in radeon_router_select_cd_port()
[all …]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dicmpv6.h27 router:1, member
30 __u32 router:1,
64 #define icmp6_router icmp6_dataun.u_nd_advt.router
/kernel/linux/linux-5.10/include/uapi/linux/
Dicmpv6.h30 router:1, member
33 __u32 router:1,
72 #define icmp6_router icmp6_dataun.u_nd_advt.router
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/freescale/
Dfsl,vf610-mscm-ir.txt4 block of registers which control the interrupt router. The interrupt router
18 assignment of the interrupt router is required.
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dicmpv6.h37 __u32 reserved : 5, override : 1, solicited : 1, router : 1, reserved2 : 24; member
39 __u32 router : 1, solicited : 1, override : 1, reserved : 29;
63 #define icmp6_router icmp6_dataun.u_nd_advt.router
/kernel/linux/linux-5.10/Documentation/networking/
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
/kernel/linux/linux-5.10/Documentation/networking/devlink/
Dmlxsw.rst73 routed from a disabled router interface (RIF). This can happen during
79 routed through a disabled router interface (RIF). This can happen during

12345