Home
last modified time | relevance | path

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

12345678910>>...41

/kernel/linux/linux-4.19/drivers/of/
Dof_net.c10 #include <linux/nvmem-consumer.h>
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()
52 * Search the device tree for the best MAC address to use. 'mac-address' is
[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-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-4.19/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-4.19/drivers/net/ethernet/sfc/falcon/
Dfilter.h3 * Copyright 2005-2013 Solarflare Communications Inc.
18 * enum ef4_filter_match_flags - Flags for hardware filter match type
19 * @EF4_FILTER_MATCH_REM_HOST: Match by remote IP host address
20 * @EF4_FILTER_MATCH_LOC_HOST: Match by local IP host address
21 * @EF4_FILTER_MATCH_REM_MAC: Match by remote MAC address
23 * @EF4_FILTER_MATCH_LOC_MAC: Match by local MAC address
24 * @EF4_FILTER_MATCH_LOC_PORT: Match by local TCP/UDP port
25 * @EF4_FILTER_MATCH_ETHER_TYPE: Match by Ether-type
29 * @EF4_FILTER_MATCH_LOC_MAC_IG: Match by local MAC address I/G bit.
34 * - Falcon supports RX filters matching by {TCP,UDP}/IPv4 4-tuple or
[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-4.19/drivers/net/ethernet/sfc/
Dfilter.h3 * Copyright 2005-2013 Solarflare Communications Inc.
18 * enum efx_filter_match_flags - Flags for hardware filter match type
19 * @EFX_FILTER_MATCH_REM_HOST: Match by remote IP host address
20 * @EFX_FILTER_MATCH_LOC_HOST: Match by local IP host address
21 * @EFX_FILTER_MATCH_REM_MAC: Match by remote MAC address
23 * @EFX_FILTER_MATCH_LOC_MAC: Match by local MAC address
24 * @EFX_FILTER_MATCH_LOC_PORT: Match by local TCP/UDP port
25 * @EFX_FILTER_MATCH_ETHER_TYPE: Match by Ether-type
29 * @EFX_FILTER_MATCH_LOC_MAC_IG: Match by local MAC address I/G bit.
35 * - Falcon supports RX filters matching by {TCP,UDP}/IPv4 4-tuple or
[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-4.19/arch/arm/mach-mvebu/
Dkirkwood.c4 * 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 …]
/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 …]
Daltera_tse.txt1 * 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 …]
/kernel/linux/linux-4.19/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 …]
Daltera_tse.txt1 * 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 …]
Dethernet.txt5 Documentation/devicetree/bindings/phy/phy-bindings.txt.
7 - local-mac-address: array of 6 bytes, specifies the MAC address that was
9 - mac-address: array of 6 bytes, specifies the MAC address that was last used by
10 the boot program; should be used in cases where the MAC address assigned to
11 the device by the boot program is different from the "local-mac-address"
13 - nvmem-cells: phandle, reference to an nvmem node for the MAC address;
14 - nvmem-cell-names: string, should be "mac-address" if nvmem is to be used;
15 - max-speed: number, specifies maximum speed in Mbit/s supported by the device;
16 - max-frame-size: number, maximum transfer unit (IEEE defined MTU), rather than
19 - phy-mode: string, operation mode of the PHY interface. This is now a de-facto
[all …]
Dqca,qca7000.txt3 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 - local-mac-address : see ./ethernet.txt
27 - qca,legacy-mode : Set the SPI data transfer of the QCA7000 to legacy mode.
38 #address-cells = <1>;
[all …]
Dkeystone-netcp.txt6 switch sub-module to send and receive packets. NetCP also includes a packet
13 includes a 3-port Ethernet switch sub-module capable of 10Gb/s and 1Gb/s rates
16 Keystone NetCP driver has a plug-in module architecture where each of the NetCP
17 sub-modules exist as a loadable kernel module which plug in to the netcp core.
18 These sub-modules are represented as "netcp-devices" in the dts bindings. It is
19 mandatory to have the ethernet switch sub-module for the ethernet interface to
20 be operational. Any other sub-module like the PA is optional.
24 -----------------------------
26 -----------------------------
28 |-> NetCP Devices -> |
[all …]
Dsocionext,uniphier-ave4.txt7 - compatible: Should be
8 - "socionext,uniphier-pro4-ave4" : for Pro4 SoC
9 - "socionext,uniphier-pxs2-ave4" : for PXs2 SoC
10 - "socionext,uniphier-ld11-ave4" : for LD11 SoC
11 - "socionext,uniphier-ld20-ave4" : for LD20 SoC
12 - "socionext,uniphier-pxs3-ave4" : for PXs3 SoC
13 - reg: Address where registers are mapped and size of region.
14 - interrupts: Should contain the MAC interrupt.
15 - phy-mode: See ethernet.txt in the same directory. Allow to choose
17 The acceptable mode is SoC-dependent.
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-mvebu/
Dkirkwood.c4 * 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 …]
/kernel/linux/linux-4.19/Documentation/networking/
Ddecnet.txt7 http://www.chygwyn.com/ - Kernel info
8 http://linux-decnet.sourceforge.net/ - Userland tools
9 http://www.sourceforge.net/projects/linux-decnet/ - Status page
34 o Set the MAC address on your ethernet card before starting _any_ other
39 to set the MAC address, see the next section. Also all configurations which
44 You can set a DECnet address on the kernel command line for compatibility
46 If you do st a DECnet address on the command line, it has only one purpose
49 With 2.4 kernels, DECnet would only recognise addresses as local if they
50 were added to the loopback device. In 2.5, any local interface address
51 can be used to loop back to the local machine. Of course this does not
[all …]
/kernel/linux/linux-5.10/Documentation/networking/
Ddecnet.rst1 .. 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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Dvxlan.sh2 # 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 …]

12345678910>>...41