Home
last modified time | relevance | path

Searched +full:local +full:- +full:mac +full:- +full:address (Results 1 – 25 of 1065) sorted by relevance

12345678910>>...43

/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
Drif_mac_profiles_occ.sh2 # 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 …]
Drif_mac_profiles.sh2 # 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 …]
Drif_mac_profile_scale.sh2 # 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 …]
/kernel/linux/linux-5.10/drivers/of/
Dof_net.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * of_get_phy_mode - Get phy mode for given device_node
20 * The function gets phy interface string from property 'phy-mode' or
21 * 'phy-connection-type'. The index in phy_modes table is set in
23 * PHY_INTERFACE_MODE_NA and an errno is returned, e.g. -ENODEV.
32 err = of_property_read_string(np, "phy-mode", &pm); in of_get_phy_mode()
34 err = of_property_read_string(np, "phy-connection-type", &pm); in of_get_phy_mode()
44 return -ENODEV; in of_get_phy_mode()
52 if (pp && pp->length == ETH_ALEN && is_valid_ether_addr(pp->value)) in of_get_mac_addr()
53 return pp->value; in of_get_mac_addr()
[all …]
/kernel/linux/linux-6.6/net/core/
Dof_net.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <linux/nvmem-consumer.h>
18 * of_get_phy_mode - Get phy mode for given device_node
22 * The function gets phy interface string from property 'phy-mode' or
23 * 'phy-connection-type'. The index in phy_modes table is set in
25 * PHY_INTERFACE_MODE_NA and an errno is returned, e.g. -ENODEV.
34 err = of_property_read_string(np, "phy-mode", &pm); in of_get_phy_mode()
36 err = of_property_read_string(np, "phy-connection-type", &pm); in of_get_phy_mode()
46 return -ENODEV; in of_get_phy_mode()
54 if (pp && pp->length == ETH_ALEN && is_valid_ether_addr(pp->value)) { in of_get_mac_addr()
[all …]
/kernel/linux/linux-5.10/arch/mips/boot/dts/cavium-octeon/
Docteon_3xxx.dts1 // 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 …]
Docteon_68xx.dts1 // 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 …]
/kernel/linux/linux-6.6/arch/mips/boot/dts/cavium-octeon/
Docteon_3xxx.dts1 // 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 …]
Docteon_68xx.dts1 // 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
Dfilter.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/
Dfilter.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
Dfilter.h1 /* 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dfilter.h1 /* 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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/dsa/
Dlocal_termination.sh2 # 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 …]
Dlib.sh2 # SPDX-License-Identifier: GPL-2.0
37 if [[ -f $relative_path/forwarding.config ]]; then
41 # Kselftest framework requirement - SKIP code is 4.
46 local timeout=$1; shift
48 local start_time="$(date -u +%s%3N)"
51 local out
53 local ret=$?
55 echo -n "$out"
59 local current_time="$(date -u +%s%3N)"
60 if ((current_time - start_time > timeout)); then
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
Dlocal_termination.sh2 # 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 …]
Dvxlan_bridge_1d.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +--------------------+ +----------------------+
8 # +----|---------------+ +--|-------------------+
10 # +----|--------------------------------------------------|-------------------+
12 # | +--|--------------------------------------------------|-----------------+ |
16 # | | local 192.0.2.17 | |
19 # | +-----------------------------------------------------------------------+ |
26 # +----|----------------------------------------------------------------------+
28 # +----|--------------------------------------------------------+
37 # +----|---------------------------------------|----------------+
[all …]
Dvxlan_bridge_1q.sh2 # 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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dvxlan_bridge_1d.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +--------------------+ +----------------------+
8 # +----|---------------+ +--|-------------------+
10 # +----|--------------------------------------------------|-------------------+
12 # | +--|--------------------------------------------------|-----------------+ |
16 # | | local 192.0.2.17 | |
19 # | +-----------------------------------------------------------------------+ |
26 # +----|----------------------------------------------------------------------+
28 # +----|--------------------------------------------------------+
37 # +----|---------------------------------------|----------------+
[all …]
Dvxlan_bridge_1q.sh2 # 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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
Dfilter.h1 /* 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dcavium-pip.txt10 - 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 …]
Dengleder,tsnep.yaml1 # 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
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dcavium-pip.txt10 - 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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/team/
Dnet_forwarding_lib.sh2 # SPDX-License-Identifier: GPL-2.0
37 if [[ -f $relative_path/forwarding.config ]]; then
41 # Kselftest framework requirement - SKIP code is 4.
46 local timeout=$1; shift
48 local start_time="$(date -u +%s%3N)"
51 local out
53 local ret=$?
55 echo -n "$out"
59 local current_time="$(date -u +%s%3N)"
60 if ((current_time - start_time > timeout)); then
[all …]

12345678910>>...43