| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/ |
| D | stmmac.txt | 4 - compatible: Should be "snps,dwmac-<ip_version>", "snps,dwmac" or 5 "snps,dwxgmac-<ip_version>", "snps,dwxgmac". 6 For backwards compatibility: "st,spear600-gmac" is also supported. 7 - reg: Address and length of the register set for the device 8 - interrupts: Should contain the STMMAC interrupts 9 - interrupt-names: Should contain a list of interrupt names corresponding to 12 - "macirq" (combined signal for various interrupt events) 13 - "eth_wake_irq" (the interrupt to manage the remote wake-up packet detection) 14 - "eth_lpi" (the interrupt that occurs when Rx exits the LPI state) 15 - phy-mode: See ethernet.txt file in the same directory. [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
| D | devlink_trap_control.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Test devlink-trap control trap functionality over mlxsw. Each registered 8 # +---------------------------------+ 16 # +----|----------------------------+ 18 # +----|----------------------------------------------------------------------+ 28 # +----|----------------------------------------------------------------------+ 30 # +----|----------------------------+ 38 # +---------------------------------+ 95 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2 96 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2 [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | snps,dwmac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Torgue <alexandre.torgue@st.com> 11 - Giuseppe Cavallaro <peppe.cavallaro@st.com> 12 - Jose Abreu <joabreu@synopsys.com> 23 - snps,dwmac 24 - snps,dwmac-3.50a 25 - snps,dwmac-3.610 26 - snps,dwmac-3.70a [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/devlink/ |
| D | devlink-trap.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 For example, a device acting as a multicast-aware bridge must be able to send 21 kernel so that it will route it as well and generate an ICMP Time Exceeded 22 error datagram. Without letting the kernel route such packets itself, utilities 31 The ``devlink-trap`` mechanism allows capable device drivers to register their 35 Upon receiving trapped packets, ``devlink`` will perform a per-trap packets and 38 port). This is especially useful for drop traps (see :ref:`Trap-Types`) 42 The following diagram provides a general overview of ``devlink-trap``:: 49 +---------------------------------------------------+ 52 +-------+--------+ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
| D | stmmac_platform.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 Copyright (C) 2007-2011 STMicroelectronics Ltd 25 * dwmac1000_validate_mcast_bins - validates the number of Multicast filter bins 56 * dwmac1000_validate_ucast_entries - validate the Unicast address entries 87 * stmmac_axi_setup - parse DT parameters for programming the AXI register 90 * if required, from device-tree the AXI internal register can be tuned 98 np = of_parse_phandle(pdev->dev.of_node, "snps,axi-config", 0); in stmmac_axi_setup() 102 axi = devm_kzalloc(&pdev->dev, sizeof(*axi), GFP_KERNEL); in stmmac_axi_setup() 105 return ERR_PTR(-ENOMEM); in stmmac_axi_setup() 108 axi->axi_lpi_en = of_property_read_bool(np, "snps,lpi_en"); in stmmac_axi_setup() [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/stmicro/stmmac/ |
| D | stmmac_platform.c | 4 Copyright (C) 2007-2011 STMicroelectronics Ltd 35 * dwmac1000_validate_mcast_bins - validates the number of Multicast filter bins 65 * dwmac1000_validate_ucast_entries - validate the Unicast address entries 94 * stmmac_axi_setup - parse DT parameters for programming the AXI register 97 * if required, from device-tree the AXI internal register can be tuned 105 np = of_parse_phandle(pdev->dev.of_node, "snps,axi-config", 0); in stmmac_axi_setup() 109 axi = devm_kzalloc(&pdev->dev, sizeof(*axi), GFP_KERNEL); in stmmac_axi_setup() 112 return ERR_PTR(-ENOMEM); in stmmac_axi_setup() 115 axi->axi_lpi_en = of_property_read_bool(np, "snps,lpi_en"); in stmmac_axi_setup() 116 axi->axi_xit_frm = of_property_read_bool(np, "snps,xit_frm"); in stmmac_axi_setup() [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/stmicro/ |
| D | stmmac.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 13 - In This Release 14 - Feature List 15 - Kernel Configuration 16 - Command Line Parameters 17 - Driver Information and Notes 18 - Debug Information 19 - Support 33 (and older) and DesignWare(R) Cores Ethernet Quality-of-Service version 4.0 35 DesignWare(R) Cores XGMAC - 10G Ethernet MAC and DesignWare(R) Cores [all …]
|
| /kernel/linux/linux-5.10/net/appletalk/ |
| D | ddp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 29 * Bradford Johnson : IP-over-DDP (experimental) 30 * Jay Schulist : Moved IP-over-DDP to its own 59 #include <net/route.h> 97 if (to->sat_port != at->src_port) in atalk_search_socket() 100 if (to->sat_addr.s_net == ATADDR_ANYNET && in atalk_search_socket() 101 to->sat_addr.s_node == ATADDR_BCAST) in atalk_search_socket() 104 if (to->sat_addr.s_net == at->src_net && in atalk_search_socket() 105 (to->sat_addr.s_node == at->src_node || in atalk_search_socket() 106 to->sat_addr.s_node == ATADDR_BCAST || in atalk_search_socket() [all …]
|
| /kernel/linux/linux-4.19/net/appletalk/ |
| D | ddp.c | 28 * Bradford Johnson : IP-over-DDP (experimental) 29 * Jay Schulist : Moved IP-over-DDP to its own 64 #include <net/route.h> 101 if (to->sat_port != at->src_port) in atalk_search_socket() 104 if (to->sat_addr.s_net == ATADDR_ANYNET && in atalk_search_socket() 105 to->sat_addr.s_node == ATADDR_BCAST) in atalk_search_socket() 108 if (to->sat_addr.s_net == at->src_net && in atalk_search_socket() 109 (to->sat_addr.s_node == at->src_node || in atalk_search_socket() 110 to->sat_addr.s_node == ATADDR_BCAST || in atalk_search_socket() 111 to->sat_addr.s_node == ATADDR_ANYNODE)) in atalk_search_socket() [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/intel/ |
| D | i40e.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 1999-2018 Intel Corporation. 13 - Overview 14 - Identifying Your Adapter 15 - Intel(R) Ethernet Flow Director 16 - Additional Configurations 17 - Known Issues 18 - Support 47 ---------------------- 49 …intel.com/content/dam/www/public/us/en/documents/release-notes/xl710-ethernet-controller-feature-m… [all …]
|
| /kernel/linux/linux-4.19/net/ipv6/ |
| D | route.c | 3 * FIB front-end. 18 * - respect outgoing interface 19 * - select from (probably) reachable routers (i.e. 21 * - always select the same router if it is (probably) 22 * reachable. otherwise, round-robin the list. 37 #include <linux/route.h> 81 RT6_NUD_FAIL_HARD = -3, 82 RT6_NUD_FAIL_PROBE = -2, 83 RT6_NUD_FAIL_DO_RR = -1, 140 rt->rt6i_uncached_list = ul; in rt6_uncached_list_add() [all …]
|
| D | addrconf.c | 57 #include <linux/route.h> 104 return (cstamp - INITIAL_JIFFIES) * 100UL / HZ; in cstamp_delta() 306 if (del_timer(&idev->rs_timer)) in addrconf_del_rs_timer() 312 if (cancel_delayed_work(&ifp->dad_work)) in addrconf_del_dad_work() 319 if (!timer_pending(&idev->rs_timer)) in addrconf_mod_rs_timer() 321 mod_timer(&idev->rs_timer, jiffies + when); in addrconf_mod_rs_timer() 328 if (mod_delayed_work(addrconf_wq, &ifp->dad_work, delay)) in addrconf_mod_dad_work() 336 idev->stats.ipv6 = alloc_percpu(struct ipstats_mib); in snmp6_alloc_dev() 337 if (!idev->stats.ipv6) in snmp6_alloc_dev() 342 addrconf_stats = per_cpu_ptr(idev->stats.ipv6, i); in snmp6_alloc_dev() [all …]
|
| /kernel/linux/linux-5.10/net/ipv6/ |
| D | route.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * FIB front-end. 14 * - respect outgoing interface 15 * - select from (probably) reachable routers (i.e. 17 * - always select the same router if it is (probably) 18 * reachable. otherwise, round-robin the list. 33 #include <linux/route.h> 79 RT6_NUD_FAIL_HARD = -3, 80 RT6_NUD_FAIL_PROBE = -2, 81 RT6_NUD_FAIL_DO_RR = -1, [all …]
|
| D | addrconf.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 53 #include <linux/route.h> 100 return (cstamp - INITIAL_JIFFIES) * 100UL / HZ; in cstamp_delta() 304 if (del_timer(&idev->rs_timer)) in addrconf_del_rs_timer() 310 if (cancel_delayed_work(&ifp->dad_work)) in addrconf_del_dad_work() 317 if (!timer_pending(&idev->rs_timer)) in addrconf_mod_rs_timer() 319 mod_timer(&idev->rs_timer, jiffies + when); in addrconf_mod_rs_timer() 326 if (mod_delayed_work(addrconf_wq, &ifp->dad_work, delay)) in addrconf_mod_dad_work() 334 idev->stats.ipv6 = alloc_percpu(struct ipstats_mib); in snmp6_alloc_dev() 335 if (!idev->stats.ipv6) in snmp6_alloc_dev() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
| D | sja1105_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2018, Sensor-Technik Wiedemann GmbH 3 * Copyright (c) 2018-2019, Vladimir Oltean <olteanv@gmail.com> 28 #define SJA1105_DEFAULT_VLAN (VLAN_N_VID - 1) 70 * Every queue i holds top[i] - base[i] frames. in sja1105_init_mac_settings() 71 * Sum of top[i] - base[i] is 511 (max hardware limit). in sja1105_init_mac_settings() 82 /* No static correction for 1-step 1588 events */ in sja1105_init_mac_settings() 94 /* Don't drop double-tagged traffic */ in sja1105_init_mac_settings() 100 /* Disable learning and I/O on user ports by default - in sja1105_init_mac_settings() 111 table = &priv->static_config.tables[BLK_IDX_MAC_CONFIG]; in sja1105_init_mac_settings() [all …]
|
| D | sja1105_dynamic_config.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2018-2019, Vladimir Oltean <olteanv@gmail.com> 6 /* In the dynamic configuration interface, the switch exposes a register-like 13 * This file creates a per-switch-family abstraction called 15 * - sja1105_dynamic_config_write 16 * - sja1105_dynamic_config_read 25 * +-----------------------------------------+------------------+ 27 * +-----------------------------------------+------------------+ 29 * <----------------------- packed_size ------------------------> 33 * function is reused (bar exceptional cases - see [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/sfc/ |
| D | mcdi_pcol.h | 3 * Copyright 2009-2013 Solarflare Communications Inc. 15 /* Power-on reset state */ 37 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 40 /* The rest of these are firmware-defined */ 48 /* Values to be written to the per-port status dword in shared 73 * | | \--- Response 74 * | \------- Error 75 * \------------------------------ Resync (always set) 128 * - To advance a shared memory request if XFLAGS_EVREQ was set 129 * - As a notification (link state, i2c event), controlled [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
| D | reg.h | 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 2 /* Copyright (c) 2015-2018 Mellanox Technologies. All rights reserved */ 29 #define MLXSW_REG_LEN(type) MLXSW_REG(type)->len 30 #define MLXSW_REG_ZERO(type, payload) memset(payload, 0, MLXSW_REG(type)->len) 32 /* SGCR - Switch General Configuration Register 33 * -------------------------------------------- 55 /* SPAD - Switch Physical Address Register 56 * --------------------------------------- 72 /* SMID - Switch Multicast ID 73 * -------------------------- [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
| D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ |
| D | vxlan.c | 4 * Copyright (c) 2012-2013 Vyatta Inc. 65 /* per-network namespace private data for this module */ 90 return vs->flags & VXLAN_F_COLLECT_METADATA || in vxlan_collect_metadata() 98 if (a->sa.sa_family != b->sa.sa_family) in vxlan_addr_equal() 100 if (a->sa.sa_family == AF_INET6) in vxlan_addr_equal() 101 return ipv6_addr_equal(&a->sin6.sin6_addr, &b->sin6.sin6_addr); in vxlan_addr_equal() 103 return a->sin.sin_addr.s_addr == b->sin.sin_addr.s_addr; in vxlan_addr_equal() 108 if (ipa->sa.sa_family == AF_INET6) in vxlan_addr_any() 109 return ipv6_addr_any(&ipa->sin6.sin6_addr); in vxlan_addr_any() 111 return ipa->sin.sin_addr.s_addr == htonl(INADDR_ANY); in vxlan_addr_any() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ |
| D | vxlan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2012-2013 Vyatta Inc. 64 /* per-network namespace private data for this module */ 94 return vs->flags & VXLAN_F_COLLECT_METADATA || in vxlan_collect_metadata() 102 if (a->sa.sa_family != b->sa.sa_family) in vxlan_addr_equal() 104 if (a->sa.sa_family == AF_INET6) in vxlan_addr_equal() 105 return ipv6_addr_equal(&a->sin6.sin6_addr, &b->sin6.sin6_addr); in vxlan_addr_equal() 107 return a->sin.sin_addr.s_addr == b->sin.sin_addr.s_addr; in vxlan_addr_equal() 113 ip->sin6.sin6_addr = nla_get_in6_addr(nla); in vxlan_nla_get_addr() 114 ip->sa.sa_family = AF_INET6; in vxlan_nla_get_addr() [all …]
|
| /kernel/linux/patches/linux-4.19/hi3516dv300_patch/ |
| D | hi3516dv300.patch | 1 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig 3 --- a/arch/arm/Kconfig 5 @@ -330,7 +330,7 @@ config ARCH_MULTIPLATFORM 9 - select AUTO_ZRELADDR 14 @@ -751,6 +751,8 @@ source "arch/arm/mach-highbank/Kconfig" 16 source "arch/arm/mach-hisi/Kconfig" 18 +source "arch/arm/mach-hibvt/Kconfig" 20 source "arch/arm/mach-imx/Kconfig" 22 source "arch/arm/mach-integrator/Kconfig" 23 diff --git a/arch/arm/Makefile b/arch/arm/Makefile [all …]
|
| /kernel/linux/patches/linux-5.10/hi3516dv300_patch/ |
| D | hi3516dv300.patch | 1 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig 3 --- a/arch/arm/Kconfig 5 @@ -322,7 +322,7 @@ config ARCH_MULTIPLATFORM 9 - select AUTO_ZRELADDR 14 @@ -650,6 +650,8 @@ source "arch/arm/mach-highbank/Kconfig" 16 source "arch/arm/mach-hisi/Kconfig" 18 +source "arch/arm/mach-hibvt/Kconfig" 20 source "arch/arm/mach-imx/Kconfig" 22 source "arch/arm/mach-integrator/Kconfig" 23 diff --git a/arch/arm/Makefile b/arch/arm/Makefile [all …]
|