Home
last modified time | relevance | path

Searched +full:route +full:- +full:ptp (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_control.sh2 # SPDX-License-Identifier: GPL-2.0
4 # Test devlink-trap control trap functionality over mlxsw. Each registered
8 # +---------------------------------+
16 # +----|----------------------------+
18 # +----|----------------------------------------------------------------------+
28 # +----|----------------------------------------------------------------------+
30 # +----|----------------------------+
38 # +---------------------------------+
95 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
96 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/net/
Dsnps,dwmac.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alexandre Torgue <alexandre.torgue@st.com>
11 - Giuseppe Cavallaro <peppe.cavallaro@st.com>
12 - Jose Abreu <joabreu@synopsys.com>
23 - snps,dwmac
24 - snps,dwmac-3.50a
25 - snps,dwmac-3.610
26 - snps,dwmac-3.70a
[all …]
/Linux-v5.10/Documentation/networking/devlink/
Ddevlink-trap.rst1 .. SPDX-License-Identifier: GPL-2.0
14 For example, a device acting as a multicast-aware bridge must be able to send
21 kernel so that it will route it as well and generate an ICMP Time Exceeded
22 error datagram. Without letting the kernel route such packets itself, utilities
31 The ``devlink-trap`` mechanism allows capable device drivers to register their
35 Upon receiving trapped packets, ``devlink`` will perform a per-trap packets and
38 port). This is especially useful for drop traps (see :ref:`Trap-Types`)
42 The following diagram provides a general overview of ``devlink-trap``::
49 +---------------------------------------------------+
52 +-------+--------+
[all …]
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c1 // SPDX-License-Identifier: GPL-2.0-only
5 Copyright (C) 2007-2011 STMicroelectronics Ltd
25 * dwmac1000_validate_mcast_bins - validates the number of Multicast filter bins
56 * dwmac1000_validate_ucast_entries - validate the Unicast address entries
87 * stmmac_axi_setup - parse DT parameters for programming the AXI register
90 * if required, from device-tree the AXI internal register can be tuned
98 np = of_parse_phandle(pdev->dev.of_node, "snps,axi-config", 0); in stmmac_axi_setup()
102 axi = devm_kzalloc(&pdev->dev, sizeof(*axi), GFP_KERNEL); in stmmac_axi_setup()
105 return ERR_PTR(-ENOMEM); in stmmac_axi_setup()
108 axi->axi_lpi_en = of_property_read_bool(np, "snps,lpi_en"); in stmmac_axi_setup()
[all …]
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/stmicro/
Dstmmac.rst1 .. 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-v5.10/net/appletalk/
Dddp.c1 // 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>
97 if (to->sat_port != at->src_port) in atalk_search_socket()
100 if (to->sat_addr.s_net == ATADDR_ANYNET && in atalk_search_socket()
101 to->sat_addr.s_node == ATADDR_BCAST) in atalk_search_socket()
104 if (to->sat_addr.s_net == at->src_net && in atalk_search_socket()
105 (to->sat_addr.s_node == at->src_node || in atalk_search_socket()
106 to->sat_addr.s_node == ATADDR_BCAST || in atalk_search_socket()
[all …]
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/intel/
Di40e.rst1 .. SPDX-License-Identifier: GPL-2.0+
8 Copyright(c) 1999-2018 Intel Corporation.
13 - Overview
14 - Identifying Your Adapter
15 - Intel(R) Ethernet Flow Director
16 - Additional Configurations
17 - Known Issues
18 - Support
47 ----------------------
49 …intel.com/content/dam/www/public/us/en/documents/release-notes/xl710-ethernet-controller-feature-m…
[all …]
/Linux-v5.10/net/ipv6/
Droute.c1 // 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-robin the list.
33 #include <linux/route.h>
78 RT6_NUD_FAIL_HARD = -3,
79 RT6_NUD_FAIL_PROBE = -2,
80 RT6_NUD_FAIL_DO_RR = -1,
[all …]
Daddrconf.c1 // SPDX-License-Identifier: GPL-2.0-or-later
53 #include <linux/route.h>
100 return (cstamp - INITIAL_JIFFIES) * 100UL / HZ; in cstamp_delta()
304 if (del_timer(&idev->rs_timer)) in addrconf_del_rs_timer()
310 if (cancel_delayed_work(&ifp->dad_work)) in addrconf_del_dad_work()
317 if (!timer_pending(&idev->rs_timer)) in addrconf_mod_rs_timer()
319 mod_timer(&idev->rs_timer, jiffies + when); in addrconf_mod_rs_timer()
326 if (mod_delayed_work(addrconf_wq, &ifp->dad_work, delay)) in addrconf_mod_dad_work()
334 idev->stats.ipv6 = alloc_percpu(struct ipstats_mib); in snmp6_alloc_dev()
335 if (!idev->stats.ipv6) in snmp6_alloc_dev()
[all …]
/Linux-v5.10/drivers/net/dsa/sja1105/
Dsja1105_main.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2018, Sensor-Technik Wiedemann GmbH
3 * Copyright (c) 2018-2019, Vladimir Oltean <olteanv@gmail.com>
68 * Every queue i holds top[i] - base[i] frames. in sja1105_init_mac_settings()
69 * Sum of top[i] - base[i] is 511 (max hardware limit). in sja1105_init_mac_settings()
80 /* No static correction for 1-step 1588 events */ in sja1105_init_mac_settings()
92 /* Don't drop double-tagged traffic */ in sja1105_init_mac_settings()
98 /* Disable learning and I/O on user ports by default - in sja1105_init_mac_settings()
109 table = &priv->static_config.tables[BLK_IDX_MAC_CONFIG]; in sja1105_init_mac_settings()
112 if (table->entry_count) { in sja1105_init_mac_settings()
[all …]
Dsja1105_dynamic_config.c1 // 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-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2 /* Copyright (c) 2015-2018 Mellanox Technologies. All rights reserved */
29 #define MLXSW_REG_LEN(type) MLXSW_REG(type)->len
30 #define MLXSW_REG_ZERO(type, payload) memset(payload, 0, MLXSW_REG(type)->len)
32 /* SGCR - Switch General Configuration Register
33 * --------------------------------------------
55 /* SPAD - Switch Physical Address Register
56 * ---------------------------------------
72 /* SMID - Switch Multicast ID
73 * --------------------------
[all …]
/Linux-v5.10/drivers/net/ethernet/sfc/
Dmcdi_pcol.h1 /* 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-v5.10/drivers/net/
Dvxlan.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2012-2013 Vyatta Inc.
64 /* per-network namespace private data for this module */
94 return vs->flags & VXLAN_F_COLLECT_METADATA || in vxlan_collect_metadata()
102 if (a->sa.sa_family != b->sa.sa_family) in vxlan_addr_equal()
104 if (a->sa.sa_family == AF_INET6) in vxlan_addr_equal()
105 return ipv6_addr_equal(&a->sin6.sin6_addr, &b->sin6.sin6_addr); in vxlan_addr_equal()
107 return a->sin.sin_addr.s_addr == b->sin.sin_addr.s_addr; in vxlan_addr_equal()
113 ip->sin6.sin6_addr = nla_get_in6_addr(nla); in vxlan_nla_get_addr()
114 ip->sa.sa_family = AF_INET6; in vxlan_nla_get_addr()
[all …]