Home
last modified time | relevance | path

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

1234567891011

/linux-6.12.1/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 <konradybcio@kernel.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 …]
/linux-6.12.1/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 …]
/linux-6.12.1/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 < READ_ONCE(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 …]
/linux-6.12.1/drivers/net/mctp/
Dmctp-i3c.c1 // SPDX-License-Identifier: GPL-2.0
14 #include <linux/i3c/master.h>
27 static const int MCTP_I3C_MAXMTU = MCTP_I3C_MAXBUF - 1;
42 static const char *MCTP_I3C_OF_PROP = "mctp-controller";
102 struct i3c_priv_xfer xfer = { .rnw = 1, .len = mi->mrl }; in mctp_i3c_read()
103 struct net_device_stats *stats = &mi->mbus->ndev->stats; in mctp_i3c_read() local
110 skb = netdev_alloc_skb(mi->mbus->ndev, in mctp_i3c_read()
111 mi->mrl + sizeof(struct mctp_i3c_internal_hdr)); in mctp_i3c_read()
113 stats->rx_dropped++; in mctp_i3c_read()
114 rc = -ENOMEM; in mctp_i3c_read()
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/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 …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
15 the low-power state for resources related to the remoteproc
26 resource on a RPM-hardened platform must use this database to get
84 and instances handled by the remote DSPs. This is a kernel-space
124 Say yes here to support USB-C and battery status on modern Qualcomm
147 purpose of exchanging sector-data between the remote filesystem
153 tristate "Qualcomm RPM Master stats"
156 The RPM Master sleep stats driver provides detailed per-subsystem
158 assess whether all the low-power modes available are entered as
164 tristate "Qualcomm RPM-Hardened (RPMH) Communication"
[all …]
/linux-6.12.1/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.
37 /* Enable the automatic media selection code -- usually set. */
40 /* Allow the use of fragment bus master transfers instead of only
41 programmed-I/O for Vortex cards. Full-bus-master transfers are always
83 /* Put out somewhat more debugging messages. (0 - no msg, 1 minimal msgs). */
85 /* Some values here only for performance evaluation and path-coverage
[all …]
D3c59x.c3 Written 1996-1999 by Donald Becker.
43 /* Set the copy breakpoint for the copy-only-tiny-frames scheme.
48 /* ARM systems perform better by disregarding the bus-master
49 transfer capability of these cards. -- rmk */
98 This is only in the support-all-kernels source code. */
117 The Boomerang size is twice as large as the Vortex -- it has additional
118 bus master control registers. */
124 code size of a per-interface flag is not worthwhile. */
145 II. Board-specific settings
151 The EEPROM settings for media type and forced-full-duplex are observed.
[all …]
/linux-6.12.1/tools/testing/selftests/net/forwarding/
Dbridge_vlan_aware.sh2 # SPDX-License-Identifier: GPL-2.0
36 ip link set dev $swp1 master br0
37 ip link set dev $swp2 master br0
121 bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1
123 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
131 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37
134 $MZ $h2 -c 1 -p 64 -a $mac -t ip -q
136 bridge fdb show brport $swp2 | grep -q de:ad:be:ef:13:37
139 log_test "Externally learned FDB entry - ageing & roaming"
141 bridge fdb del de:ad:be:ef:13:37 dev $swp2 master vlan 1 &> /dev/null
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/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 …]
Dnexthop.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
17 __u32 id; /* nexthop id - must exist */
25 return ((entry->weight_high << 8) | entry->weight) + 1; in nexthop_grp_weight()
29 NEXTHOP_GRP_TYPE_MPATH, /* hash-threshold nexthop group
36 #define NEXTHOP_GRP_TYPE_MAX (__NEXTHOP_GRP_TYPE_MAX - 1)
46 NHA_ID, /* u32; id for nexthop. id == 0 means auto-assign */
64 NHA_MASTER, /* u32; only return nexthops with given master dev */
74 /* u32; operation-specific flags */
77 /* nested; nexthop group stats */
80 /* u32; nexthop hardware stats enable */
[all …]
/linux-6.12.1/drivers/hsi/clients/
Dssi_protocol.c1 // SPDX-License-Identifier: GPL-2.0-only
41 #define SSIP_MAX_CMDS 5 /* Number of pre-allocated commands buffers */
42 #define SSIP_BYTES_TO_FRAMES(x) ((((x) - 1) >> 2) + 1)
101 * 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 …]
/linux-6.12.1/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 …]
/linux-6.12.1/net/bridge/
Dbr_vlan.c1 // SPDX-License-Identifier: GPL-2.0-only
17 u16 vid = *(u16 *)arg->key; in br_vlan_cmp()
19 return vle->vid != vid; in br_vlan_cmp()
40 if (vg->pvid == v->vid) in __vlan_add_pvid()
44 br_vlan_set_pvid_state(vg, v->state); in __vlan_add_pvid()
45 vg->pvid = v->vid; in __vlan_add_pvid()
50 if (vg->pvid != vid) in __vlan_delete_pvid()
54 vg->pvid = 0; in __vlan_delete_pvid()
68 vg = br_vlan_group(v->br); in __vlan_flags_update()
70 vg = nbp_vlan_group(v->port); in __vlan_flags_update()
[all …]
/linux-6.12.1/drivers/gpu/drm/
Ddrm_ioctl.c56 * - GET_UNIQUE ioctl, implemented by drm_getunique is wrapped up in libdrm
58 * - The libdrm drmSetBusid function is backed by the SET_UNIQUE ioctl. All
60 * - The internal set_busid kernel functions and driver callbacks are
63 * - Other ioctls and functions involved are named consistently.
76 * side-effect this fills out the unique name in the master structure.
77 * 2. Call GET_UNIQUE to read out the unique name from the master structure,
85 * means the unique name for the master node just opening is _not_ filled
119 struct drm_master *master; in drm_getunique() local
121 mutex_lock(&dev->master_mutex); in drm_getunique()
122 master = file_priv->master; in drm_getunique()
[all …]
/linux-6.12.1/drivers/scsi/csiostor/
Dcsio_mb.c4 * Copyright (c) 2008-2012 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
51 * csio_mb_fw_retval - FW return value from a mailbox response.
60 hdr = (struct fw_cmd_hdr *)(mbp->mb); in csio_mb_fw_retval()
62 return FW_CMD_RETVAL_G(ntohl(hdr->lo)); in csio_mb_fw_retval()
66 * csio_mb_hello - FW HELLO command helper
69 * @m_mbox: Master mailbox number, if any.
71 * @master: Device mastership.
77 uint32_t m_mbox, uint32_t a_mbox, enum csio_dev_master master, in csio_mb_hello() argument
[all …]
/linux-6.12.1/drivers/mtd/
Dmtdchar.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
16 #include <linux/backing-dev.h>
41 struct mtd_file_info *mfi = file->private_data; in mtdchar_lseek()
42 return fixed_size_llseek(file, offset, orig, mfi->mtd->size); in mtdchar_lseek()
56 if ((file->f_mode & FMODE_WRITE) && (minor & 1)) in mtdchar_open()
57 return -EACCES; in mtdchar_open()
64 if (mtd->type == MTD_ABSENT) { in mtdchar_open()
65 ret = -ENODEV; in mtdchar_open()
70 if ((file->f_mode & FMODE_WRITE) && !(mtd->flags & MTD_WRITEABLE)) { in mtdchar_open()
[all …]
Dmtdcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
24 #include <linux/backing-dev.h>
31 #include <linux/nvmem-provider.h>
33 #include <linux/error-injection.h>
95 dev_t index = MTD_DEVT(mtd->index); in mtd_release()
97 idr_remove(&mtd_idr, mtd->index); in mtd_release()
112 debugfs_remove_recursive(mtd->dbg.dfs_dir); in mtd_device_release()
115 nvmem_unregister(mtd->nvmem); in mtd_device_release()
117 device_unregister(&mtd->dev); in mtd_device_release()
[all …]
/linux-6.12.1/Documentation/netlink/specs/
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 -
19 -
20 name: header-flags
22 entries: [ compact-bitsets, omit-reply, stats ]
[all …]
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 …]
/linux-6.12.1/include/drm/
Ddrm_file.h4 * Copyright (c) 2009-2010, Code Aurora Forum.
69 * struct drm_minor - DRM device minor structure
74 * &struct drm_device, which is also where driver-private data and resources can
89 * struct drm_pending_event - Event queued up for userspace to read
92 * mechanism, which supports kernel-internal &struct completion, &struct dma_fence
93 * and also the DRM-specific &struct drm_event delivery mechanism.
143 * Double-linked list to keep track of this event. Can be used by the
145 * this list entry is owned by the core for its own book-keeping.
160 * struct drm_file - DRM file private data
212 * This client has or had, master capability. Protected by struct
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
2 /* Copyright (c) 2015-2018 Mellanox Technologies. All rights reserved */
63 "mellanox/mlxsw_spectrum-" __stringify(MLXSW_SP1_FWREV_MAJOR) \
76 "mellanox/mlxsw_spectrum2-" __stringify(MLXSW_SP2_FWREV_MAJOR) \
89 "mellanox/mlxsw_spectrum3-" __stringify(MLXSW_SP3_FWREV_MAJOR) \
118 * 0 - Ethernet control (e.g. EMADs, LACP)
119 * 1 - Ethernet data
173 * 0 - Data packets
174 * 6 - Control packets
189 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mgpc), mgpc_pl); in mlxsw_sp_flow_counter_get()
[all …]
/linux-6.12.1/net/tipc/
Dcrypto.c1 // SPDX-License-Identifier: GPL-2.0
94 * struct tipc_key - TIPC keys' status indicator
97 * +-----+-----+-----+-----+-----+-----+-----+-----+
99 * +-----+-----+-----+-----+-----+-----+-----+-----+
103 #define KEY_MASK ((1 << KEY_BITS) - 1)
125 * struct tipc_tfm - TIPC TFM structure to form a list of TFMs
135 * struct tipc_aead - TIPC AEAD key structure
136 * @tfm_entry: per-cpu pointer to one entry in TFM list
170 * struct tipc_crypto_stats - TIPC Crypto statistics
178 * struct tipc_crypto - TIPC TX/RX crypto structure
[all …]

1234567891011