Home
last modified time | relevance | path

Searched +full:queue +full:- +full:pkt +full:- +full:tx (Results 1 – 25 of 273) sorted by relevance

1234567891011

/linux-6.12.1/Documentation/devicetree/bindings/net/
Dintel,ixp4xx-hss.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/net/intel,ixp4xx-hss.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Linus Walleij <linus.walleij@linaro.org>
15 Processing Engine) and the IXP4xx Queue Manager to process
20 const: intel,ixp4xx-hss
26 intel,npe-handle:
27 $ref: /schemas/types.yaml#/definitions/phandle-array
30 - description: phandle to the NPE this HSS instance is using
[all …]
/linux-6.12.1/drivers/net/ethernet/google/gve/
Dgve_tx_dqo.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Copyright (C) 2015-2021 Google, Inc.
17 static bool gve_has_free_tx_qpl_bufs(struct gve_tx_ring *tx, int count) in gve_has_free_tx_qpl_bufs() argument
21 if (!tx->dqo.qpl) in gve_has_free_tx_qpl_bufs()
24 num_avail = tx->dqo.num_tx_qpl_bufs - in gve_has_free_tx_qpl_bufs()
25 (tx->dqo_tx.alloc_tx_qpl_buf_cnt - in gve_has_free_tx_qpl_bufs()
26 tx->dqo_tx.free_tx_qpl_buf_cnt); in gve_has_free_tx_qpl_bufs()
32 tx->dqo_tx.free_tx_qpl_buf_cnt = in gve_has_free_tx_qpl_bufs()
33 atomic_read_acquire(&tx->dqo_compl.free_tx_qpl_buf_cnt); in gve_has_free_tx_qpl_bufs()
35 num_avail = tx->dqo.num_tx_qpl_bufs - in gve_has_free_tx_qpl_bufs()
[all …]
Dgve_tx.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Copyright (C) 2015-2021 Google, Inc.
20 iowrite32be(val, &priv->db_bar2[be32_to_cpu(q_resources->db_index)]); in gve_tx_put_doorbell()
26 struct gve_tx_ring *tx = &priv->tx[tx_qid]; in gve_xdp_tx_flush() local
28 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_xdp_tx_flush()
32 * We copy skb payloads into the registered segment before writing Tx
33 * descriptors and ringing the Tx doorbell.
35 * gve_tx_fifo_* manages the Registered Segment as a FIFO - clients must
41 fifo->base = vmap(fifo->qpl->pages, fifo->qpl->num_entries, VM_MAP, in gve_tx_fifo_init()
43 if (unlikely(!fifo->base)) { in gve_tx_fifo_init()
[all …]
Dgve.h1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Copyright (C) 2015-2024 Google LLC
10 #include <linux/dma-mapping.h>
32 /* 1 for management, 1 for rx, 1 for tx */
35 /* Numbers of gve tx/rx stats in stats report. */
42 /* Numbers of NIC tx/rx stats in stats report. */
48 #define GVE_DATA_SLOT_ADDR_PAGE_MASK (~(PAGE_SIZE - 1))
66 (GVE_ADMINQ_BUFFER_SIZE / sizeof(((struct gve_adminq_queried_flow_rule *)0)->location))
81 /* 2K buffers for DQO-QPL */
87 * allocs and uses a non-qpl page on the receive path of DQO QPL to free
[all …]
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/
Dfbnic_txrx.c1 // SPDX-License-Identifier: GPL-2.0
21 #define FBNIC_XMIT_CB(__skb) ((struct fbnic_xmit_cb *)((__skb)->cb))
25 unsigned long csr_base = (unsigned long)ring->doorbell; in fbnic_ring_csr_base()
27 csr_base &= ~(FBNIC_QUEUE_STRIDE * sizeof(u32) - 1); in fbnic_ring_csr_base()
48 return (ring->head - ring->tail - 1) & ring->size_mask; in fbnic_desc_unused()
53 return (ring->tail - ring->head) & ring->size_mask; in fbnic_desc_used()
59 return netdev_get_tx_queue(dev, ring->q_idx); in txring_txq()
77 struct netdev_queue *dev_queue = txring_txq(skb->dev, ring); in fbnic_tx_sent_queue()
78 unsigned int bytecount = FBNIC_XMIT_CB(skb)->bytecount; in fbnic_tx_sent_queue()
118 if (unlikely(skb->ip_summed != CHECKSUM_PARTIAL)) in fbnic_tx_offloads()
[all …]
/linux-6.12.1/drivers/staging/rtl8723bs/os_dep/
Dxmit_linux.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
12 return (pfile->buf_len - ((SIZE_PTR)(pfile->cur_addr) - (SIZE_PTR)(pfile->buf_start))); in rtw_remainder_len()
17 pfile->pkt = pktptr; in _rtw_open_pktfile()
18 pfile->cur_addr = pfile->buf_start = pktptr->data; in _rtw_open_pktfile()
19 pfile->pkt_len = pfile->buf_len = pktptr->len; in _rtw_open_pktfile()
21 pfile->cur_buffer = pfile->buf_start; in _rtw_open_pktfile()
32 skb_copy_bits(pfile->pkt, pfile->buf_len - pfile->pkt_len, rmem, len); in _rtw_pktfile_read()
34 pfile->cur_addr += len; in _rtw_pktfile_read()
35 pfile->pkt_len -= len; in _rtw_pktfile_read()
[all …]
/linux-6.12.1/drivers/net/ethernet/broadcom/
Dbcmsysport.h1 /* SPDX-License-Identifier: GPL-2.0-only */
28 /* HW supports 40-bit addressing hence the */
108 /* Level-2 Interrupt controller offsets and defines */
118 /* Level-2 instance 0 interrupt bits */
132 /* SYSTEMPORT Lite groups the TX queues interrupts on instance 0 */
220 /* There is a 0xC gap between the end of RX and beginning of TX stats and then
221 * between the end of TX stats and the beginning of the RX RUNT
329 #define TDMA_PORT_SIZE DESC_SIZE /* two 32-bits words */
401 /* Defininition for a given TX ring base address */
490 /* Internal linked-list RAM size */
[all …]
/linux-6.12.1/arch/arm/boot/dts/intel/ixp/
Dintel-ixp42x-goramo-multilink.dts1 // SPDX-License-Identifier: ISC
5 * - MultiLink Basic (a box)
6 * - MultiLink Max (19" rack mount)
9 * This is one of the few devices supporting the IXP4xx High-Speed Serial
14 /dts-v1/;
16 #include "intel-ixp42x.dtsi"
17 #include <dt-bindings/input/input.h>
21 compatible = "goramo,multilink-router", "intel,ixp42x";
22 #address-cells = <1>;
23 #size-cells = <1>;
[all …]
/linux-6.12.1/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2014-2024 Broadcom
21 /* total number of Buffer Descriptors, same for Rx/Tx */
48 u32 tx_csum_info; /* Tx checksum info. */
64 /* Tx status bits */
76 /* Rx/Tx common counter group */
79 u32 cnt_127; /* RO Rx/Tx 127 bytes packet */
80 u32 cnt_255; /* RO Rx/Tx 65-255 bytes packet */
81 u32 cnt_511; /* RO Rx/Tx 256-511 bytes packet */
82 u32 cnt_1023; /* RO Rx/Tx 512-1023 bytes packet */
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ixgbevf/
Ddefines.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
33 #define IXGBE_RXDCTL_ENABLE 0x02000000 /* Enable specific Rx Queue */
34 #define IXGBE_TXDCTL_ENABLE 0x02000000 /* Enable specific Tx Queue */
54 #define IXGBE_RXDCTL_ENABLE 0x02000000 /* Enable specific Rx Queue */
60 #define IXGBE_DCA_TXCTRL_TX_WB_RO_EN BIT(11) /* Tx Desc writeback RO bit */
93 #define IXGBE_RXD_STAT_PIF 0x80 /* passed in-exact filter */
97 #define IXGBE_RXD_STAT_DYNINT 0x800 /* Pkt caused INT via DYNINT */
128 #define IXGBE_RXDADV_STAT_VP IXGBE_RXD_STAT_VP /* IEEE VLAN Pkt */
129 #define IXGBE_RXDADV_STAT_MASK 0x000FFFFF /* Stat/NEXTP: bit 0-19 */
[all …]
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c2 * This file is part of the Chelsio T4 PCI-E SR-IOV Virtual Function Ethernet
5 * Copyright (c) 2009-2010 Chelsio Communications, Inc. All rights reserved.
17 * - Redistributions of source code must retain the above
21 * - Redistributions in binary form must reproduce the above
43 #include <linux/dma-mapping.h>
59 * Egress Queue sizes, producer and consumer indices are all in units
61 * concerned, the free list is an Egress Queue (the host produces free
63 * 64-bit PCI DMA addresses.
70 * Max number of TX descriptors we clean up at a time. Should be
84 * Period of the Rx queue check timer. This timer is infrequent as it
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/firmware/
Dintel,ixp4xx-network-processing-engine.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/firmware/intel,ixp4xx-network-processing-engine.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Linus Walleij <linus.walleij@linaro.org>
24 - items:
25 - const: intel,ixp4xx-network-processing-engine
29 - description: NPE0 (NPE-A) register range
30 - description: NPE1 (NPE-B) register range
31 - description: NPE2 (NPE-C) register range
[all …]
/linux-6.12.1/drivers/tty/ipwireless/
Dhardware.c1 // SPDX-License-Identifier: GPL-2.0
13 * Copyright (C) 2006-2007 Jiri Kosina
60 timing_stats.read_time += (jiffies - start_time); in end_read_timing()
67 timing_stats.write_time += (jiffies - start_time); in end_write_timing()
74 unsigned long since = jiffies - timing_stats.last_report_time; in report_timing()
83 ": %u us elapsed - read %lu bytes in %u us, wrote %lu bytes in %u us\n", in report_timing()
163 #define HW_VERSION_UNKNOWN -1
175 #define IOTXR 0x0E /* Tx Fifo Register (Embedded to Host) */
205 unsigned short memreg_tx_old; /* TX Register (R/W) */
258 * a non-zero serial number (indicating the new firmware). Thereafter,
[all …]
/linux-6.12.1/drivers/net/ethernet/cisco/enic/
Denic.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright 2008-2010 Cisco Systems, Inc. All rights reserved.
90 /* enic_rfs_fltr_node - rfs filter node in hash table
105 /* enic_rfs_flw_tbl - rfs flow table
118 #define ENIC_RFS_FLW_MASK ((1 << ENIC_RFS_FLW_BITSHIFT) - 1)
132 u64 packets; /* pkts queued for Tx */
133 u64 stopped; /* Tx ring almost full, queue stopped */
134 u64 wake; /* Tx ring no longer full, queue woken up*/
135 u64 tso; /* non-encap tso pkt */
136 u64 encap_tso; /* encap tso pkt */
[all …]
/linux-6.12.1/drivers/usb/host/
Dfhci-tds.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Jerry Huang <Chang-Ming.Huang@freescale.com>
33 #define TD_CNF 0x0200 /* CNF - Must be always 1 */
34 #define TD_LSP 0x0100 /* Low-speed transaction */
84 if (!ep->already_pushed_dummy_bd) { in fhci_push_dummy_bd()
85 u16 td_status = in_be16(&ep->empty_td->status); in fhci_push_dummy_bd()
87 out_be32(&ep->empty_td->buf_ptr, DUMMY_BD_BUFFER); in fhci_push_dummy_bd()
89 ep->empty_td = next_bd(ep->td_base, ep->empty_td, td_status); in fhci_push_dummy_bd()
90 ep->already_pushed_dummy_bd = true; in fhci_push_dummy_bd()
100 ep = usb->ep0; in fhci_ep0_free()
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved.
11 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
22 #include <linux/dma-mapping.h>
70 IL_ERR("Tx flush command to flush out all frames\n"); in il4965_check_abort_status()
71 if (!test_bit(S_EXIT_PENDING, &il->status)) in il4965_check_abort_status()
72 queue_work(il->workqueue, &il->tx_flush); in il4965_check_abort_status()
89 spin_lock_irqsave(&rxq->lock, flags); in il4965_rx_queue_reset()
90 INIT_LIST_HEAD(&rxq->rx_free); in il4965_rx_queue_reset()
91 INIT_LIST_HEAD(&rxq->rx_used); in il4965_rx_queue_reset()
[all …]
Dcommon.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
19 #include <linux/dma-mapping.h>
39 return -ETIMEDOUT; in _il_poll_bit()
48 spin_lock_irqsave(&p->reg_lock, reg_flags); in il_set_bit()
50 spin_unlock_irqrestore(&p->reg_lock, reg_flags); in il_set_bit()
59 spin_lock_irqsave(&p->reg_lock, reg_flags); in il_clear_bit()
61 spin_unlock_irqrestore(&p->reg_lock, reg_flags); in il_clear_bit()
79 * to/from host DRAM when sleeping/waking for power-saving. in _il_grab_nic_access()
[all …]
D3945.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved.
8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
16 #include <linux/dma-mapping.h>
94 * il3945_disable_events - Disable selected events in uCode event log
99 * Use for only special debugging. This function is just a placeholder as-is,
107 u32 disable_ptr; /* SRAM address of event-disable bitmap array */ in il3945_disable_events()
110 0x00000000, /* 31 - 0 Event id numbers */ in il3945_disable_events()
111 0x00000000, /* 63 - 32 */ in il3945_disable_events()
112 0x00000000, /* 95 - 64 */ in il3945_disable_events()
[all …]
/linux-6.12.1/drivers/net/wireless/marvell/libertas_tf/
Dlibertas_tf.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright (C) 2003-2006, Marvell International Ltd.
88 * with a Tx control node. The driver maintains 8 RxPD descriptors for
205 /** command-related variables */
260 /* 802.11-related definitions */
264 /* Current Tx packet status */
266 /* Tx control */
269 /* Tx packet length */
277 /* Pkt Priority */
279 /* Pkt Trasnit Power control */
[all …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dtx.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
14 #include "iwl-trans.h"
15 #include "iwl-nvm-utils.h"
18 #include "time-sync.h"
27 trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, NULL, FW_DBG_TRIGGER_BA); in iwl_mvm_bar_check_trigger()
31 ba_trig = (void *)trig->data; in iwl_mvm_bar_check_trigger()
33 if (!(le16_to_cpu(ba_trig->tx_bar) & BIT(tid))) in iwl_mvm_bar_check_trigger()
[all …]
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c4 * Copyright (c) 2003-2014 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
40 #include <linux/dma-mapping.h>
68 # define FL_PG_ORDER (16 - PAGE_SHIFT)
82 * Max number of Tx descriptors we clean up at a time. Should be modest as
97 * Period of the Rx queue check timer. This timer is infrequent as it has
103 * Period of the Tx queue check timer.
108 * Max number of Tx descriptors to be reclaimed by the Tx timer.
115 #define NOMEM_TMR_IDX (SGE_NTIMERS - 1)
[all …]
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_ll2.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
30 (QED_MAX_NUM_OF_LL2_CONNS_PF - QED_MAX_NUM_OF_LEGACY_LL2_CONNS_PF)
62 /* Lock protecting the Rx queue manipulation */
79 /* Lock protecting the Tx queue manipulation */
122 * starts rx & tx (if relevant) queues pair.
126 * @cxt: Pointer to the hw-function [opaque to some].
136 * @cxt: Pointer to the hw-function [opaque to some].
145 * qed_ll2_post_rx_buffer(): Submit buffers to LL2 Rx queue.
[all …]
/linux-6.12.1/net/caif/
Dcaif_usb.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) ST-Ericsson AB 2011
23 MODULE_DESCRIPTION("ST-Ericsson CAIF modem protocol USB support");
28 #define CFUSB_MAX_HEADLEN (CFUSB_PAD_DESCR_SZ + CFUSB_ALIGNMENT-1)
29 #define STE_USB_VID 0x04cc /* USB Product ID for ST-Ericsson */
39 static int cfusbl_receive(struct cflayer *layr, struct cfpkt *pkt) in cfusbl_receive() argument
44 cfpkt_extr_head(pkt, &hpad, 1); in cfusbl_receive()
45 cfpkt_extr_head(pkt, NULL, hpad); in cfusbl_receive()
46 return layr->up->receive(layr->up, pkt); in cfusbl_receive()
49 static int cfusbl_transmit(struct cflayer *layr, struct cfpkt *pkt) in cfusbl_transmit() argument
[all …]
/linux-6.12.1/Documentation/networking/
Daf_xdp.rst1 .. SPDX-License-Identifier: GPL-2.0
20 XDP programs to redirect frames to a memory buffer in a user-space
25 TX ring. A socket can receive packets on the RX ring and it can send
26 packets on the TX ring. These rings are registered and sized with the
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
48 space, for either TX or RX. Thus, the frame addrs appearing in the
50 TX ring. In summary, the RX and FILL rings are used for the RX path
51 and the TX and COMPLETION rings are used for the TX path.
[all …]
/linux-6.12.1/drivers/net/arcnet/
Darcnet.c2 * Linux ARCnet driver - device-independent routines
5 * Written 1994-1999 by Avery Pennarun.
6 * Written 1999-2000 by Martin Mares <mj@ucw.cz>.
27 * - Crynwr arcnet.com/arcether.com packet drivers.
28 * - arcnet.c v0.00 dated 1/1/94 and apparently by
29 * Donald Becker - it didn't work :)
30 * - skeleton.c v0.05 dated 11/16/93 by Donald Becker
32 * - RFC's 1201 and 1051 - re: TCP/IP over ARCnet
33 * - The official ARCnet COM9026 data sheets (!) thanks to
35 * - The official ARCnet COM20020 data sheets.
[all …]

1234567891011