Home
last modified time | relevance | path

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

12345678910>>...41

/OK3568_Linux_fs/kernel/drivers/of/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/mips/boot/dts/cavium-octeon/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A 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 …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/
H A 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 …]
H A 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 …]
H A Dbridge_igmp.sh2 # 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/
H A 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 …]
H A 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 …]
H A 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 - 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 …]
H A Dethernet-controller.yaml1 # 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 …]
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/net/
H A 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.
6 - reg: Address and length of the register set for the device. It contains
7 the information of registers in the same order as described by reg-names
8 - reg-names: Should contain the reg names
9 "control_port": MAC configuration space region
16 - interrupts: Should contain the TSE interrupts and it's mode.
17 - interrupt-names: Should contain the interrupt names
20 - rx-fifo-depth: MAC receive FIFO buffer depth in bytes
[all …]
H A Dethernet.txt3 - local-mac-address: array of 6 bytes, specifies the MAC address that was
5 - mac-address: array of 6 bytes, specifies the MAC address that was last used by
6 the boot program; should be used in cases where the MAC address assigned to
7 the device by the boot program is different from the "local-mac-address"
9 - max-speed: number, specifies maximum speed in Mbit/s supported by the device;
10 - max-frame-size: number, maximum transfer unit (IEEE defined MTU), rather than
12 - phy-mode: string, operation mode of the PHY interface; supported values are
13 "mii", "gmii", "sgmii", "qsgmii", "tbi", "rev-mii", "rmii", "rgmii", "rgmii-id",
14 "rgmii-rxid", "rgmii-txid", "rtbi", "smii", "xgmii"; this is now a de-facto
16 - phy-connection-type: the same as "phy-mode" property but described in ePAPR;
[all …]
/OK3568_Linux_fs/kernel/arch/arm/mach-mvebu/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/networking/
H A 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 …]
H A Dnetconsole.rst1 .. 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 …]
H A Dbonding.rst1 .. 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 …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/
H A 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 …]
H A Drtnetlink.sh2 # SPDX-License-Identifier: GPL-2.0
58 local swp1_mac=$(mac_get $swp1)
59 local swp2_mac=$(mac_get $swp2)
63 # $swp1 and $swp2 likely got their IPv6 local addresses already, but
75 # IP address enablement should be rejected if the MAC address prefix
78 check_fail $? "IP address addition passed for a device with a wrong MAC"
80 | grep -q mlxsw_spectrum
81 check_err $? "no extack for IP address addition"
88 # Change of MAC address of a RIF should be forbidden if the new MAC
89 # doesn't share the prefix with other MAC addresses.
[all …]
/OK3568_Linux_fs/u-boot/arch/powerpc/include/asm/
H A Dimmap_86xx.h19 /* Local-Access Registers and MCM Registers(0x0000-0x2000) */
21 uint ccsrbar; /* 0x0 - Control Configuration Status Registers Base Address Register */
23 uint altcbar; /* 0x8 - Alternate Configuration Base Address Register */
25 uint altcar; /* 0x10 - Alternate Configuration Attribute Register */
27 uint bptr; /* 0x20 - Boot Page Translation Register */
29 uint lawbar0; /* 0xc08 - Local Access Window 0 Base Address Register */
31 uint lawar0; /* 0xc10 - Local Access Window 0 Attributes Register */
33 uint lawbar1; /* 0xc28 - Local Access Window 1 Base Address Register */
35 uint lawar1; /* 0xc30 - Local Access Window 1 Attributes Register */
37 uint lawbar2; /* 0xc48 - Local Access Window 2 Base Address Register */
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/boot/
H A Dtreeboot-akebono.c1 // 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 …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dzynqmp-zc1751-xm018-dc4.dts2 * dts file for Xilinx ZynqMP zc1751-xm018-dc4
4 * (C) Copyright 2015 - 2016, Xilinx, Inc.
14 /dts-v1/;
17 #include "zynqmp-clk.dtsi"
20 model = "ZynqMP zc1751-xm018-dc4";
21 compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp";
41 stdout-path = "serial0:115200n8";
61 xlnx,include-sg; /* for testing purpose */
64 xlnx,src-issue = <31>;
70 xlnx,src-issue = <4>; /* for testing purpose */
[all …]
/OK3568_Linux_fs/kernel/include/scsi/
H A Dlibfcoe.h1 /* 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A De1000_mac.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
18 * igb_get_bus_info_pcie - Get PCIe bus information
27 struct e1000_bus_info *bus = &hw->bus; in igb_get_bus_info_pcie()
32 bus->type = e1000_bus_type_pci_express; in igb_get_bus_info_pcie()
38 bus->width = e1000_bus_width_unknown; in igb_get_bus_info_pcie()
39 bus->speed = e1000_bus_speed_unknown; in igb_get_bus_info_pcie()
43 bus->speed = e1000_bus_speed_2500; in igb_get_bus_info_pcie()
46 bus->speed = e1000_bus_speed_5000; in igb_get_bus_info_pcie()
49 bus->speed = e1000_bus_speed_unknown; in igb_get_bus_info_pcie()
[all …]

12345678910>>...41