/Linux-v5.15/drivers/net/ |
D | xen-netfront.c | 4 * Copyright (c) 2002-2005, K A Fraser 77 #define NETFRONT_SKB_CB(skb) ((struct netfront_cb *)((skb)->cb)) 86 /* Minimum number of Rx slots (includes slot for GSO metadata). */ 89 /* Queue name is interface name with "-qNNN" appended */ 92 /* IRQ name is queue name with "-tx" or "-rx" appended */ 106 unsigned int id; /* Queue ID, 0-based */ 107 char name[QUEUE_NAME_SIZE]; /* DEVNAME-qN */ 120 char tx_irq_name[IRQ_NAME_SIZE]; /* DEVNAME-qN-tx */ 121 char rx_irq_name[IRQ_NAME_SIZE]; /* DEVNAME-qN-rx */ 128 * {tx,rx}_skbs store outstanding skbuffs. Free tx_skb entries [all …]
|
/Linux-v5.15/drivers/net/xen-netback/ |
D | rx.c | 3 * Copyright (c) 2002-2005, K A Fraser 36 static bool xenvif_rx_ring_slots_available(struct xenvif_queue *queue) in xenvif_rx_ring_slots_available() argument 43 spin_lock_irqsave(&queue->rx_queue.lock, flags); in xenvif_rx_ring_slots_available() 45 skb = skb_peek(&queue->rx_queue); in xenvif_rx_ring_slots_available() 47 spin_unlock_irqrestore(&queue->rx_queue.lock, flags); in xenvif_rx_ring_slots_available() 51 needed = DIV_ROUND_UP(skb->len, XEN_PAGE_SIZE); in xenvif_rx_ring_slots_available() 54 if (skb->sw_hash) in xenvif_rx_ring_slots_available() 57 spin_unlock_irqrestore(&queue->rx_queue.lock, flags); in xenvif_rx_ring_slots_available() 60 prod = queue->rx.sring->req_prod; in xenvif_rx_ring_slots_available() 61 cons = queue->rx.req_cons; in xenvif_rx_ring_slots_available() [all …]
|
/Linux-v5.15/drivers/net/ethernet/intel/ice/ |
D | ice_base.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * __ice_vsi_get_qs_contig - Assign a contiguous chunk of queues to VSI 11 * @qs_cfg: gathered variables needed for PF->VSI queues assignment 13 * Return 0 on success and -ENOMEM in case of no left space in PF queue bitmap 19 mutex_lock(qs_cfg->qs_mutex); in __ice_vsi_get_qs_contig() 20 offset = bitmap_find_next_zero_area(qs_cfg->pf_map, qs_cfg->pf_map_size, in __ice_vsi_get_qs_contig() 21 0, qs_cfg->q_count, 0); in __ice_vsi_get_qs_contig() 22 if (offset >= qs_cfg->pf_map_size) { in __ice_vsi_get_qs_contig() 23 mutex_unlock(qs_cfg->qs_mutex); in __ice_vsi_get_qs_contig() 24 return -ENOMEM; in __ice_vsi_get_qs_contig() [all …]
|
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */ 21 #include <linux/io-64-nonatomic-hi-lo.h> 32 if (__nn->dp.netdev) \ 33 netdev_printk(lvl, __nn->dp.netdev, fmt, ## args); \ 35 dev_printk(lvl, __nn->dp.dev, "ctrl: " fmt, ## args); \ 48 if (__dp->netdev) \ 49 netdev_warn(__dp->netdev, fmt, ## args); \ 51 dev_warn(__dp->dev, fmt, ## args); \ 81 /* Queue/Ring definitions */ [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/net/ |
D | keystone-netcp.txt | 6 switch sub-module to send and receive packets. NetCP also includes a packet 13 includes a 3-port Ethernet switch sub-module capable of 10Gb/s and 1Gb/s rates 16 Keystone NetCP driver has a plug-in module architecture where each of the NetCP 17 sub-modules exist as a loadable kernel module which plug in to the netcp core. 18 These sub-modules are represented as "netcp-devices" in the dts bindings. It is 19 mandatory to have the ethernet switch sub-module for the ethernet interface to 20 be operational. Any other sub-module like the PA is optional. 24 ----------------------------- 26 ----------------------------- 28 |-> NetCP Devices -> | [all …]
|
D | intel,ixp4xx-ethernet.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: "http://devicetree.org/schemas/net/intel,ixp4xx-ethernet.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - $ref: "ethernet-controller.yaml#" 14 - Linus Walleij <linus.walleij@linaro.org> 18 Processing Engine) and the IXP4xx Queue Manager to process 24 const: intel,ixp4xx-ethernet 30 queue-rx: 31 $ref: '/schemas/types.yaml#/definitions/phandle-array' [all …]
|
D | snps,dwmac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Torgue <alexandre.torgue@st.com> 11 - Giuseppe Cavallaro <peppe.cavallaro@st.com> 12 - Jose Abreu <joabreu@synopsys.com> 23 - snps,dwmac 24 - snps,dwmac-3.40a 25 - snps,dwmac-3.50a 26 - snps,dwmac-3.610 [all …]
|
/Linux-v5.15/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_mfw_req.h | 3 * Copyright (c) 2012-2013 Broadcom Corporation 94 u32 promiscuous_mode; /* Promiscuous Mode. non-zero true */ 95 u32 txq_size; /* TX Descriptors Queue Size */ 96 u32 rxq_size; /* RX Descriptors Queue Size */ 97 /* TX Descriptor Queue Avg Depth. % Avg Queue Depth since last poll */ 99 /* RX Descriptors Queue Avg Depth. % Avg Queue Depth since last poll */ 114 /* QoS Priority (per 802.1p). 0-7255 */ 116 u32 txq_size; /* FCoE TX Descriptors Queue Size. */ 117 u32 rxq_size; /* FCoE RX Descriptors Queue Size. */ 118 /* FCoE TX Descriptor Queue Avg Depth. */ [all …]
|
/Linux-v5.15/Documentation/networking/device_drivers/ethernet/amazon/ |
D | ena.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 through an Admin Queue. 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 [all …]
|
/Linux-v5.15/Documentation/networking/ |
D | af_xdp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 20 XDP programs to redirect frames to a memory buffer in a user-space 24 syscall. Associated with each XSK are two rings: the RX ring and the 25 TX ring. A socket can receive packets on the RX ring and it can send 28 to have at least one of these rings for each socket. An RX or TX 30 UMEM. RX and TX can share the same UMEM so that a packet does not have 31 to be copied between RX and TX. Moreover, if a packet needs to be kept 44 to fill in with RX packet data. References to these frames will then 45 appear in the RX ring once each packet has been received. The 48 space, for either TX or RX. Thus, the frame addrs appearing in the [all …]
|
/Linux-v5.15/drivers/net/ethernet/huawei/hinic/ |
D | hinic_rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <linux/dma-mapping.h> 46 (HINIC_GET_RX_PKT_TYPE(be32_to_cpu((cqe)->offload_type)) == \ 50 * hinic_rxq_clean_stats - Clean the statistics of specific queue 51 * @rxq: Logical Rx Queue 55 struct hinic_rxq_stats *rxq_stats = &rxq->rxq_stats; in hinic_rxq_clean_stats() 57 u64_stats_update_begin(&rxq_stats->syncp); in hinic_rxq_clean_stats() 58 rxq_stats->pkts = 0; in hinic_rxq_clean_stats() 59 rxq_stats->bytes = 0; in hinic_rxq_clean_stats() 60 rxq_stats->errors = 0; in hinic_rxq_clean_stats() [all …]
|
/Linux-v5.15/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00queue.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> 10 Abstract: rt2x00 queue datastructures and routines 33 * enum data_queue_qid: Queue identification 35 * @QID_AC_VO: AC VO queue 36 * @QID_AC_VI: AC VI queue 37 * @QID_AC_BE: AC BE queue 38 * @QID_AC_BK: AC BK queue 39 * @QID_HCCA: HCCA queue 40 * @QID_MGMT: MGMT queue (prio queue) [all …]
|
/Linux-v5.15/drivers/net/ethernet/sfc/falcon/ |
D | net_driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2005-2013 Solarflare Communications Inc. 63 /* Checksum generation is a per-queue option in hardware, so each 64 * queue visible to the networking core is backed by two hardware TX 79 /* Size of an RX scatter buffer. Small enough to pack 2 into a 4K page, 82 #define EF4_RX_USR_BUF_SIZE (2048 - 256) 85 * of every buffer. Otherwise, we just need to ensure 4-byte 97 * struct ef4_buffer - A general-purpose DMA buffer 112 * struct ef4_special_buffer - DMA buffer entered into buffer table [all …]
|
/Linux-v5.15/drivers/net/ethernet/sfc/ |
D | net_driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2005-2013 Solarflare Communications Inc. 61 /* Checksum generation is a per-queue option in hardware, so each 62 * queue visible to the networking core is backed by two hardware TX 68 #define EFX_TXQ_TYPE_HIGHPRI 4 /* High-priority (for TC) */ 70 /* HIGHPRI is Siena-only, and INNER_CSUM is EF10, so no need for both */ 83 /* Size of an RX scatter buffer. Small enough to pack 2 into a 4K page, 86 #define EFX_RX_USR_BUF_SIZE (2048 - 256) 89 * of every buffer. Otherwise, we just need to ensure 4-byte [all …]
|
/Linux-v5.15/drivers/infiniband/hw/hfi1/ |
D | netdev_rx.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 8 * This file contains HFI1 support for netdev RX functionality 20 static int hfi1_netdev_setup_ctxt(struct hfi1_netdev_rx *rx, in hfi1_netdev_setup_ctxt() argument 24 struct hfi1_devdata *dd = rx->dd; in hfi1_netdev_setup_ctxt() 27 uctxt->rhf_rcv_function_map = netdev_rhf_rcv_functions; in hfi1_netdev_setup_ctxt() 28 uctxt->do_interrupt = &handle_receive_interrupt_napi_sp; in hfi1_netdev_setup_ctxt() 30 /* Now allocate the RcvHdr queue and eager buffers. */ in hfi1_netdev_setup_ctxt() 44 if (!HFI1_CAP_KGET_MASK(uctxt->flags, MULTI_PKT_EGR)) in hfi1_netdev_setup_ctxt() 46 if (HFI1_CAP_KGET_MASK(uctxt->flags, NODROP_EGR_FULL)) in hfi1_netdev_setup_ctxt() 48 if (HFI1_CAP_KGET_MASK(uctxt->flags, NODROP_RHQ_FULL)) in hfi1_netdev_setup_ctxt() [all …]
|
/Linux-v5.15/drivers/net/ethernet/freescale/ |
D | ucc_geth_ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * Can only get/set settings of the first queue. 11 * Need to re-open the interface manually after changing some parameters. 24 #include <linux/dma-mapping.h> 37 "tx-64-frames", 38 "tx-65-127-frames", 39 "tx-128-255-frames", 40 "rx-64-frames", 41 "rx-65-127-frames", 42 "rx-128-255-frames", [all …]
|
/Linux-v5.15/Documentation/networking/device_drivers/ethernet/aquantia/ |
D | atlantic.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 For the aQuantia Multi-Gigabit PCI Express Family of Ethernet Adapters 12 - Identifying Your Adapter 13 - Configuration 14 - Supported ethtool options 15 - Command Line Parameters 16 - Config file parameters 17 - Support 18 - License 23 The driver in this release is compatible with AQC-100, AQC-107, AQC-108 [all …]
|
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 This is the driver for the ST MAC 10/100/1000 on-chip Ethernet controllers. 6 Copyright(C) 2007-2011 STMicroelectronics Ltd 29 #include <linux/dma-mapping.h> 54 #define TSO_MAX_BUFF_SIZE (SZ_16K - 1) 62 static int debug = -1; 64 MODULE_PARM_DESC(debug, "Message Level (-1: default, 0: no output, 16: all)"); 66 static int phyaddr = -1; 70 #define STMMAC_TX_THRESH(x) ((x)->dma_tx_size / 4) 71 #define STMMAC_RX_THRESH(x) ((x)->dma_rx_size / 4) [all …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | keystone-k2e-netcp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/ 9 compatible = "ti,keystone-navigator-qmss"; 10 dma-coherent; 11 #address-cells = <1>; 12 #size-cells = <1>; 15 queue-range = <0 0x2000>; 20 #address-cells = <1>; 21 #size-cells = <1>; 24 managed-queues = <0 0x2000>; [all …]
|
D | keystone-k2l-netcp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/ 9 compatible = "ti,keystone-navigator-qmss"; 10 dma-coherent; 11 #address-cells = <1>; 12 #size-cells = <1>; 15 queue-range = <0 0x2000>; 20 #address-cells = <1>; 21 #size-cells = <1>; 24 managed-queues = <0 0x2000>; [all …]
|
D | keystone-k2hk-netcp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/ 9 compatible = "ti,keystone-navigator-qmss"; 10 dma-coherent; 11 #address-cells = <1>; 12 #size-cells = <1>; 15 queue-range = <0 0x4000>; 20 #address-cells = <1>; 21 #size-cells = <1>; 24 managed-queues = <0 0x2000>; [all …]
|
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-op-mode.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2021 Intel Corporation 4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH 12 #include "iwl-dbg-tlv.h" 23 * DOC: Operational mode - what is it ? 39 * 1) The driver layer (iwl-drv.c) chooses the op_mode based on the 41 * 2) The driver layer starts the op_mode (ops->start) 48 * struct iwl_op_mode_ops - op_mode specific operations 55 * out *iff* the opmode will never run on hardware with multi-queue capability. 61 * @rx: Rx notification to the op_mode. rxb is the Rx buffer itself. Cmd is the [all …]
|
/Linux-v5.15/drivers/net/wireless/ath/ath5k/ |
D | dma.c | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 27 * handle queue setup for 5210 chipset (rest are handled on qcu.c). 44 * ath5k_hw_start_rx_dma() - Start DMA receive 55 * ath5k_hw_stop_rx_dma() - Stop DMA receive 70 i--) in ath5k_hw_stop_rx_dma() 75 "failed to stop RX DMA !\n"); in ath5k_hw_stop_rx_dma() 77 return i ? 0 : -EBUSY; in ath5k_hw_stop_rx_dma() 81 * ath5k_hw_get_rxdp() - Get RX Descriptor's address 91 * ath5k_hw_set_rxdp() - Set RX Descriptor's address [all …]
|
/Linux-v5.15/drivers/net/ethernet/google/gve/ |
D | gve.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2015-2021 Google, Inc. 10 #include <linux/dma-mapping.h> 29 /* 1 for management, 1 for rx, 1 for tx */ 32 /* Numbers of gve tx/rx stats in stats report. */ 39 /* Numbers of NIC tx/rx stats in stats report. */ 43 #define GVE_DATA_SLOT_ADDR_PAGE_MASK (~(PAGE_SIZE - 1)) 57 /* The page info for a single slot in the RX data queue */ 66 /* A list of pages registered with the device during setup and used by a queue 81 struct gve_queue_page_list *qpl; /* qpl assigned to this queue */ [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/crypto/ |
D | intel,ixp4xx-crypto.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: "http://devicetree.org/schemas/crypto/intel,ixp4xx-crypto.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Linus Walleij <linus.walleij@linaro.org> 21 const: intel,ixp4xx-crypto 23 intel,npe-handle: 24 $ref: '/schemas/types.yaml#/definitions/phandle-array' 29 queue-rx: 30 $ref: /schemas/types.yaml#/definitions/phandle-array [all …]
|