/openbmc/linux/Documentation/devicetree/bindings/soc/qcom/ |
H A D | qcom,rpm-master-stats.yaml | 1 # 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 …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_l2_drops.sh | 2 # 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 …]
|
/openbmc/linux/drivers/net/mctp/ |
H A D | mctp-i3c.c | 1 // 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 …]
|
/openbmc/linux/net/sched/ |
H A D | sch_teql.c | 1 // 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 …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/ocelot/ |
H A D | psfp.sh | 2 # 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 …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | rpm_master_stats.c | 1 // 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 …]
|
H A D | Kconfig | 1 # 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 43 be called qcom-cpr 110 Say yes here to support USB-C and battery status on modern Qualcomm 133 purpose of exchanging sector-data between the remote filesystem 139 tristate "Qualcomm RPM Master stats" 142 The RPM Master sleep stats driver provides detailed per-subsystem 144 assess whether all the low-power modes available are entered as 150 tristate "Qualcomm RPM-Hardened (RPMH) Communication" [all …]
|
/openbmc/linux/drivers/net/ethernet/3com/ |
H A D | 3c515.c | 2 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 …]
|
H A D | 3c59x.c | 3 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 …]
|
/openbmc/linux/net/dsa/ |
H A D | master.c | 1 // 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 …]
|
/openbmc/linux/net/hsr/ |
H A D | hsr_forward.c | 1 // 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 …]
|
/openbmc/openbmc-test-automation/tools/ct_metrics/ |
H A D | gen_csv_results.py | 6 http://robot-framework.readthedocs.io/en/3.0/autodoc/robot.result.html 33 info = " For more information: " + this_program + " -h" 45 " http://robot-framework.readthedocs.io/en/3.0/autodoc/robot.result.html" 48 prefix_chars="-+", 52 "--source", 53 "-s", 61 "--dest", 62 "-d", 70 "--version_id", 73 ' e.g. "v2.1-215-g6e7eacb". This parameter is required.' [all …]
|
/openbmc/linux/Documentation/netlink/specs/ |
H A D | rt_link.yaml | 1 # 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 …]
|
H A D | ethtool.yaml | 1 # 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 …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | ip_vs.h | 1 /* 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 …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/serialcheck/ |
H A D | serialcheck_1.0.0.bb | 3 LICENSE = "GPL-2.0-only" 7 git://github.com/nsekhar/serialcheck.git;branch=master;protocol=https \ 16 DEPENDS:append:libc-musl = " argp-standalone" 17 EXTRA_OEMAKE:append:libc-musl = " LIBS='-largp'" 19 PACKAGE_BEFORE_PN += "${PN}-stats" 22 install -d ${D}${bindir} 25 install -d ${D}${docdir}/${BP} 29 FILES:${PN}-stats = "${bindir}/serialstats"
|
/openbmc/linux/drivers/net/wireless/intersil/hostap/ |
H A D | hostap_80211_tx.c | 1 // 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 …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | main.h | 1 /* 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 …]
|
/openbmc/linux/drivers/hsi/clients/ |
H A D | ssi_protocol.c | 1 // 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 …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/liblognorm/ |
H A D | liblognorm_2.0.6.bb | 1 SUMMARY = "Liblognorm is a fast-samples based normalization library." 6 LICENSE = "LGPL-2.1-or-later" 11 SRC_URI = "git://github.com/rsyslog/liblognorm;branch=master;protocol=https \ 12 file://0001-Add-asprintf-to-autoconf-function-check-macro.patch \ 21 PACKAGECONFIG[regexp] = "--enable-regexp,--disable-regexp,pcre2," 22 PACKAGECONFIG[debug] = "--enable-debug,--disable-debug,," 23 PACKAGECONFIG[advstats] = "--enable-advanced-stats,--disable-advanced-stats,," 24 PACKAGECONFIG[docs] = "--enable-docs,--disable-docs,sphinx," 25 PACKAGECONFIG[testbench] = "--enable-testbench,--disable-testbench,," 26 PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,," [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_vlan.c | 1 // 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 …]
|
/openbmc/u-boot/drivers/mtd/ |
H A D | mtdpart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> 43 * kstrdup - allocate space for and copy an existing string 66 bool mtd_partitions_used(struct mtd_info *master) in mtd_partitions_used() argument 70 list_for_each_entry(slave, &master->partitions, node) { in mtd_partitions_used() 71 if (slave->usecount) in mtd_partitions_used() 79 * mtd_parse_partition - Parse @mtdparts partition definition, fill @partition 103 if (*mtdparts == '-') { in mtd_parse_partition() 105 partition->size = MTD_SIZE_REMAINING; in mtd_parse_partition() 108 partition->size = ustrtoull(mtdparts, (char **)&mtdparts, 0); in mtd_parse_partition() [all …]
|
/openbmc/linux/drivers/scsi/csiostor/ |
H A D | csio_mb.c | 4 * 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 …]
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdchar.c | 1 // 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 …]
|
/openbmc/u-boot/doc/ |
H A D | README.sched | 4 'sched.c' provides an very simplistic multi-threading scheduler. 16 - There are NO primitives for thread synchronization (locking, 19 - Only the GPRs and FPRs context is saved during a thread context 23 - The scheduler is NOT transparent to the user. The user 27 - There are NO priorities, and the scheduling policy is round-robin 30 - There are NO capabilities to collect thread CPU usage, scheduler 31 stats, thread status etc. 33 - The semantics are somewhat based on those of pthreads, but NOT 36 - Only seven threads are allowed. These can be easily increased by 39 - The stack size of each thread is 8KBytes. This can be easily [all …]
|