/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_control.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Test devlink-trap control trap functionality over mlxsw. Each registered 8 # +---------------------------------+ 16 # +----|----------------------------+ 18 # +----|----------------------------------------------------------------------+ 28 # +----|----------------------------------------------------------------------+ 30 # +----|----------------------------+ 38 # +---------------------------------+ 97 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2 98 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2 [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | local_termination.sh | 2 # SPDX-License-Identifier: GPL-2.0 105 export TCPDUMP_EXTRA_FLAGS="-pl" 118 $MZ -q $if_name "$pkt" 143 tcpdump_show $if_name | grep -q "$pattern" 155 ip route add 225.100.1.0/24 dev $if_name vrf $vrf_name 156 ip -6 route add ff2e::/64 dev $if_name vrf $vrf_name 164 ip route del 225.100.1.0/24 dev $if_name vrf $vrf_name 165 ip -6 route del ff2e::/64 dev $if_name vrf $vrf_name 307 "ethertype PTP (0x88f7).* PTPv2.* msg type : sync msg" \ 310 check_rcv $rcv_if_name "1588v2 over L2 transport, Follow-Up" \ [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sa8540p-ride.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include "sa8540p-pmics.dtsi" 17 compatible = "qcom,sa8540p-ride", "qcom,sa8540p"; 29 stdout-path = "serial0:115200n8"; 34 regulators-0 { 35 compatible = "qcom,pm8150-rpmh-regulators"; 36 qcom,pmic-id = "a"; [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | pci_hw.h | 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 2 /* Copyright (c) 2015-2018 Mellanox Technologies. All rights reserved */ 79 * For Ethernet EMAD (Direct Route and non Direct Route) - 81 * For InfiniBand CTL - must be set if packet destination is local device 99 * Size of i-th scatter/gather entry, 0 if entry is unused. 104 * Physical address of i-th scatter/gather entry. 208 * 1 - Send Queue 209 * 0 - Receive Queue 225 * 0: uSec - 1.024uSec (default for devices which do not support 227 * 1: FRC - Free Running Clock - units of 1nSec [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/stmicro/ |
H A D | stmmac.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 13 - In This Release 14 - Feature List 15 - Kernel Configuration 16 - Command Line Parameters 17 - Driver Information and Notes 18 - Debug Information 19 - Support 33 (and older) and DesignWare(R) Cores Ethernet Quality-of-Service version 4.0 35 DesignWare(R) Cores XGMAC - 10G Ethernet MAC and DesignWare(R) Cores [all …]
|
/linux/net/appletalk/ |
H A D | ddp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 29 * Bradford Johnson : IP-over-DDP (experimental) 30 * Jay Schulist : Moved IP-over-DDP to its own 59 #include <net/route.h> 98 if (to->sat_port != at->src_port) in atalk_search_socket() 101 if (to->sat_addr.s_net == ATADDR_ANYNET && in atalk_search_socket() 102 to->sat_addr.s_node == ATADDR_BCAST) { in atalk_search_socket() 103 if (atif->address.s_node == at->src_node && in atalk_search_socket() 104 atif->address.s_net == at->src_net) { in atalk_search_socket() 106 * that received the packet -- use it in atalk_search_socket() [all …]
|
/linux/net/ipv6/ |
H A D | route.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * FIB front-end. 14 * - respect outgoing interface 15 * - select from (probably) reachable routers (i.e. 17 * - always select the same router if it is (probably) 18 * reachable. otherwise, round-robi [all...] |
H A D | addrconf.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 53 #include <linux/route.h> 101 return (cstamp - INITIAL_JIFFIES) * 100UL / HZ; in cstamp_delta() 318 if (timer_delete(&idev->rs_timer)) in addrconf_del_rs_timer() 324 if (cancel_delayed_work(&ifp->dad_work)) in addrconf_del_dad_work() 331 if (!mod_timer(&idev->rs_time in addrconf_mod_rs_timer() [all...] |
/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2018, Sensor-Technik Wiedemann GmbH 3 * Copyright (c) 2018-2019, Vladimir Oltean <olteanv@gmail.com> 76 vlan = priv->static_config.tables[BLK_IDX_VLAN_LOOKUP].entries; in sja1105_is_vlan_configured() 77 count = priv->static_config.tables[BLK_IDX_VLAN_LOOKUP].entry_count; in sja1105_is_vlan_configured() 84 return -1; in sja1105_is_vlan_configured() 89 struct sja1105_private *priv = ds->priv; in sja1105_drop_untagged() 92 mac = priv->static_config.tables[BLK_IDX_MAC_CONFIG].entries; in sja1105_drop_untagged() 107 mac = priv->static_config.tables[BLK_IDX_MAC_CONFIG].entries; in sja1105_pvid_apply() 122 struct sja1105_private *priv = ds->priv; in sja1105_commit_pvid() [all …]
|
H A D | sja1105_dynamic_config.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2018-2019, Vladimir Oltean <olteanv@gmail.com> 6 /* In the dynamic configuration interface, the switch exposes a register-like 13 * This file creates a per-switch-family abstraction called 15 * - sja1105_dynamic_config_write 16 * - sja1105_dynamic_config_read 25 * +-----------------------------------------+------------------+ 27 * +-----------------------------------------+------------------+ 29 * <----------------------- packed_size ------------------------> 33 * function is reused (bar exceptional cases - see [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/intel/ |
H A D | ice.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 2018-2021 Intel Corporation. 13 - Overview 14 - Identifying Your Adapter 15 - Important Notes 16 - Additional Features & Configurations 17 - Performance Optimization 28 This driver supports XDP (Express Data Path) and AF_XDP zero-copy. Note that 43 ------------------------------------------- 54 1) Make sure that your system's physical memory is in a high-performance [all …]
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|
/linux/include/net/ |
H A D | sock.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 13 * Corey Minyard <wf-rch!minyard@relay.EU.net> 14 * Florian La Roche <flla@stud.uni-sb.de> 57 #include <linux/cgroup-defs.h> 79 /* This is the per-socket lock. The spinlock provides a synchronization 81 * mini-semaphore synchronizes multiple users amongst themselves. 88 * We express the mutex-alike socket_lock semantics 106 * struct sock_common - minimal network layer representation of sockets 109 * @skc_addrpair: 8-byte-aligned __u64 union of @skc_daddr & @skc_rcv_saddr 123 * @skc_portaddr_node: second hash linkage for UDP/UDP-Lite protocol [all …]
|
/linux/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|
/linux/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-nuss.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 32 #include <linux/dma/ti-cppi5.h> 33 #include <linux/dma/k3-udma-glue.h> 40 #include "am65-cpsw-nuss.h" 41 #include "am65-cpsw-switchdev.h" 42 #include "k3-cppi-desc-pool.h" 43 #include "am65-cpts.h" 132 /* The PTP event messages - Sync, Delay_Req, Pdelay_Req, and Pdelay_Resp. */ 183 writel(mac_hi, slave->port_base + AM65_CPSW_PORTN_REG_SA_H); in am65_cpsw_port_set_sl_mac() [all …]
|
/linux/drivers/net/vxlan/ |
H A D | vxlan_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2012-2013 Vyatta Inc. 76 return vs->flags & VXLAN_F_COLLECT_METADATA || in vxlan_collect_metadata() 82 * non-default VRF). 92 if (inet_sk(vs->sock->sk)->inet_sport == port && in vxlan_find_sock() 94 vs->flags == flags && in vxlan_find_sock() 95 vs->sock->sk->sk_bound_dev_if == ifindex) in vxlan_find_sock() 109 if (vs->flags & VXLAN_F_COLLECT_METADATA && in vxlan_vs_find_vni() 110 !(vs->flags & VXLAN_F_VNIFILTER)) in vxlan_vs_find_vni() 114 if (!node->vxlan) in vxlan_vs_find_vni() [all …]
|