Home
last modified time | relevance | path

Searched +full:master +full:- +full:stats (Results 1 – 25 of 520) sorted by relevance

12345678910>>...21

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/qcom/
Dqcom,rpm-master-stats.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/qcom/qcom,rpm-master-stats.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Technologies, Inc. (QTI) RPM Master Stats
10 - Konrad Dybcio <konrad.dybcio@linaro.org>
16 (particularly around entering hardware-driven low power modes: XO shutdown
17 and total system-wide power collapse) are first made at Master-level, and
20 The Master Stats provide a few useful bits that can be used to assess whether
21 our device has entered the desired low-power mode, how long it took to do so,
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l2_drops.sh2 # SPDX-License-Identifier: GPL-2.0
4 # Test devlink-trap L2 drops functionality over mlxsw. Each registered L2 drop
48 ip link set dev $swp1 master br0
49 ip link set dev $swp2 master br0
105 $MZ $h1 -c 0 -p 100 -a $smac -b bcast -t ip -d 1msec -q &
124 # Remove PVID flag. This should prevent untagged and prio-tagged
126 bridge vlan add vid 1 dev $swp1 untagged master
131 $MZ $h1 "$opt" -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
137 bridge vlan add vid 1 dev $swp1 pvid untagged master
141 check_err $? "Trap stats not idle when packets should not be dropped"
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l2_drops.sh2 # SPDX-License-Identifier: GPL-2.0
4 # Test devlink-trap L2 drops functionality over mlxsw. Each registered L2 drop
47 ip link set dev $swp1 master br0
48 ip link set dev $swp2 master br0
104 $MZ $h1 -c 0 -p 100 -a $smac -b bcast -t ip -d 1msec -q &
123 # Remove PVID flag. This should prevent untagged and prio-tagged
125 bridge vlan add vid 1 dev $swp1 untagged master
130 $MZ $h1 "$opt" -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
136 bridge vlan add vid 1 dev $swp1 pvid untagged master
140 check_err $? "Trap stats not idle when packets should not be dropped"
[all …]
/kernel/linux/linux-5.10/drivers/net/wan/
Ddlci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 * sent back to Linux for re-transmission
108 dev->stats.rx_errors++; in dlci_receive()
113 hdr = (struct frhdr *) skb->data; in dlci_receive()
116 skb->dev = dev; in dlci_receive()
118 if (hdr->control != FRAD_I_UI) in dlci_receive()
121 hdr->control); in dlci_receive()
122 dev->stats.rx_errors++; in dlci_receive()
125 switch (hdr->IP_NLPID) in dlci_receive()
128 if (hdr->NLPID != FRAD_P_SNAP) in dlci_receive()
[all …]
Dsbni.c8 * Driver supports SBNI12-02,-04,-05,-10,-11 cards, single and
9 * double-channel, PCI and ISA modifications.
18 * - Fixed bug in probe
20 * - Driver was completely redesigned by Denis I.Timofeev,
21 * - now PCI/Dual, ISA/Dual (with single interrupt line) models are
22 * - supported
24 * - PCI cards support
26 * - Completely rebuilt all the packet storage system
27 * - to work in Ethernet-like style.
32 * - added pre-calculation for CRC, fixed bug with "len-2" frames,
[all …]
/kernel/linux/linux-5.10/net/sched/
Dsch_teql.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 ----------------
36 --------------
42 f.e. it will equalize 9600baud line and 100Mb ethernet perfectly :-)
69 #define NEXT_SLAVE(q) (((struct teql_sched_data *)qdisc_priv(q))->next)
81 if (q->q.qlen < dev->tx_queue_len) { in teql_enqueue()
82 __skb_queue_tail(&q->q, skb); in teql_enqueue()
97 skb = __skb_dequeue(&dat->q); in teql_dequeue()
98 dat_queue = netdev_get_tx_queue(dat->m->dev, 0); in teql_dequeue()
99 q = rcu_dereference_bh(dat_queue->qdisc); in teql_dequeue()
[all …]
/kernel/linux/linux-6.6/net/sched/
Dsch_teql.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 ----------------
36 --------------
42 f.e. it will equalize 9600baud line and 100Mb ethernet perfectly :-)
69 #define NEXT_SLAVE(q) (((struct teql_sched_data *)qdisc_priv(q))->next)
81 if (q->q.qlen < dev->tx_queue_len) { in teql_enqueue()
82 __skb_queue_tail(&q->q, skb); in teql_enqueue()
97 skb = __skb_dequeue(&dat->q); in teql_dequeue()
98 dat_queue = netdev_get_tx_queue(dat->m->dev, 0); in teql_dequeue()
99 q = rcu_dereference_bh(dat_queue->qdisc); in teql_dequeue()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/ocelot/
Dpsfp.sh2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright 2021-2022 NXP
48 # Per-Stream Filtering and Policing filters
76 local stats=""
78 stats=$(tc -j -s filter show dev ${swp1} ingress chain $(PSFP) pref 1)
79 packets=$(echo ${stats} | jq ".[1].options.actions[].stats.packets")
80 drops=$(echo ${stats} | jq ".[1].options.actions[].stats.drops")
118 ip link set ${swp1} master br0
119 ip link set ${swp2} master br0
127 ${h2_mac_addr} vlan ${STREAM_VID} static master
[all …]
/kernel/linux/linux-6.6/drivers/soc/qcom/
Drpm_master_stats.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
6 * This driver supports what is known as "Master Stats v2" in Qualcomm
34 /* Per-subsystem (*not necessarily* SoC-wide) XO shutdown stats */
43 struct master_stats_data *data = s->private; in master_stats_show()
46 memcpy_fromio(&stat, data->base, sizeof(stat)); in master_stats_show()
48 seq_printf(s, "%s:\n", data->label); in master_stats_show()
70 struct device *dev = &pdev->dev; in master_stats_probe()
77 count = of_property_count_strings(dev->of_node, "qcom,master-names"); in master_stats_probe()
83 return -ENOMEM; in master_stats_probe()
[all …]
/kernel/linux/linux-5.10/net/hsr/
Dhsr_forward.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright 2011-2014 Autronica Fire and Security AS
5 * 2011-2014 Arvid Brodin, arvid.brodin@alten.se
24 * --
25 * Or not - resetting the counter and bridging the frame would create a
45 if (!ether_addr_equal(eth_hdr->h_dest, in is_supervision_frame()
46 hsr->sup_multicast_addr)) in is_supervision_frame()
50 if (!(eth_hdr->h_proto == htons(ETH_P_PRP) || in is_supervision_frame()
51 eth_hdr->h_proto == htons(ETH_P_HSR))) in is_supervision_frame()
55 if (eth_hdr->h_proto == htons(ETH_P_HSR)) { /* Okay HSRv1. */ in is_supervision_frame()
[all …]
/kernel/linux/linux-6.6/net/dsa/
Dmaster.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Handling of a master device, switching frames via its switch fabric CPU port
5 * Copyright (c) 2017 Savoir-faire Linux Inc.
15 #include "master.h"
21 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_master_get_regs_len()
22 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_regs_len()
23 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_regs_len()
24 int port = cpu_dp->index; in dsa_master_get_regs_len()
28 if (ops->get_regs_len) { in dsa_master_get_regs_len()
29 len = ops->get_regs_len(dev); in dsa_master_get_regs_len()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/
D3c515.c2 Written 1997-1998 by Donald Becker.
15 2000/2/2- Added support for kernel-level ISAPnP
19 2001/11/17 - Added ethtool support (jgarzik)
21 2002/10/28 - Locking updates for 2.5 (alan@lxorguk.ukuu.org.uk)
30 /* Set the copy breakpoint for the copy-only-tiny-frames scheme.
40 /* Enable the automatic media selection code -- usually set. */
43 /* Allow the use of fragment bus master transfers instead of only
44 programmed-I/O for Vortex cards. Full-bus-master transfers are always
84 /* Put out somewhat more debugging messages. (0 - no msg, 1 minimal msgs). */
86 /* Some values here only for performance evaluation and path-coverage
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/3com/
D3c515.c2 Written 1997-1998 by Donald Becker.
15 2000/2/2- Added support for kernel-level ISAPnP
19 2001/11/17 - Added ethtool support (jgarzik)
21 2002/10/28 - Locking updates for 2.5 (alan@lxorguk.ukuu.org.uk)
30 /* Set the copy breakpoint for the copy-only-tiny-frames scheme.
40 /* Enable the automatic media selection code -- usually set. */
43 /* Allow the use of fragment bus master transfers instead of only
44 programmed-I/O for Vortex cards. Full-bus-master transfers are always
86 /* Put out somewhat more debugging messages. (0 - no msg, 1 minimal msgs). */
88 /* Some values here only for performance evaluation and path-coverage
[all …]
/kernel/linux/linux-6.6/net/hsr/
Dhsr_forward.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright 2011-2014 Autronica Fire and Security AS
5 * 2011-2014 Arvid Brodin, arvid.brodin@alten.se
24 * --
25 * Or not - resetting the counter and bridging the frame would create a
47 if (!ether_addr_equal(eth_hdr->h_dest, in is_supervision_frame()
48 hsr->sup_multicast_addr)) in is_supervision_frame()
52 if (!(eth_hdr->h_proto == htons(ETH_P_PRP) || in is_supervision_frame()
53 eth_hdr->h_proto == htons(ETH_P_HSR))) in is_supervision_frame()
57 if (eth_hdr->h_proto == htons(ETH_P_HSR)) { /* Okay HSRv1. */ in is_supervision_frame()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Dmain.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2 /* Copyright (C) 2017-2018 Netronome Systems, Inc. */
79 * struct nfp_fl_tunnel_offloads - priv data for tunnel offloads
107 * struct nfp_mtu_conf - manage MTU setting
123 * struct nfp_fl_lag - Flower APP priv data for link aggregation
126 * @group_list: List of all master/slave groups offloaded
148 * struct nfp_fl_internal_ports - Flower APP priv data for additional ports
158 * struct nfp_flower_priv - Flower APP per-vNIC priv data
165 * @stats_ids: List of free stats ids
168 * @stats_ring_size: Maximum number of allowed stats ids
[all …]
/kernel/linux/linux-6.6/Documentation/netlink/specs/
Drt_link.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 name: rt-link
4 protocol: netlink-raw
11 -
12 name: ifinfo-flags
15 -
17 -
19 -
21 -
23 -
[all …]
Dethtool.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
10 -
11 name: udp-tunnel-type
12 enum-name:
14 entries: [ vxlan, geneve, vxlan-gpe ]
15 -
20 attribute-sets:
21 -
24 -
[all …]
/kernel/linux/linux-6.6/include/uapi/linux/
Dip_vs.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
23 #define IP_VS_SVC_F_ONEPACKET 0x0004 /* one-packet scheduling */
41 #define IP_VS_STATE_MASTER 0x0001 /* started as master */
223 struct ip_vs_stats_user stats; member
241 struct ip_vs_stats_user stats; member
281 /* sync daemon state (master/backup) */
331 IPVS_CMD_ZERO, /* zero all counters and stats */
337 #define IPVS_CMD_MAX (__IPVS_CMD_MAX - 1)
351 #define IPVS_CMD_ATTR_MAX (__IPVS_CMD_ATTR_MAX - 1)
371 IPVS_SVC_ATTR_STATS, /* nested attribute for service stats */
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dip_vs.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
23 #define IP_VS_SVC_F_ONEPACKET 0x0004 /* one-packet scheduling */
41 #define IP_VS_STATE_MASTER 0x0001 /* started as master */
223 struct ip_vs_stats_user stats; member
241 struct ip_vs_stats_user stats; member
281 /* sync daemon state (master/backup) */
331 IPVS_CMD_ZERO, /* zero all counters and stats */
337 #define IPVS_CMD_MAX (__IPVS_CMD_MAX - 1)
351 #define IPVS_CMD_ATTR_MAX (__IPVS_CMD_ATTR_MAX - 1)
371 IPVS_SVC_ATTR_STATS, /* nested attribute for service stats */
[all …]
/kernel/linux/linux-5.10/drivers/hsi/clients/
Dssi_protocol.c1 // SPDX-License-Identifier: GPL-2.0-only
44 #define SSIP_MAX_CMDS 5 /* Number of pre-allocated commands buffers */
45 #define SSIP_BYTES_TO_FRAMES(x) ((((x) - 1) >> 2) + 1)
104 * struct ssi_protocol - SSI protocol (McSAAB) data
135 struct timer_list keep_alive; /* wake-up workaround */
157 data = sg_virt(msg->sgt.sgl); in ssip_set_cmd()
165 data = sg_virt(msg->sgt.sgl); in ssip_get_cmd()
176 BUG_ON(msg->sgt.nents != (unsigned int)(skb_shinfo(skb)->nr_frags + 1)); in ssip_skb_to_msg()
178 sg = msg->sgt.sgl; in ssip_skb_to_msg()
179 sg_set_buf(sg, skb->data, skb_headlen(skb)); in ssip_skb_to_msg()
[all …]
/kernel/linux/linux-6.6/drivers/hsi/clients/
Dssi_protocol.c1 // SPDX-License-Identifier: GPL-2.0-only
42 #define SSIP_MAX_CMDS 5 /* Number of pre-allocated commands buffers */
43 #define SSIP_BYTES_TO_FRAMES(x) ((((x) - 1) >> 2) + 1)
102 * struct ssi_protocol - SSI protocol (McSAAB) data
133 struct timer_list keep_alive; /* wake-up workaround */
155 data = sg_virt(msg->sgt.sgl); in ssip_set_cmd()
163 data = sg_virt(msg->sgt.sgl); in ssip_get_cmd()
174 BUG_ON(msg->sgt.nents != (unsigned int)(skb_shinfo(skb)->nr_frags + 1)); in ssip_skb_to_msg()
176 sg = msg->sgt.sgl; in ssip_skb_to_msg()
177 sg_set_buf(sg, skb->data, skb_headlen(skb)); in ssip_skb_to_msg()
[all …]
/kernel/linux/linux-5.10/net/dsa/
Dmaster.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Handling of a master device, switching frames via its switch fabric CPU port
5 * Copyright (c) 2017 Savoir-faire Linux Inc.
13 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_master_get_regs_len()
14 const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; in dsa_master_get_regs_len()
15 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_regs_len()
16 int port = cpu_dp->index; in dsa_master_get_regs_len()
20 if (ops->get_regs_len) { in dsa_master_get_regs_len()
21 len = ops->get_regs_len(dev); in dsa_master_get_regs_len()
30 if (ds->ops->get_regs_len) { in dsa_master_get_regs_len()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
Dhostap_80211_tx.c1 // SPDX-License-Identifier: GPL-2.0
13 /* Ethernet-II snap header (RFC1042 for most EtherTypes) */
16 /* Bridge-Tunnel header (for EtherTypes ETH_P_AARP and ETH_P_IPX) */
26 hdr = (struct ieee80211_hdr *) skb->data; in hostap_dump_tx_80211()
29 name, skb->len, jiffies); in hostap_dump_tx_80211()
31 if (skb->len < 2) in hostap_dump_tx_80211()
34 fc = le16_to_cpu(hdr->frame_control); in hostap_dump_tx_80211()
41 if (skb->len < IEEE80211_DATA_HDR3_LEN) { in hostap_dump_tx_80211()
46 printk(" dur=0x%04x seq=0x%04x\n", le16_to_cpu(hdr->duration_id), in hostap_dump_tx_80211()
47 le16_to_cpu(hdr->seq_ctrl)); in hostap_dump_tx_80211()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/hostap/
Dhostap_80211_tx.c1 // SPDX-License-Identifier: GPL-2.0
13 /* Ethernet-II snap header (RFC1042 for most EtherTypes) */
16 /* Bridge-Tunnel header (for EtherTypes ETH_P_AARP and ETH_P_IPX) */
26 hdr = (struct ieee80211_hdr *) skb->data; in hostap_dump_tx_80211()
29 name, skb->len, jiffies); in hostap_dump_tx_80211()
31 if (skb->len < 2) in hostap_dump_tx_80211()
34 fc = le16_to_cpu(hdr->frame_control); in hostap_dump_tx_80211()
41 if (skb->len < IEEE80211_DATA_HDR3_LEN) { in hostap_dump_tx_80211()
46 printk(" dur=0x%04x seq=0x%04x\n", le16_to_cpu(hdr->duration_id), in hostap_dump_tx_80211()
47 le16_to_cpu(hdr->seq_ctrl)); in hostap_dump_tx_80211()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/
Dmain.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2 /* Copyright (C) 2017-2018 Netronome Systems, Inc. */
89 * struct nfp_fl_tunnel_offloads - priv data for tunnel offloads
109 * struct nfp_tun_neigh_lag - lag info
119 * struct nfp_tun_neigh - basic neighbour data
122 * @port_id: NFP port to output packet on - associated with source IPv4
131 * struct nfp_tun_neigh_ext - extended neighbour data
143 * struct nfp_tun_neigh_v4 - neighbour/route entry on the NFP for IPv4
159 * struct nfp_tun_neigh_v6 - neighbour/route entry on the NFP for IPv6
205 * struct nfp_mtu_conf - manage MTU setting
[all …]

12345678910>>...21