/Linux-v5.4/drivers/of/ |
D | of_net.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * of_get_phy_mode - Get phy mode for given device_node 19 * The function gets phy interface string from property 'phy-mode' or 20 * 'phy-connection-type', and return its index in phy_modes table, or errno in 28 err = of_property_read_string(np, "phy-mode", &pm); in of_get_phy_mode() 30 err = of_property_read_string(np, "phy-connection-type", &pm); in of_get_phy_mode() 38 return -ENODEV; in of_get_phy_mode() 46 if (pp && pp->length == ETH_ALEN && is_valid_ether_addr(pp->value)) in of_get_mac_addr() 47 return pp->value; in of_get_mac_addr() 54 const void *mac; in of_get_mac_addr_nvmem() local [all …]
|
/Linux-v5.4/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.4/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.4/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.4/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 | bridge_igmp.sh | 2 # SPDX-License-Identifier: GPL-2.0 74 ip address del dev $h2 $TEST_GROUP/32 2>&1 1>/dev/null 85 local mac=$1 86 local ip=$2 87 local host1_if=$3 88 local host2_if=$4 89 local seen=0 95 flower dst_mac $mac action drop 97 $MZ $host1_if -c 1 -p 64 -b $mac -B $ip -t udp "dp=4096,sp=2048" -q 100 tc -j -s filter show dev $host2_if ingress \ [all …]
|
D | lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 27 if [[ -f $relative_path/forwarding.config ]]; then 36 tc -j &> /dev/null 37 if [[ $? -ne 0 ]]; then 46 if [[ $? -ne 0 ]]; then 55 if [[ $? -ne 0 ]]; then 61 if [[ "$(id -u)" -ne 0 ]]; then 72 local cmd=$1; shift 74 if [[ ! -x "$(command -v "$cmd")" ]]; then 83 if [[ ! -v NUM_NETIFS ]]; then [all …]
|
/Linux-v5.4/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 - $ref: /schemas/types.yaml#definitions/uint8-array 19 - items: 20 - minItems: 6 23 Specifies the MAC address that was assigned to the network device. [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.4/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.4/Documentation/networking/ |
D | decnet.txt | 7 http://www.chygwyn.com/ - Kernel info 8 http://linux-decnet.sourceforge.net/ - Userland tools 9 http://www.sourceforge.net/projects/linux-decnet/ - Status page 32 o Set the MAC address on your ethernet card before starting _any_ other 37 to set the MAC address, see the next section. Also all configurations which 42 You can set a DECnet address on the kernel command line for compatibility 44 If you do st a DECnet address on the command line, it has only one purpose 47 With 2.4 kernels, DECnet would only recognise addresses as local if they 48 were added to the loopback device. In 2.5, any local interface address 49 can be used to loop back to the local machine. Of course this does not [all …]
|
D | netconsole.txt | 16 It can be used either built-in or as a module. As a built-in, 28 netconsole=[+][src-port]@[src-ip]/[<dev>],[tgt-port]@<tgt-ip>/[tgt-macaddr] 32 src-port source for UDP packets (defaults to 6665) 33 src-ip source IP to use (interface address) 35 tgt-port port for logging agent (6666) 36 tgt-ip IP address for logging agent 37 tgt-macaddr ethernet MAC address for logging agent (broadcast) 57 Built-in netconsole starts immediately after the TCP stack is 59 address. 68 On distributions using a BSD-based netcat version (e.g. Fedora, [all …]
|
D | bonding.txt | 7 Corrections, HA extensions : 2000/10/03-15 : 8 - Willy Tarreau <willy at meta-x.org> 9 - Constantine Gavrilov <const-g at xpert.com> 10 - Chad N. Tindel <ctindel at ieee dot org> 11 - Janice Girouard <girouard at us dot ibm dot com> 12 - Jay Vosburgh <fubar at us dot ibm dot com> 16 - Mitch Williams <mitch.a.williams at intel.com> 29 the original tools from extreme-linux and beowulf sites will not work 114 ----------------------------------------------- 130 ------------------------------------- [all …]
|
/Linux-v5.4/tools/testing/selftests/drivers/net/mlxsw/ |
D | vxlan.sh | 2 # SPDX-License-Identifier: GPL-2.0 66 ttl 20 tos inherit local 198.51.100.1 dstport 4789 73 log_test "vxlan device - valid configuration" 83 ttl 20 tos inherit local 198.51.100.1 dstport 4789 90 log_test "vxlan device with a vlan-aware bridge" 100 ttl 20 tos inherit local 198.51.100.1 dstport 4789 118 ttl 20 tos inherit local 198.51.100.1 dstport 4789 \ 144 log_test "vxlan device with no local ip" 154 ttl 20 tos inherit local 2001:db8::1 dstport 4789 161 log_test "vxlan device with local ipv6 address" [all …]
|
D | rtnetlink.sh | 2 # SPDX-License-Identifier: GPL-2.0 57 local swp1_mac=$(mac_get $swp1) 58 local swp2_mac=$(mac_get $swp2) 62 # $swp1 and $swp2 likely got their IPv6 local addresses already, but 74 # IP address enablement should be rejected if the MAC address prefix 77 check_fail $? "IP address addition passed for a device with a wrong MAC" 79 | grep -q mlxsw_spectrum 80 check_err $? "no extack for IP address addition" 87 # Change of MAC address of a RIF should be forbidden if the new MAC 88 # doesn't share the prefix with other MAC addresses. [all …]
|
/Linux-v5.4/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.4/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.4/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.4/net/bridge/netfilter/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 72 local input, forwarding and local output. See the man page for 80 The ebtables nat table is used to define rules that alter the MAC 81 source address (MAC SNAT) or the MAC destination address (MAC DNAT). 98 This option adds the among match, which allows matching the MAC source 99 and/or destination address on a list of addresses. Optionally, 100 MAC/IP address pairs can be matched, f.e. for anti-spoofing rules. 189 This option adds the MAC DNAT target, which allows altering the MAC 190 destination address of frames. 207 This option adds the MAC redirect target, which allows altering the MAC [all …]
|
/Linux-v5.4/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 53 hlen += llc_mac_header_len(dev->type); in llc_alloc_frame() 61 skb->protocol = htons(ETH_P_802_2); in llc_alloc_frame() 62 skb->dev = dev; in llc_alloc_frame() 77 addr->sllc_family = sk->sk_family; in llc_save_primitive() 78 addr->sllc_arphrd = skb->dev->type; in llc_save_primitive() 79 addr->sllc_test = prim == LLC_TEST_PRIM; in llc_save_primitive() 80 addr->sllc_xid = prim == LLC_XID_PRIM; in llc_save_primitive() [all …]
|