/linux/arch/x86/pci/ |
H A D | irq.c | 53 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/mellanox/mlxsw/ |
H A D | spectrum_router.c | 520 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 …]
|
H A D | spectrum_dpipe.c | 214 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 D | spectrum_router.h | 61 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/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router_hw.c | 61 /* 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 D | prestera_router.c | 458 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/tools/testing/selftests/net/netfilter/ |
H A D | conntrack_ipip_mtu.sh | 11 # |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 D | vxlan_mtu_frag.sh | 18 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/net/qrtr/ |
H A D | Kconfig | 2 # 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/Documentation/devicetree/bindings/dma/ |
H A D | dma-router.yaml | 4 $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 D | nxp,lpc3220-dmamux.yaml | 7 title: DMA multiplexer for LPC32XX SoC (DMA request router) 14 - $ref: dma-router.yaml# 42 dma-router@7c {
|
/linux/drivers/irqchip/ |
H A D | irq-ti-sci-intr.c | 3 * 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/net/batman-adv/ |
H A D | routing.c | 44 * _batadv_update_route() - set the router for this originator 48 * @neigh_node: neighbor which should be the next router 65 /* curr_router used earlier may not be the current orig_ifinfo->router in _batadv_update_route() 77 curr_router = rcu_replace_pointer(orig_ifinfo->router, neigh_node, in _batadv_update_route() 107 * batadv_update_route() - set the router for this originator 111 * @neigh_node: neighbor which should be the next router 118 struct batadv_neigh_node *router = NULL; in batadv_update_route() 123 router = batadv_orig_router_get(orig_node, recv_if); in batadv_update_route() 125 if (router != neigh_node) in batadv_update_route() 129 batadv_neigh_node_put(router); in batadv_update_route() 119 struct batadv_neigh_node *router = NULL; batadv_update_route() local 529 struct batadv_neigh_node *router, *cand_router = NULL; batadv_find_router() local [all...] |
H A D | bat_v.c | 524 struct batadv_neigh_node *router; in batadv_v_gw_throughput_get() local 528 router = batadv_orig_router_get(orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get() 529 if (!router) in batadv_v_gw_throughput_get() 532 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_throughput_get() 546 batadv_neigh_node_put(router); in batadv_v_gw_throughput_get() 659 struct batadv_neigh_node *router; in batadv_v_gw_dump_entry() local 664 router = batadv_orig_router_get(gw_node->orig_node, BATADV_IF_DEFAULT); in batadv_v_gw_dump_entry() 665 if (!router) in batadv_v_gw_dump_entry() 668 router_ifinfo = batadv_neigh_ifinfo_get(router, BATADV_IF_DEFAULT); in batadv_v_gw_dump_entry() 705 if (nla_put(msg, BATADV_ATTR_ROUTER, ETH_ALEN, router->addr)) { in batadv_v_gw_dump_entry() [all …]
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | ti,sci-intr.yaml | 7 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.
|
H A D | fsl,vf610-mscm-ir.yaml | 7 title: Freescale Vybrid Miscellaneous System Control - Interrupt Router 11 block of registers which control the interrupt router. The interrupt router 41 assignment of the interrupt router is required.
|
/linux/net/ipv6/ |
H A D | Kconfig | 26 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/tools/testing/selftests/net/ |
H A D | traceroute.sh | 164 # Setup N1. host-1 and router-2 connect to a bridge in router-1. 266 # Setup N1. host-1 and router-2 connect to a bridge in router-1. 318 cleanup_ns $h1 $h2 $router 327 setup_ns h1 h2 router 330 create_ns $router 333 $router eth1 1.0.3.1/24 - 337 ip netns exec $router ip addr add 1.0.1.1/24 dev eth1 338 ip netns exec $router sysct [all...] |
H A D | srv6_end_x_next_csid_l3vpn_test.sh | 75 # 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 D | srv6_end_flavors_test.sh | 110 # 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 D | ndisc_unsolicited_na_test.sh | 20 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 D | srv6_end_dt4_l3vpn_test.sh | 31 # 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...] |
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_i2c.c | 58 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/arch/arm/boot/dts/broadcom/ |
H A D | bcm4709-buffalo-wxr-1900dhp.dts | 47 led-router-amber { 48 label = "bcm53xx:amber:router"; 52 led-router-white { 53 label = "bcm53xx:white:router";
|
/linux/drivers/dma/ |
H A D | of-dma.c | 47 * 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
|