/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | renesas,ether.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/renesas,ether.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - $ref: ethernet-controller.yaml# 13 - Sergei Shtylyov <sergei.shtylyov@gmail.com> 18 - items: 19 - enum: 20 - renesas,gether-r8a7740 # device is a part of R8A7740 SoC 21 - renesas,gether-r8a77980 # device is a part of R8A77980 SoC [all …]
|
H A D | renesas,etheravb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sergei Shtylyov <sergei.shtylyov@gmail.com> 15 - items: 16 - enum: 17 - renesas,etheravb-r8a7742 # RZ/G1H 18 - renesas,etheravb-r8a7743 # RZ/G1M 19 - renesas,etheravb-r8a7744 # RZ/G1N 20 - renesas,etheravb-r8a7745 # RZ/G1E [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/ |
H A D | bond-eth-type-change.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Test bond device ether type changing 11 REQUIRE_MZ=no 20 ip -d l sh dev "$bonddev" | grep -q "MASTER" 23 ip -d l sh dev "$bonddev" | grep -q "SLAVE" 32 local devbond0="test-bond0" 33 local devbond1="test-bond1" 34 local devbond2="test-bond2" 35 local nonethdev="test-noneth0" 37 # create a non-ARPHRD_ETHER device for testing (e.g. nlmon type) [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | net_failover.rst | 1 .. SPDX-License-Identifier: GPL-2.0 21 it is available with link up and running. 28 virtio-net accelerated datapath: STANDBY mode 31 net_failover enables hypervisor controlled accelerated datapath to virtio-net 32 enabled VMs in a transparent manner with no/minimal guest userspace changes. 35 feature on the virtio-net interface and assign the same MAC address to both 36 virtio-net and VF interfaces. 47 <link state='down'/> 49 <alias name='ua-backup0'/> 56 <teaming type='transient' persistent='ua-backup0'/> [all …]
|
H A D | generic-hdlc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 1. Frame Relay (ANSI, CCITT, Cisco and no LMI) 14 - Normal (routed) and Ethernet-bridged (Ethernet device emulation) 16 - ARP support (no InARP support in the kernel - there is an 17 experimental InARP user-space daemon available on: 20 2. raw HDLC - either IP (IPv4) interface or Ethernet device emulation 25 Generic HDLC is a protocol driver only - it needs a low-level driver 28 Ethernet device emulation (using HDLC or Frame-Relay PVC) is compatible 40 gcc -O2 -Wall -o sethdlc sethdlc.c 66 - sets physical interface for a given port [all …]
|
/openbmc/linux/drivers/net/wan/ |
H A D | hdlc_fr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 1999 - 2006 Krzysztof Halasa <khc@pm.waw.pl> 13 (exist,new) -> 0,0 when "PVC create" or if "link unreliable" 14 0,x -> 1,1 if "link reliable" when sending FULL STATUS 15 1,1 -> 1,0 if received FULL STATUS ACK 17 (active) -> 0 when "ifconfig PVC down" or "link unreliable" or "PVC create" 18 -> 1 when "PVC up" and (exist,new) = 1,0 21 (exist,new,active) = FULL STATUS if "link reliable" 22 = 0, 0, 0 if "link unreliable" 23 No LMI: [all …]
|
/openbmc/linux/arch/arm/boot/dts/renesas/ |
H A D | r7s72100-gr-peach.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the GR-Peach board 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/pinctrl/r7s72100-pinctrl.h> 15 model = "GR-Peach"; 16 compatible = "renesas,gr-peach", "renesas,r7s72100"; 24 stdout-path = "serial0:115200n8"; 33 #address-cells = <1>; 34 #size-cells = <1>; [all …]
|
H A D | r7s72100-genmai.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2013-14 Renesas Solutions Corp. 6 * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com> 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/pinctrl/r7s72100-pinctrl.h> 24 stdout-path = "serial0:115200n8"; 33 #address-cells = <1>; 34 #size-cells = <1>; 39 compatible = "gpio-leds"; [all …]
|
H A D | r7s72100-rskrza1.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/pinctrl/r7s72100-pinctrl.h> 24 stdout-path = "serial0:115200n8"; 33 compatible = "gpio-keys"; 35 pinctrl-names = "default"; 36 pinctrl-0 = <&keyboard_pins>; 38 key-1 { [all …]
|
/openbmc/linux/arch/arm64/boot/dts/renesas/ |
H A D | cat875.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 17 pinctrl-0 = <&avb_pins>; 18 pinctrl-names = "default"; 19 renesas,no-ether-link; 20 phy-handle = <&phy0>; 21 phy-mode = "rgmii-id"; 24 phy0: ethernet-phy@0 { 25 compatible = "ethernet-phy-id001c.c915", 26 "ethernet-phy-ieee802.3-c22"; 28 interrupt-parent = <&gpio2>; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | r8a77990-ebisu.dts | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 23 stdout-path = "serial0:115200n8"; 34 pinctrl-0 = <&avb_pins>; 35 pinctrl-names = "default"; 36 renesas,no-ether-link; 37 phy-handle = <&phy0>; 38 phy-mode = "rgmii-txid"; 41 phy0: ethernet-phy@0 { [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | bmc_network_utils.robot | 61 # link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff 100 # TODO: openbmc/openbmc-test-automation#1331 105 # Sample output of "ip addr | grep ether": 106 # link/ether xx.xx.xx.xx.xx.xx brd ff:ff:ff:ff:ff:ff 112 ... /sbin/ip addr | grep ${ethernet_interface} -A 1 | grep ether 116 # link/ether | xx:xx:xx:xx:xx:xx | brd | ff:ff:ff:ff:ff:ff 126 # Sample output of "ip addr | grep ether": 127 # link/ether xx.xx.xx.xx.xx.xx brd ff:ff:ff:ff:ff:ff 130 ... /sbin/ip addr | grep ether 134 # link/ether | xx:xx:xx:xx:xx:xx | brd | ff:ff:ff:ff:ff:ff [all …]
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | nft_concat_range.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # nft_concat_range.sh - Tests for sets with concatenation of ranged fields 16 # - reported_issues: check for issues that were reported in the past 17 # - correctness: check that packets match given entries, and only those 18 # - concurrency: attempt races between insertion, deletion and lookup 19 # - timeout: check that packets match entries until they expire 20 # - performance: estimate matching rate, compare with rbtree and hash baselines 160 chain_spec ip6 daddr . udp dport . ether saddr 172 perf_spec ip6 daddr . udp dport . ether daddr 182 chain_spec ip6 daddr . udp dport . ether saddr . meta l4proto [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac100_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 This is the driver for the MAC 10/100 on-chip Ethernet controller 6 DWC Ether MAC 10/100 Universal version 4.0 has been used for developing 11 Copyright (C) 2007-2009 STMicroelectronics Ltd 25 void __iomem *ioaddr = hw->pcsr; in dwmac100_core_init() 39 void __iomem *ioaddr = hw->pcsr; in dwmac100_dump_mac_regs() 66 void __iomem *ioaddr = hw->pcsr; in dwmac100_set_umac_addr() 74 void __iomem *ioaddr = hw->pcsr; in dwmac100_get_umac_addr() 81 void __iomem *ioaddr = (void __iomem *)dev->base_addr; in dwmac100_set_filter() 84 if (dev->flags & IFF_PROMISC) { in dwmac100_set_filter() [all …]
|
/openbmc/linux/drivers/clk/uniphier/ |
H A D | clk-uniphier-sys.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include "clk-uniphier.h" 12 UNIPHIER_CLK_FACTOR("sd-200m", -1, "spll", 1, 8), \ 13 UNIPHIER_CLK_FACTOR("sd-133m", -1, "vpll27a", 1, 2) 16 UNIPHIER_CLK_FACTOR("sd-200m", -1, "spll", 1, 12), \ 17 UNIPHIER_CLK_FACTOR("sd-133m", -1, "spll", 1, 18) 20 UNIPHIER_CLK_FACTOR("sd-200m", -1, "spll", 1, 10), \ 21 UNIPHIER_CLK_FACTOR("sd-133m", -1, "spll", 1, 15) 24 UNIPHIER_CLK_FACTOR("sd-200m", -1, "spll", 1, 4), \ 25 UNIPHIER_CLK_FACTOR("sd-133m", -1, "spll", 1, 6) [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | cdc_ether.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2003-2005 by David Brownell 26 return (desc->bInterfaceClass == USB_CLASS_COMM && in is_rndis() 27 desc->bInterfaceSubClass == 2 && in is_rndis() 28 desc->bInterfaceProtocol == 0xff); in is_rndis() 33 return (desc->bInterfaceClass == USB_CLASS_MISC && in is_activesync() 34 desc->bInterfaceSubClass == 1 && in is_activesync() 35 desc->bInterfaceProtocol == 1); in is_activesync() 40 return (desc->bInterfaceClass == USB_CLASS_WIRELESS_CONTROLLER && in is_wireless_rndis() 41 desc->bInterfaceSubClass == 1 && in is_wireless_rndis() [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | sni_ave.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * sni_ave.c - Socionext UniPhier AVE ethernet driver 4 * Copyright 2016-2018 Socionext inc. 64 #define AVE_LINKSEL 0x8034 /* Link speed setting */ 103 ((num) * ((priv)->data->is_desc_64bit ? AVE_DESC_SIZE_64 : \ 172 if (priv->data->is_desc_64bit) { in ave_desc_read() 182 return readl(priv->iobase + addr); in ave_desc_read() 197 if (priv->data->is_desc_64bit) { in ave_desc_write() 206 writel(val, priv->iobase + addr); in ave_desc_write() 220 if (priv->data->is_desc_64bit) in ave_desc_write_addr() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/socionext/ |
H A D | uniphier-pxs3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/uniphier-gpio.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/thermal/thermal.h> 14 compatible = "socionext,uniphier-pxs3"; 15 #address-cells = <2>; 16 #size-cells = <2>; 17 interrupt-parent = <&gic>; 20 #address-cells = <2>; [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/pensando/ |
H A D | ionic.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 13 - Identifying the Adapter 14 - Enabling the driver 15 - Configuring the driver 16 - Statistics 17 - Support 25 $ lspci -d 1dd8: 34 ionic 0000:b5:00.0: 126.016 Gb/s available PCIe bandwidth (8.0 GT/s PCIe x16 link) 36 ionic 0000:b5:00.0 enp181s0: Link up - 100 Gbps 37 ionic 0000:b6:00.0: 126.016 Gb/s available PCIe bandwidth (8.0 GT/s PCIe x16 link) [all …]
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sunhme.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 38 #define GREG_STAT_ACNTEXP 0x00000004 /* Align-error counter expired */ 39 #define GREG_STAT_CCNTEXP 0x00000008 /* CRC-error counter expired */ 40 #define GREG_STAT_LCNTEXP 0x00000010 /* Length-error counter expired */ 42 #define GREG_STAT_CVCNTEXP 0x00000040 /* Code-violation counter expired */ 46 #define GREG_STAT_MAXPKTERR 0x00000400 /* Max-packet size error */ 47 #define GREG_STAT_NCNTEXP 0x00000800 /* Normal-collision counter expired */ 48 #define GREG_STAT_ECNTEXP 0x00001000 /* Excess-collision counter expired */ 49 #define GREG_STAT_LCCNTEXP 0x00002000 /* Late-collision counter expired */ 50 #define GREG_STAT_FCNTEXP 0x00004000 /* First-collision counter expired */ [all …]
|
/openbmc/linux/drivers/net/ethernet/renesas/ |
H A D | sh_eth.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2006-2012 Nobuhiro Iwamatsu 6 * Copyright (C) 2008-2014 Renesas Solutions Corp. 7 * Copyright (C) 2013-2017 Cogent Embedded, Inc. 15 #include <linux/dma-mapping.h> 19 #include <linux/mdio-bitbang.h> 44 [0 ... SH_ETH_MAX_REGISTER_OFFSET - 1] = SH_ETH_OFFSET_INVALID 53 __diag_ignore(GCC, 8, "-Woverride-init", 350 u16 offset = mdp->reg_offset[enum_index]; in sh_eth_write() 355 iowrite32(data, mdp->addr + offset); in sh_eth_write() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_tc_tunnel.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # In-place tunneling 10 readonly ns_prefix="ns-$$-" 32 ip link add dev veth1 mtu 1500 netns "${ns1}" type veth \ 35 ip netns exec "${ns1}" ethtool -K veth1 tso off 37 ip -netns "${ns1}" link set veth1 up 38 ip -netns "${ns2}" link set veth2 up 40 ip -netns "${ns1}" -4 addr add "${ns1_v4}/24" dev veth1 41 ip -netns "${ns2}" -4 addr add "${ns2_v4}/24" dev veth2 42 ip -netns "${ns1}" -6 addr add "${ns1_v6}/64" dev veth1 nodad [all …]
|
H A D | test_xdp_redirect_multi.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # - - - - - - - - - - - - - - - - - - - 7 # - -| - - - - - - | - - - - - - | - - 8 # --------- --------- --------- 10 # --------- --------- --------- 19 # ns1 -> gw: ns1, ns2, ns3, should receive the arp request 22 # ns1 -> gw: ns1 should not receive, ns2, ns3 should receive redirects. 24 # ping test: ns1 -> ns2 (block), echo requests will be redirect back 34 LOG_DIR=$(mktemp -d) 35 declare -a NS [all …]
|
/openbmc/linux/tools/testing/selftests/net/openvswitch/ |
H A D | openvswitch.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 # Kselftest framework requirement - SKIP code is 4. 11 PAUSE_ON_FAIL=no 16 arp_ping eth-arp: Basic arp ping between two NS 17 ct_connect_v4 ip4-ct-xon: Basic ipv4 tcp connection using ct 18 connect_v4 ip4-xon: Basic ipv4 ping between two NS 19 nat_connect_v4 ip4-na [all...] |
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-i2c.c | 26 * The Synopsys DWC ETHER XGMAC Software Driver and documentation 47 * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 76 * ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY 86 * The Synopsys DWC ETHER XGMAC Software Driver and documentation 107 * PARTICULAR PURPOSE ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS 125 #include "xgbe-common.h" 154 while (wait--) { in xgbe_i2c_abort() 161 return -EBUSY; in xgbe_i2c_abort() 169 while (wait--) { in xgbe_i2c_set_enable() 177 return -EBUSY; in xgbe_i2c_set_enable() [all …]
|