/linux/tools/net/ynl/samples/ |
H A D | ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include "ethtool-user.h" 16 struct ethtool_rings_get_list *rings; in main() local 23 creq._present.header = 1; /* ethtool needs an empty nest, sigh */ in main() 30 printf(" %8s: ", dev->header.dev_name); in main() 31 if (dev->_present.rx_count) in main() 32 printf("rx %d ", dev->rx_count); in main() 33 if (dev->_present.tx_count) in main() 34 printf("tx %d ", dev->tx_count); in main() 35 if (dev->_present.combined_count) in main() [all …]
|
/linux/Documentation/devicetree/bindings/soc/qcom/ |
H A D | qcom,wcnss.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 21 firmware-name: 32 - qcom,riva" 33 - qcom,pronto" 35 qcom,smd-channels: 46 - $ref: /schemas/net/bluetooth/bluetooth-controller.yaml# [all …]
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_gen4_hw_data.c | 1 // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) 26 if (!self || !self->ae_mask) in adf_gen4_get_num_aes() 29 return hweight32(self->ae_mask); in adf_gen4_get_num_aes() 59 arb_info->arb_cfg = ADF_GEN4_ARB_CONFIG; in adf_gen4_get_arb_info() 60 arb_info->arb_offset = ADF_GEN4_ARB_OFFSET; in adf_gen4_get_arb_info() 61 arb_info->wt2sam_offset = ADF_GEN4_ARB_WRK_2_SER_MAP_OFFSET; in adf_gen4_get_arb_info() 67 admin_csrs_info->mailbox_offset = ADF_GEN4_MAILBOX_BASE_OFFSET; in adf_gen4_get_admin_info() 68 admin_csrs_info->admin_msg_ur = ADF_GEN4_ADMINMSGUR_OFFSET; in adf_gen4_get_admin_info() 69 admin_csrs_info->admin_msg_lr = ADF_GEN4_ADMINMSGLR_OFFSET; in adf_gen4_get_admin_info() 85 void __iomem *csr = misc_bar->virt_addr; in adf_gen4_enable_error_correction() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/haswellx/ |
H A D | uncore-interconnect.json | 7 …-width (L0) mode, flits are made up of four fits, each of which contains 20 bits of data (along wi… 17 …-width (L0) mode, flits are made up of four fits, each of which contains 20 bits of data (along wi… 131 … "BriefDescription": "Misc Events - Set 0; Cache Inserts of Atomic Transactions as Secondary", 136 …"PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 141 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Read Transactions as Secondary", 146 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 151 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Write Transactions as Secondary", 156 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 161 "BriefDescription": "Misc Events - Set 0; Fastpath Rejects", 166 "PublicDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", [all …]
|
/linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
H A D | uncore-interconnect.json | 7 …-width (L0) mode, flits are made up of four fits, each of which contains 20 bits of data (along wi… 17 …-width (L0) mode, flits are made up of four fits, each of which contains 20 bits of data (along wi… 131 … "BriefDescription": "Misc Events - Set 0; Cache Inserts of Atomic Transactions as Secondary", 136 …"PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 141 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Read Transactions as Secondary", 146 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 151 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Write Transactions as Secondary", 156 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 161 "BriefDescription": "Misc Events - Set 0; Fastpath Rejects", 166 "PublicDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ctrl.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */ 17 /* 64-bit per app capabilities */ 23 * THB-350, 32k needs to be reserved. 51 #define NFP_NET_META_IPSEC 9 /* IPsec SA index for tx and rx */ 61 /* Hash type pre-pended when a RSS hash was computed */ 74 * %NFP_NET_TXR_MAX: Maximum number of TX rings 75 * %NFP_NET_RXR_MAX: Maximum number of RX rings 80 /* Read/Write config words (0x0000 - 0x002c) 83 * %NFP_NET_CFG_TXRS_ENABLE: Bitmask of enabled TX rings [all …]
|
/linux/tools/perf/pmu-events/arch/x86/jaketown/ |
H A D | uncore-interconnect.json | 164 "BriefDescription": "BL Ingress Occupancy - DRS", 189 "BriefDescription": "BL Ingress Occupancy - NCB", 214 "BriefDescription": "BL Ingress Occupancy - NCS", 256 …ddition to the source queue. Note the special filtering equation. We do OR-reduction on the requ… 266 …ddition to the source queue. Note the special filtering equation. We do OR-reduction on the requ… 276 …ddition to the source queue. Note the special filtering equation. We do OR-reduction on the requ… 331 …er of cycles when there are pending write ACK's in the switch but the switch->IRP pipeline is not … 353 "BriefDescription": "Direct 2 Core Spawning; Spawn Failure - Egress Credits", 363 "BriefDescription": "Direct 2 Core Spawning; Spawn Failure - Egress and RBT", 373 "BriefDescription": "Direct 2 Core Spawning; Spawn Failure - RBT Not Set", [all …]
|
/linux/tools/perf/pmu-events/arch/x86/skylakex/ |
H A D | uncore-interconnect.json | 157 "BriefDescription": "FAF allocation -- sent to ADQ", 186 … "BriefDescription": "Misc Events - Set 0; Cache Inserts of Atomic Transactions as Secondary", 196 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Read Transactions as Secondary", 206 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Write Transactions as Secondary", 216 "BriefDescription": "Misc Events - Set 0; Fastpath Rejects", 226 "BriefDescription": "Misc Events - Set 0; Fastpath Requests", 236 "BriefDescription": "Misc Events - Set 0; Fastpath Transfers From Primary to Secondary", 246 "BriefDescription": "Misc Events - Set 0; Prefetch Ack Hints From Primary to Secondary", 256 "BriefDescription": "Misc Events - Set 0", 266 "BriefDescription": "Misc Events - Set 1; Lost Forward", [all …]
|
/linux/tools/perf/pmu-events/arch/x86/cascadelakex/ |
H A D | uncore-interconnect.json | 157 "BriefDescription": "FAF allocation -- sent to ADQ", 186 … "BriefDescription": "Misc Events - Set 0; Cache Inserts of Atomic Transactions as Secondary", 196 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Read Transactions as Secondary", 206 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Write Transactions as Secondary", 216 "BriefDescription": "Misc Events - Set 0; Fastpath Rejects", 226 "BriefDescription": "Misc Events - Set 0; Fastpath Requests", 236 "BriefDescription": "Misc Events - Set 0; Fastpath Transfers From Primary to Secondary", 246 "BriefDescription": "Misc Events - Set 0; Prefetch Ack Hints From Primary to Secondary", 256 "BriefDescription": "Misc Events - Set 0", 266 "BriefDescription": "Misc Events - Set 1; Lost Forward", [all …]
|
/linux/drivers/net/ethernet/google/gve/ |
H A D | gve.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2015-2024 Google LLC 10 #include <linux/dma-mapping.h> 33 /* 1 for management, 1 for rx, 1 for tx */ 36 /* Numbers of gve tx/rx stats in stats report. */ 43 /* Numbers of NIC tx/rx stats in stats report. */ 49 #define GVE_DATA_SLOT_ADDR_PAGE_MASK (~(PAGE_SIZE - 1)) 69 (GVE_ADMINQ_BUFFER_SIZE / sizeof(((struct gve_adminq_queried_flow_rule *)0)->location)) 84 /* 2K buffers for DQO-QPL */ 90 * allocs and uses a non-qpl page on the receive path of DQO QPL to free [all …]
|
/linux/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | uncore-interconnect.json | 111 "BriefDescription": "FAF allocation -- sent to ADQ", 148 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 158 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 168 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 178 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", 188 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Requests", 198 … "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Transfers From Primary to Secondary", 208 … "BriefDescription": "Counts Timeouts - Set 0 : Prefetch Ack Hints From Primary to Secondary", 218 "BriefDescription": "Counts Timeouts - Set 0 : Slow path fwpf didn't find prefetch", 228 "BriefDescription": "Misc Events - Set 1 : Lost Forward", [all …]
|
/linux/drivers/net/ethernet/sun/ |
H A D | cassini.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 19 * rings are all offset from 0. 29 /* cassini register map: 2M memory mapped in 32-bit memory space accessible as 30 * 32-bit words. there is no i/o port access. REG_ addresses are 42 * if rx weight == 1 and tx weight == 0, rx == 2x tx transfer credit 62 /* top level interrupts [0-9] are auto-cleared to 0 when the status 63 * register is read. second level interrupts [13 - 18] are cleared at 64 * the source. tx completion register 3 is replicated in [19 - 31] 70 TX FIFO */ 72 TX FIFO. i.e., [all …]
|
/linux/drivers/dma/ti/ |
H A D | k3-udma-glue.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com 12 #include <linux/dma-mapping.h> 17 #include <linux/soc/ti/k3-ringacc.h> 18 #include <linux/dma/ti-cppi5.h> 19 #include <linux/dma/k3-udma-glue.h> 21 #include "k3-udma.h" 22 #include "k3-psil-priv.h" 104 common->udmax = of_xudma_dev_get(udmax_np, NULL); in of_k3_udma_glue_parse() 105 if (IS_ERR(common->udmax)) in of_k3_udma_glue_parse() [all …]
|
/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | qcom,wcnss-pil.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,wcnss-pil.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 21 - items: 22 - enum: 23 - qcom,pronto-v1-pil 24 - qcom,pronto-v2-pil 25 - qcom,pronto-v3-pil [all …]
|
/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2019 Intel Corporation. */ 18 "Copyright(c) 2013 - 2019 Intel Corporation."; 27 * fm10k_init_module - Driver Registration Routine 43 return -ENOMEM; in fm10k_init_module() 58 * fm10k_exit_module - Driver Exit Cleanup Routine 77 struct page *page = bi->page; in fm10k_alloc_mapped_page() 87 rx_ring->rx_stats.alloc_failed++; in fm10k_alloc_mapped_page() 92 dma = dma_map_page(rx_ring->dev, page, 0, PAGE_SIZE, DMA_FROM_DEVICE); in fm10k_alloc_mapped_page() 97 if (dma_mapping_error(rx_ring->dev, dma)) { in fm10k_alloc_mapped_page() [all …]
|
/linux/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-mac.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 5 /* EMAC DMA HW engine uses three rings: 6 * Tx: 10 * Ring of descriptors with empty buffers to be filled by Rx HW. 52 #define RRD_NOR(rrd) BITS_GET((rrd)->word[0], 16, 19) 53 /* start consumer index of rfd-ring */ 54 #define RRD_SI(rrd) BITS_GET((rrd)->word[0], 20, 31) 55 /* vlan-tag (CVID, CFI and PRI) */ 56 #define RRD_CVALN_TAG(rrd) BITS_GET((rrd)->word[2], 0, 15) [all …]
|
/linux/arch/mips/include/asm/sn/ |
H A D | ioc3.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 50 u8 fill0[0x151 - 0x142 - 1]; 56 u8 fill1[0x159 - 0x153 - 1]; 62 u8 fill2[0x16a - 0x15b - 1]; 67 u8 fill3[0x170 - 0x16b - 1]; 153 u32 pad1[(0x20000 - 0x00154) / 4]; 157 u32 pad2[(0x40000 - 0x20180) / 4]; 160 u32 ssram[(0x80000 - 0x40000) / 4]; 163 0x80000 - Access to the generic devices selected with DEV0 165 0xA0000 - Access to the generic devices selected with DEV1 [all …]
|
/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-ring.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mcp251xfd - Microchip MCP251xFD Family CAN controller driver 6 // Marc Kleine-Budde <kernel@pengutronix.de> 18 #include "mcp251xfd-ram.h" 31 len = last_byte - first_byte + 1; in mcp251xfd_cmd_prepare_write_reg() 37 if (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG)) { in mcp251xfd_cmd_prepare_write_reg() 38 len += sizeof(write_reg_buf->nocrc.cmd); in mcp251xfd_cmd_prepare_write_reg() 43 len += sizeof(write_reg_buf->safe.cmd); in mcp251xfd_cmd_prepare_write_reg() 44 crc = mcp251xfd_crc16_compute(&write_reg_buf->safe, len); in mcp251xfd_cmd_prepare_write_reg() 48 len += sizeof(write_reg_buf->safe.crc); in mcp251xfd_cmd_prepare_write_reg() [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_lib.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * ice_vsi_type_str - maps VSI type enum to string equivalents 38 * ice_vsi_ctrl_all_rx_rings - Start or stop a VSI's Rx rings 40 * @ena: start or stop the Rx rings 42 * First enable/disable all of the Rx rings, flush any remaining writes, and 44 * let all of the register writes complete when enabling/disabling the Rx rings 55 ice_flush(&vsi->back->hw); in ice_vsi_ctrl_all_rx_rings() 67 * ice_vsi_alloc_arrays - Allocate queue and vector pointer arrays for the VSI 75 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays() 79 if (vsi->type == ICE_VSI_CHNL) in ice_vsi_alloc_arrays() [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/amazon/ |
H A D | ena.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 The driver supports a range of ENA devices, is link-speed independent 21 Some ENA devices support SR-IOV. This driver is used for both the 22 SR-IOV Physical Function (PF) and Virtual Function (VF) devices. 25 processing by providing multiple Tx/Rx queue pairs (the maximum number 26 is advertised by the device via the Admin Queue), a dedicated MSI-X 27 interrupt vector per Tx/Rx queue pair, adaptive interrupt moderation, 31 checksum offload. Receive-side scaling (RSS) is supported for multi-core 39 Some of the ENA devices support a working mode called Low-latency 50 ena_eth_com.[ch] Tx/Rx data path. [all …]
|
/linux/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * idpf_get_rxnfc - command to get RX flow classification rules 22 switch (cmd->cmd) { in idpf_get_rxnfc() 24 cmd->data = vport->num_rxq; in idpf_get_rxnfc() 34 return -EOPNOTSUPP; in idpf_get_rxnfc() 38 * idpf_get_rxfh_key_size - get the RSS hash key size 48 if (!idpf_is_cap_ena_all(np->adapter, IDPF_RSS_CAPS, IDPF_CAP_RSS)) in idpf_get_rxfh_key_size() 49 return -EOPNOTSUPP; in idpf_get_rxfh_key_size() 51 user_config = &np->adapter->vport_config[np->vport_idx]->user_config; in idpf_get_rxfh_key_size() 53 return user_config->rss_data.rss_key_size; in idpf_get_rxfh_key_size() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/ivytown/ |
H A D | uncore-interconnect.json | 164 "BriefDescription": "BL Ingress Occupancy - DRS", 189 "BriefDescription": "BL Ingress Occupancy - NCB", 214 "BriefDescription": "BL Ingress Occupancy - NCS", 236 …ny requests behind it in the switch queue will lose ownership and have to re-acquire it later when… 256 …ddition to the source queue. Note the special filtering equation. We do OR-reduction on the requ… 266 …ddition to the source queue. Note the special filtering equation. We do OR-reduction on the requ… 276 …ddition to the source queue. Note the special filtering equation. We do OR-reduction on the requ… 286 …ddition to the source queue. Note the special filtering equation. We do OR-reduction on the requ… 341 …er of cycles when there are pending write ACK's in the switch but the switch->IRP pipeline is not … 363 "BriefDescription": "Direct 2 Core Spawning; Spawn Failure - Egress Credits", [all …]
|
/linux/drivers/net/ethernet/packetengines/ |
H A D | yellowfin.c | 1 /* yellowfin.c: A Packet Engines G-NIC ethernet driver for linux. */ 3 Written 1997-2001 by Donald Becker. 12 This driver is for the Packet Engines G-NIC PCI Gigabit Ethernet adapter. 22 [link no longer provides useful info -jgarzik] 32 /* The user-configurable values. 40 /* System-wide count of bogus-rx frames. */ 43 static int fifo_cfg = 0x0020; /* Bypass external Tx FIFO. */ 44 #elif defined(YF_NEW) /* A future perfect board :->. */ 49 static const int fifo_cfg = 0x0020; /* Bypass external Tx FIFO. */ 52 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 // Copyright (c) 2016-2017 Hisilicon Limited. 70 ((max_frm_size) - (ETH_HLEN + ETH_FCS_LEN + 2 * VLAN_HLEN)) 293 } tx; member 337 u32 send_bytes; /* for tx */ 481 u32 buf_size; /* size for hnae_desc->addr, preset by AE */ 485 /* idx of lastest sent desc, the ring is empty when equal to 493 /* for Tx ring */ 544 /* array of pointers to rings */ 629 int begin = smp_load_acquire(&ring->next_to_clean); in ring_space() [all …]
|
/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 13 * struct iavf_stats - definition for an ethtool statistic 14 * @stat_string: statistic name to display in ethtool -S output 54 /* Stats associated with a Tx or Rx ring */ 56 IAVF_QUEUE_STAT("%s-%u.packets", stats.packets), 57 IAVF_QUEUE_STAT("%s-%u.bytes", stats.bytes), 61 * iavf_add_one_ethtool_stat - copy the stat into the supplied buffer 84 p = (char *)pointer + stat->stat_offset; in iavf_add_one_ethtool_stat() 85 switch (stat->sizeof_stat) { in iavf_add_one_ethtool_stat() [all …]
|