/Linux-v5.15/drivers/of/ |
D | of_net.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/nvmem-consumer.h> 17 * of_get_phy_mode - Get phy mode for given device_node 21 * The function gets phy interface string from property 'phy-mode' or 22 * 'phy-connection-type'. The index in phy_modes table is set in 24 * PHY_INTERFACE_MODE_NA and an errno is returned, e.g. -ENODEV. 33 err = of_property_read_string(np, "phy-mode", &pm); in of_get_phy_mode() 35 err = of_property_read_string(np, "phy-connection-type", &pm); in of_get_phy_mode() 45 return -ENODEV; in of_get_phy_mode() 53 if (pp && pp->length == ETH_ALEN && is_valid_ether_addr(pp->value)) { in of_get_mac_addr() [all …]
|
/Linux-v5.15/arch/mips/boot/dts/cavium-octeon/ |
D | octeon_3xxx.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 * use. Because of this, it contains a super-set of the available 15 phy0: ethernet-phy@0 { 17 marvell,reg-init = 21 <3 0x11 0 0x442a>, /* Reg 3,17 <- 0442a */ 22 /* irq, blink-activity, blink-link */ 23 <3 0x10 0 0x0242>; /* Reg 3,16 <- 0x0242 */ 27 phy1: ethernet-phy@1 { 29 marvell,reg-init = 33 <3 0x11 0 0x442a>, /* Reg 3,17 <- 0442a */ [all …]
|
D | octeon_68xx.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 7 * use. Because of this, it contains a super-set of the available 11 compatible = "cavium,octeon-6880"; 12 #address-cells = <2>; 13 #size-cells = <2>; 14 interrupt-parent = <&ciu2>; 17 compatible = "simple-bus"; 18 #address-cells = <2>; 19 #size-cells = <2>; [all …]
|
/Linux-v5.15/drivers/net/ethernet/sfc/falcon/ |
D | filter.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2013 Solarflare Communications Inc. 15 * enum ef4_filter_match_flags - Flags for hardware filter match type 16 * @EF4_FILTER_MATCH_REM_HOST: Match by remote IP host address 17 * @EF4_FILTER_MATCH_LOC_HOST: Match by local IP host address 18 * @EF4_FILTER_MATCH_REM_MAC: Match by remote MAC address 20 * @EF4_FILTER_MATCH_LOC_MAC: Match by local MAC address 21 * @EF4_FILTER_MATCH_LOC_PORT: Match by local TCP/UDP port 22 * @EF4_FILTER_MATCH_ETHER_TYPE: Match by Ether-type 26 * @EF4_FILTER_MATCH_LOC_MAC_IG: Match by local MAC address I/G bit. [all …]
|
/Linux-v5.15/drivers/net/ethernet/sfc/ |
D | filter.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2013 Solarflare Communications Inc. 15 * enum efx_filter_match_flags - Flags for hardware filter match type 16 * @EFX_FILTER_MATCH_REM_HOST: Match by remote IP host address 17 * @EFX_FILTER_MATCH_LOC_HOST: Match by local IP host address 18 * @EFX_FILTER_MATCH_REM_MAC: Match by remote MAC address 20 * @EFX_FILTER_MATCH_LOC_MAC: Match by local MAC address 21 * @EFX_FILTER_MATCH_LOC_PORT: Match by local TCP/UDP port 22 * @EFX_FILTER_MATCH_ETHER_TYPE: Match by Ether-type 26 * @EFX_FILTER_MATCH_LOC_MAC_IG: Match by local MAC address I/G bit. [all …]
|
/Linux-v5.15/tools/testing/selftests/net/forwarding/ |
D | vxlan_bridge_1d.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +--------------------+ +----------------------+ 8 # +----|---------------+ +--|-------------------+ 10 # +----|--------------------------------------------------|-------------------+ 12 # | +--|--------------------------------------------------|-----------------+ | 16 # | | local 192.0.2.17 | | 19 # | +-----------------------------------------------------------------------+ | 26 # +----|----------------------------------------------------------------------+ 28 # +----|--------------------------------------------------------+ 37 # +----|---------------------------------------|----------------+ [all …]
|
D | vxlan_bridge_1q.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-----------------------+ +------------------------+ 13 # +----|------------------+ +----|-------------------+ 15 # +----|--------------------------------------------------|-------------------+ 17 # | +--|--------------------------------------------------|-----------------+ | 23 # | | local 192.0.2.17 local 192.0.2.17 | | 27 # | +-----------------------------------------------------------------------+ | 34 # +----|----------------------------------------------------------------------+ 36 # +----|--------------------------------------------------------+ 45 # +----|---------------------------------------|----------------+ [all …]
|
D | lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # Kselftest framework requirement - SKIP code is 4. 32 if [[ -f $relative_path/forwarding.config ]]; then 41 tc -j &> /dev/null 42 if [[ $? -ne 0 ]]; then 51 local dev=$1; shift 55 if [[ $? -ne 0 ]]; then 66 local dev=$1; shift 67 local ret; 73 if [[ $? -ne 0 ]]; then [all …]
|
D | bridge_igmp.sh | 2 # SPDX-License-Identifier: GPL-2.0 100 ip address del dev $h2 $TEST_GROUP/32 2>&1 1>/dev/null 111 ip address add dev $h2 $TEST_GROUP/32 autojoin 127 ip address del dev $h2 $TEST_GROUP/32 142 local host1_if=$1 143 local mac=$2 144 local group=$3 145 local X=("192.0.2.1" "192.0.2.2" "192.0.2.3") 150 $MZ $host1_if -b $mac -c 1 -B $group -t ip "proto=2,p=$MZPKT_IS_INC" -q 152 bridge -j -d -s mdb show dev br0 \ [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/net/ |
D | cavium-pip.txt | 10 - compatible: "cavium,octeon-3860-pip" 14 - reg: The base address of the PIP's register bank. 16 - #address-cells: Must be <1>. 18 - #size-cells: Must be <0>. 21 - compatible: "cavium,octeon-3860-pip-interface" 25 - reg: The interface number. 27 - #address-cells: Must be <1>. 29 - #size-cells: Must be <0>. 32 - compatible: "cavium,octeon-3860-pip-port" 36 - reg: The port number within the interface group. [all …]
|
D | altera_tse.txt | 1 * Altera Triple-Speed Ethernet MAC driver (TSE) 4 - compatible: Should be "altr,tse-1.0" for legacy SGDMA based TSE, and should 5 be "altr,tse-msgdma-1.0" for the preferred MSGDMA based TSE. 8 - reg: Address and length of the register set for the device. It contains 9 the information of registers in the same order as described by reg-names 10 - reg-names: Should contain the reg names 11 "control_port": MAC configuration space region 18 - interrupts: Should contain the TSE interrupts and it's mode. 19 - interrupt-names: Should contain the interrupt names 22 - rx-fifo-depth: MAC receive FIFO buffer depth in bytes [all …]
|
D | qca,qca7000.txt | 3 The QCA7000 is a serial-to-powerline bridge with a host interface which could 13 - compatible : Should be "qca,qca7000" 14 - reg : Should specify the SPI chip select 15 - interrupts : The first cell should specify the index of the source 18 - spi-cpha : Must be set 19 - spi-cpol : Must be set 22 - spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at. 26 - qca,legacy-mode : Set the SPI data transfer of the QCA7000 to legacy mode. 33 The MAC address will be determined using the optional properties 40 #address-cells = <1>; [all …]
|
D | ethernet-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/ethernet-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David S. Miller <davem@davemloft.net> 16 local-mac-address: 18 Specifies the MAC address that was assigned to the network device. 19 $ref: /schemas/types.yaml#/definitions/uint8-array 21 - minItems: 6 24 mac-address: [all …]
|
D | brcm,systemport.txt | 4 - compatible: should be one of: 5 "brcm,systemport-v1.00" 6 "brcm,systemportlite-v1.00" or 8 - reg: address and length of the register set for the device. 9 - interrupts: interrupts for the device, first cell must be for the rx 11 optional third interrupt cell for Wake-on-LAN can be specified 12 - local-mac-address: Ethernet MAC address (48 bits) of this adapter 13 - phy-mode: Should be a string describing the PHY interface to the 15 - fixed-link: see Documentation/devicetree/bindings/net/fixed-link.txt for 19 - systemport,num-tier2-arb: number of tier 2 arbiters, an integer [all …]
|
/Linux-v5.15/arch/arm/mach-mvebu/ |
D | kirkwood.c | 4 * arch/arm/mach-mvebu/kirkwood.c 22 #include <asm/hardware/cache-feroceon-l2.h> 26 #include "kirkwood-pm.h" 38 .name = "kirkwood-cpufreq", 39 .id = -1, 59 .id = -1, 77 * The ethernet interfaces forget the MAC address assigned by u-boot in kirkwood_dt_eth_fixup() 78 * if the clocks are turned off. Usually, u-boot on kirkwood boards in kirkwood_dt_eth_fixup() 79 * has no DT support to properly set local-mac-address property. in kirkwood_dt_eth_fixup() 80 * As a workaround, we get the MAC address from mv643xx_eth registers in kirkwood_dt_eth_fixup() [all …]
|
/Linux-v5.15/Documentation/networking/ |
D | decnet.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 - Project Home Pages 11 - http://www.chygwyn.com/ - Kernel info 12 - http://linux-decnet.sourceforge.net/ - Userland tools 13 - http://www.sourceforge.net/projects/linux-decnet/ - Status page 20 - CONFIG_DECNET (obviously) 21 - CONFIG_PROC_FS (to see what's going on) 22 - CONFIG_SYSCTL (for easy configuration) 27 - CONFIG_DECNET_ROUTER (to be able to add/delete routes) 28 - CONFIG_NETFILTER (will be required for the DECnet routing daemon) [all …]
|
D | netconsole.rst | 1 .. SPDX-License-Identifier: GPL-2.0 25 It can be used either built-in or as a module. As a built-in, 37 netconsole=[+][src-port]@[src-ip]/[<dev>],[tgt-port]@<tgt-ip>/[tgt-macaddr] 41 src-port source for UDP packets (defaults to 6665) 42 src-ip source IP to use (interface address) 44 tgt-port port for logging agent (6666) 45 tgt-ip IP address for logging agent 46 tgt-macaddr ethernet MAC address for logging agent (broadcast) 66 Built-in netconsole starts immediately after the TCP stack is 68 address. [all …]
|
D | bonding.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 Corrections, HA extensions: 2000/10/03-15: 13 - Willy Tarreau <willy at meta-x.org> 14 - Constantine Gavrilov <const-g at xpert.com> 15 - Chad N. Tindel <ctindel at ieee dot org> 16 - Janice Girouard <girouard at us dot ibm dot com> 17 - Jay Vosburgh <fubar at us dot ibm dot com> 22 - Mitch Williams <mitch.a.williams at intel.com> 35 the original tools from extreme-linux and beowulf sites will not work 119 ----------------------------------------------- [all …]
|
/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/ |
D | vxlan.sh | 2 # SPDX-License-Identifier: GPL-2.0 67 ttl 20 tos inherit local 198.51.100.1 dstport 4789 74 log_test "vxlan device - valid configuration" 84 ttl 20 tos inherit local 198.51.100.1 dstport 4789 91 log_test "vxlan device with a vlan-aware bridge" 101 ttl 20 tos inherit local 198.51.100.1 dstport 4789 119 ttl 20 tos inherit local 198.51.100.1 dstport 4789 \ 145 log_test "vxlan device with no local ip" 155 ttl 20 tos inherit local 2001:db8::1 dstport 4789 162 log_test "vxlan device with local ipv6 address" [all …]
|
/Linux-v5.15/arch/powerpc/boot/ |
D | treeboot-akebono.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * Copyright 2002-2005 MontaVista Software Inc. 80 /* Disable SD high-speed mode (which seems to be broken) */ in ibm_akebono_fixups() 84 /* Set the MAC address */ in ibm_akebono_fixups() 88 setprop(emac, "local-mac-address", in ibm_akebono_fixups() 102 userdata[USERDATA_LEN - 1] = '\0'; in platform_init() 104 for (i = 0; i < userdata_len - 15; i++) { in platform_init() 105 if (strncmp(&userdata[i], "local-mac-addr=", 15) == 0) { in platform_init() 106 if (i > 0 && userdata[i - 1] != ' ') { in platform_init() 108 * with local-mac-addr so this isn't in platform_init() [all …]
|
/Linux-v5.15/include/scsi/ |
D | libfcoe.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved. 4 * Copyright (c) 2007-2008 Intel Corporation. All rights reserved. 6 * Maintained at www.Open-FCoE.org 39 * enum fip_state - internal state of FCoE controller. 42 * @FIP_ST_AUTO: determining whether to use FIP or non-FIP mode. 43 * @FIP_ST_NON_FIP: non-FIP mode selected. 77 * struct fcoe_ctlr - FCoE Controller and FIP state 78 * @state: internal FIP state for network link and FIP or non-FIP mode. 79 * @mode: LLD-selected mode. [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/marvell/ |
D | armada-8040-puzzle-m801.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * Device Tree file for IEI Puzzle-M801 9 #include "armada-8040.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/leds/common.h> 15 model = "IEI-Puzzle-M801"; 16 compatible = "marvell,armada8040", "marvell,armada-ap806-quad", "marvell,armada-ap806"; 28 stdout-path = "serial0:115200n8"; 37 v_3_3: regulator-3-3v { 38 compatible = "regulator-fixed"; [all …]
|
/Linux-v5.15/arch/mips/include/asm/mach-bcm63xx/ |
D | bcm63xx_nvram.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * bcm63xx_nvram_init() - initializes nvram 9 * @nvram: address of the nvram data 11 * Initialized the local nvram copy from the target address and checks 17 * bcm63xx_nvram_get_name() - returns the board name according to nvram 25 * bcm63xx_nvram_get_mac_address() - register & return a new mac address 26 * @mac: pointer to array for allocated mac 28 * Registers and returns a mac address from the allocated macs from nvram. 32 int bcm63xx_nvram_get_mac_address(u8 *mac);
|
/Linux-v5.15/net/bridge/netfilter/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 70 local input, forwarding and local output. See the man page for 78 The ebtables nat table is used to define rules that alter the MAC 79 source address (MAC SNAT) or the MAC destination address (MAC DNAT). 96 This option adds the among match, which allows matching the MAC source 97 and/or destination address on a list of addresses. Optionally, 98 MAC/IP address pairs can be matched, f.e. for anti-spoofing rules. 187 This option adds the MAC DNAT target, which allows altering the MAC 188 destination address of frames. 205 This option adds the MAC redirect target, which allows altering the MAC [all …]
|
/Linux-v5.15/net/llc/ |
D | llc_sap.c | 2 * llc_sap.c - driver routines for SAP component. 5 * 2001-2003 by Arnaldo Carvalho de Melo <acme@conectiva.com.br> 39 * llc_alloc_frame - allocates sk_buff for frame 54 hlen += llc_mac_header_len(dev->type); in llc_alloc_frame() 62 skb->protocol = htons(ETH_P_802_2); in llc_alloc_frame() 63 skb->dev = dev; in llc_alloc_frame() 78 addr->sllc_family = sk->sk_family; in llc_save_primitive() 79 addr->sllc_arphrd = skb->dev->type; in llc_save_primitive() 80 addr->sllc_test = prim == LLC_TEST_PRIM; in llc_save_primitive() 81 addr->sllc_xid = prim == LLC_XID_PRIM; in llc_save_primitive() [all …]
|