Home
last modified time | relevance | path

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

123456789

/linux/Documentation/devicetree/bindings/soc/qcom/
H A 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/tools/testing/selftests/drivers/net/mlxsw/
H A 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/net/sched/
H A 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/drivers/net/mctp/
H A 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/tools/testing/selftests/drivers/net/ocelot/
H A 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/Documentation/netlink/specs/
H A Drt_neigh.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 name: rt-neigh
4 protocol: netlink-raw
11 -
15 -
16 name: ndm-family
18 -
19 name: ndm-pad
22 -
23 name: ndm-ifindex
[all …]
H A Dconntrack.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
4 protocol: netlink-raw
11 -
15 -
16 name: nfgen-family
18 -
21 -
22 name: res-id
23 byte-order: big-endian
25 -
[all …]
H A Dethtool.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
8 uapi-header: linux/ethtool_netlink_generated.h
11 -
12 name: udp-tunnel-type
13 enum-name:
15 entries: [ vxlan, geneve, vxlan-gpe ]
16 enum-cnt-name: __ethtool-udp-tunnel-type-cnt
17 render-max: true
18 -
[all …]
H A 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/drivers/net/ethernet/3com/
H A 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 …]
H A 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/drivers/net/phy/
H A Ddp83tg720.c1 // SPDX-License-Identifier: GPL-2.0
16 * DP83TG720S_POLL_ACTIVE_LINK - Polling interval in milliseconds when the link
18 * DP83TG720S_POLL_NO_LINK_MIN - Minimum polling interval in milliseconds when
20 * DP83TG720S_POLL_NO_LINK_MAX - Maximum polling interval in milliseconds when
76 /* Register 0x0576: TDR Master Link Down Control */
88 * 32-bit or 16-bit counters for TX and RX statistics and must be read in
91 * - DP83TG720S_PKT_STAT_1: Contains TX packet count bits [15:0].
92 * - DP83TG720S_PKT_STAT_2: Contains TX packet count bits [31:16].
93 * - DP83TG720S_PKT_STAT_3: Contains TX error packet count.
94 * - DP83TG720S_PKT_STAT_4: Contains RX packet count bits [15:0].
[all …]
H A Ddp83td510.c1 // SPDX-License-Identifier: GPL-2.0
16 /* Bit 7 - mii_interrupt, active high. Clears on read.
40 * 32-bit or 16-bit counters for TX and RX statistics and must be read in
43 * - DP83TD510E_PKT_STAT_1: Contains TX packet count bits [15:0].
44 * - DP83TD510E_PKT_STAT_2: Contains TX packet count bits [31:16].
45 * - DP83TD510E_PKT_STAT_3: Contains TX error packet count.
46 * - DP83TD510E_PKT_STAT_4: Contains RX packet count bits [15:0].
47 * - DP83TD510E_PKT_STAT_5: Contains RX packet count bits [31:16].
48 * - DP83TD510E_PKT_STAT_6: Contains RX error packet count.
68 * "Application Report - DP83TD510E Cable Diagnostics Toolkit":
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A 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/net/hsr/
H A 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/include/uapi/linux/
H A 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 …]
H A 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/drivers/hsi/clients/
H A 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/drivers/net/ethernet/netronome/nfp/flower/
H A 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/net/bridge/
H A 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/drivers/mtd/
H A 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 …]
/linux/drivers/scsi/csiostor/
H A 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/drivers/net/ethernet/mellanox/mlxsw/
H A 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) \
121 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mgpc), mgpc_pl); in mlxsw_sp_flow_counter_get()
138 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mgpc), mgpc_pl); in mlxsw_sp_flow_counter_clear()
172 if (!(skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP)) in mlxsw_sp_skb_requires_ts()
186 txhdr_info->data = true; in mlxsw_sp_txhdr_info_data_init()
187 txhdr_info->max_fid = max_fid; in mlxsw_sp_txhdr_info_data_init()
[all …]
/linux/drivers/net/ethernet/amd/
H A Dlance.c3 Written/copyright 1993-1998 by Donald Becker.
11 with most other LANCE-based bus-master (NE2100/NE2500) ethercards.
19 - alignment problem with 1.3.* kernel and some minor changes.
21 - added support for Linux/Alpha, but removed most of it, because
23 - added hook for the 32bit lance driver
24 - added PCnetPCI II (79C970A) to chip table
26 - hopefully fix above so Linux/Alpha can use ISA cards too.
27 8/20/96 Fixed 7990 autoIRQ failure and reversed unneeded alignment -djb
28 v1.12 10/27/97 Module support -djb
29 v1.14 2/3/98 Module support modified, made PCI support optional -djb
[all …]
/linux/drivers/net/wan/
H A Dhd64572.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Hitachi (now Renesas) SCA-II HD64572 driver for Linux
5 * Copyright (C) 1998-2008 Krzysztof Halasa <khc@pm.waw.pl>
7 * Source of information: HD64572 SCA-II User's Manual
11 * Packet buffer descriptor rings - starting from card->rambase:
17 * Packet data buffers - starting from card->rambase + buff_offset:
44 #define get_msci(port) ((port)->chan ? MSCI1_OFFSET : MSCI0_OFFSET)
45 #define get_dmac_rx(port) ((port)->chan ? DMAC1RX_OFFSET : DMAC0RX_OFFSET)
46 #define get_dmac_tx(port) ((port)->chan ? DMAC1TX_OFFSET : DMAC0TX_OFFSET)
48 #define sca_in(reg, card) readb((card)->scabase + (reg))
[all …]

123456789