Searched +full:local +full:- +full:mac +full:- +full:address (Results 1 – 25 of 640) sorted by relevance
12345678910>>...26
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/ |
D | rif_mac_profiles_occ.sh | 2 # SPDX-License-Identifier: GPL-2.0 18 # Disable IPv6 on the two interfaces to avoid IPv6 link-local addresses 37 # Reload in order to clean all the RIFs and RIF MAC profiles created 43 local count=$1; shift 44 local batch_file="$(mktemp)" 50 cat >> $batch_file <<-EOF 52 address 00:$m:$m:$m:$m:$m type vlan id $vlan 53 address add 192.0.$m.1/24 dev $h1.$vlan 57 ip -b $batch_file &> /dev/null 58 rm -f $batch_file [all …]
|
D | rif_mac_profiles.sh | 2 # SPDX-License-Identifier: GPL-2.0 53 ip address add 192.0.2.2/24 dev $rp1 54 ip address add 198.51.100.2/24 dev $rp2 59 ip address del 198.51.100.2/24 dev $rp2 60 ip address del 192.0.2.2/24 dev $rp1 102 local test_name=$@; shift 103 local smac=$(mac_get $rp2) 111 # match on source MAC because it is not set in eACL after routing 117 # source MAC 122 $MZ $h1 -a own -b $(mac_get $rp1) -t udp "sp=12345,dp=54321" \ [all …]
|
D | rif_mac_profile_scale.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Test for RIF MAC profiles resource. The test adds VLAN netdevices according to 5 # the maximum number of RIF MAC profiles, sets each of them with a random 6 # MAC address, and checks that eventually the number of occupied RIF MAC 7 # profiles equals the maximum number of RIF MAC profiles. 14 local count=$1; shift 15 local should_fail=$1; shift 16 local batch_file="$(mktemp)" 22 cat >> $batch_file <<-EOF 24 address 00:$m:$m:$m:$m:$m type vlan id $vlan [all …]
|
D | vxlan.sh | 2 # SPDX-License-Identifier: GPL-2.0 92 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 99 log_test "vxlan device - valid configuration" 109 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 116 log_test "vxlan device with a vlan-aware bridge" 126 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 144 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 \ 170 log_test "vxlan device with no local ip" 180 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 198 ttl 20 tos inherit local $LOCAL_IP_1 dstport 4789 dev dummy1 [all …]
|
/Linux-v6.1/net/core/ |
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-v6.1/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-v6.1/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-v6.1/tools/testing/selftests/drivers/net/dsa/ |
D | local_termination.sh | 2 # SPDX-License-Identifier: GPL-2.0 44 # Disable promisc to ensure we don't receive unknown MAC DA packets 45 export TCPDUMP_EXTRA_FLAGS="-pl" 52 local if_name=$1 53 local smac=$2 54 local dmac=$3 56 $MZ -q $if_name "$dmac $smac $NON_IP_PKT" 61 local if_name=$1 62 local dmac=$2 71 local if_name=$1 [all …]
|
D | lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # Kselftest framework requirement - SKIP code is 4. 39 if [[ -f $relative_path/forwarding.config ]]; then 48 tc -j &> /dev/null 49 if [[ $? -ne 0 ]]; then 58 local dev=$1; shift 62 if [[ $? -ne 0 ]]; then 73 local dev=$1; shift 74 local ret; 80 if [[ $? -ne 0 ]]; then [all …]
|
/Linux-v6.1/tools/testing/selftests/net/forwarding/ |
D | local_termination.sh | 2 # SPDX-License-Identifier: GPL-2.0 44 # Disable promisc to ensure we don't receive unknown MAC DA packets 45 export TCPDUMP_EXTRA_FLAGS="-pl" 52 local if_name=$1 53 local smac=$2 54 local dmac=$3 56 $MZ -q $if_name "$dmac $smac $NON_IP_PKT" 61 local if_name=$1 62 local dmac=$2 71 local if_name=$1 [all …]
|
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. 39 if [[ -f $relative_path/forwarding.config ]]; then 48 tc -j &> /dev/null 49 if [[ $? -ne 0 ]]; then 58 local dev=$1; shift 62 if [[ $? -ne 0 ]]; then 73 local dev=$1; shift 74 local ret; 80 if [[ $? -ne 0 ]]; then [all …]
|
D | vxlan_bridge_1q_ipv6.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-----------------------+ +------------------------+ 15 # +----|------------------+ +----|-------------------+ 17 # +----|--------------------------------------------------|-------------------+ 19 # | +--|--------------------------------------------------|-----------------+ | 25 # | | local: local: | | 31 # | +-----------------------------------------------------------------------+ | 38 # +----|----------------------------------------------------------------------+ 40 # +----|----------------------------------------------------------+ 49 # +----|---------------------------------------|------------------+ [all …]
|
D | vxlan_bridge_1d_ipv6.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-----------------------+ +------------------------+ 9 # +----|------------------+ +----|-------------------+ 11 # +----|--------------------------------------------------|-------------------+ 13 # | +--|--------------------------------------------------|-----------------+ | 17 # | | local 2001:db8:3::1 | | 20 # | +-----------------------------------------------------------------------+ | 27 # +----|----------------------------------------------------------------------+ 29 # +----|----------------------------------------------------------+ 38 # +----|---------------------------------------|------------------+ [all …]
|
/Linux-v6.1/drivers/net/ethernet/sfc/siena/ |
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-v6.1/drivers/net/ethernet/sfc/ |
D | filter.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2013 Solarflare Communications Inc. 16 * enum efx_filter_match_flags - Flags for hardware filter match type 17 * @EFX_FILTER_MATCH_REM_HOST: Match by remote IP host address 18 * @EFX_FILTER_MATCH_LOC_HOST: Match by local IP host address 19 * @EFX_FILTER_MATCH_REM_MAC: Match by remote MAC address 21 * @EFX_FILTER_MATCH_LOC_MAC: Match by local MAC address 22 * @EFX_FILTER_MATCH_LOC_PORT: Match by local TCP/UDP port 23 * @EFX_FILTER_MATCH_ETHER_TYPE: Match by Ether-type 27 * @EFX_FILTER_MATCH_LOC_MAC_IG: Match by local MAC address I/G bit. [all …]
|
/Linux-v6.1/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 | engleder,tsnep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TSN endpoint Ethernet MAC binding 10 - Gerhard Engleder <gerhard@engleder-embedded.com> 13 - $ref: ethernet-controller.yaml# 26 interrupt-names: 29 - const: mac 30 - const: txrx-1 31 - const: txrx-2 [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 …]
|
/Linux-v6.1/tools/testing/selftests/drivers/net/bonding/ |
D | net_forwarding_lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # Kselftest framework requirement - SKIP code is 4. 39 if [[ -f $relative_path/forwarding.config ]]; then 48 tc -j &> /dev/null 49 if [[ $? -ne 0 ]]; then 58 local dev=$1; shift 62 if [[ $? -ne 0 ]]; then 73 local dev=$1; shift 74 local ret; 80 if [[ $? -ne 0 ]]; then [all …]
|
/Linux-v6.1/tools/testing/selftests/drivers/net/team/ |
D | net_forwarding_lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # Kselftest framework requirement - SKIP code is 4. 39 if [[ -f $relative_path/forwarding.config ]]; then 48 tc -j &> /dev/null 49 if [[ $? -ne 0 ]]; then 58 local dev=$1; shift 62 if [[ $? -ne 0 ]]; then 73 local dev=$1; shift 74 local ret; 80 if [[ $? -ne 0 ]]; then [all …]
|
/Linux-v6.1/arch/arm/mach-mvebu/ |
D | kirkwood.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * arch/arm/mach-mvebu/kirkwood.c 19 #include <asm/hardware/cache-feroceon-l2.h> 23 #include "kirkwood-pm.h" 35 .name = "kirkwood-cpufreq", 36 .id = -1, 56 .id = -1, 74 * The ethernet interfaces forget the MAC address assigned by u-boot in kirkwood_dt_eth_fixup() 75 * if the clocks are turned off. Usually, u-boot on kirkwood boards in kirkwood_dt_eth_fixup() 76 * has no DT support to properly set local-mac-address property. in kirkwood_dt_eth_fixup() [all …]
|
/Linux-v6.1/net/ethernet/ |
D | eth.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Ethernet-type device handling. 14 * Florian La Roche, <rzsfl@rz.uni-sb.de> 29 * Alan Cox : MAC layer pointers/new format. 34 * Andrew Morton : 26Feb01: kill ether_setup() - use netdev_boot_setup(). 46 #include <linux/nvmem-consumer.h> 67 * eth_header - create the Ethernet header 71 * @daddr: destination address (NULL leave destination address) 72 * @saddr: source address (NULL use device source address) 73 * @len: packet length (<= skb->len) [all …]
|
12345678910>>...26