Home
last modified time | relevance | path

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

12345678910>>...21

/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
Dgve_tx.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Copyright (C) 2015-2019 Google, Inc.
18 iowrite32be(val, &priv->db_bar2[be32_to_cpu(q_resources->db_index)]); in gve_tx_put_doorbell()
22 * We copy skb payloads into the registered segment before writing Tx
23 * descriptors and ringing the Tx doorbell.
25 * gve_tx_fifo_* manages the Registered Segment as a FIFO - clients must
31 fifo->base = vmap(fifo->qpl->pages, fifo->qpl->num_entries, VM_MAP, in gve_tx_fifo_init()
33 if (unlikely(!fifo->base)) { in gve_tx_fifo_init()
34 netif_err(priv, drv, priv->dev, "Failed to vmap fifo, qpl_id = %d\n", in gve_tx_fifo_init()
35 fifo->qpl->id); in gve_tx_fifo_init()
[all …]
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/os_dep/
Dxmit_linux.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
13 return (pfile->buf_len - ((SIZE_PTR)(pfile->cur_addr) - (SIZE_PTR)(pfile->buf_start))); in rtw_remainder_len()
18 pfile->pkt = pktptr; in _rtw_open_pktfile()
19 pfile->cur_addr = pfile->buf_start = pktptr->data; in _rtw_open_pktfile()
20 pfile->pkt_len = pfile->buf_len = pktptr->len; in _rtw_open_pktfile()
22 pfile->cur_buffer = pfile->buf_start; in _rtw_open_pktfile()
33 skb_copy_bits(pfile->pkt, pfile->buf_len - pfile->pkt_len, rmem, len); in _rtw_pktfile_read()
35 pfile->cur_addr += len; in _rtw_pktfile_read()
36 pfile->pkt_len -= len; in _rtw_pktfile_read()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/
Dxmit_linux.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
21 pxmitbuf->pallocated_buf = kzalloc(alloc_sz, GFP_KERNEL); in rtw_os_xmit_resource_alloc()
22 if (!pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_alloc()
25 pxmitbuf->pbuf = PTR_ALIGN(pxmitbuf->pallocated_buf, XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc()
28 pxmitbuf->pxmit_urb[i] = usb_alloc_urb(0, GFP_KERNEL); in rtw_os_xmit_resource_alloc()
29 if (!pxmitbuf->pxmit_urb[i]) { in rtw_os_xmit_resource_alloc()
30 DBG_88E("pxmitbuf->pxmit_urb[i]==NULL"); in rtw_os_xmit_resource_alloc()
42 usb_free_urb(pxmitbuf->pxmit_urb[i]); in rtw_os_xmit_resource_free()
44 kfree(pxmitbuf->pallocated_buf); in rtw_os_xmit_resource_free()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/
Dxmit_linux.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
15 return (pfile->buf_len - ((SIZE_PTR)(pfile->cur_addr) - (SIZE_PTR)(pfile->buf_start))); in rtw_remainder_len()
20 pfile->pkt = pktptr; in _rtw_open_pktfile()
21 pfile->cur_addr = pfile->buf_start = pktptr->data; in _rtw_open_pktfile()
22 pfile->pkt_len = pfile->buf_len = pktptr->len; in _rtw_open_pktfile()
24 pfile->cur_buffer = pfile->buf_start; in _rtw_open_pktfile()
35 skb_copy_bits(pfile->pkt, pfile->buf_len - pfile->pkt_len, rmem, len); in _rtw_pktfile_read()
37 pfile->cur_addr += len; in _rtw_pktfile_read()
38 pfile->pkt_len -= len; in _rtw_pktfile_read()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dbcmsysport.h1 /* SPDX-License-Identifier: GPL-2.0-only */
26 /* HW supports 40-bit addressing hence the */
106 /* Level-2 Interrupt controller offsets and defines */
116 /* Level-2 instance 0 interrupt bits */
130 /* SYSTEMPORT Lite groups the TX queues interrupts on instance 0 */
251 /* There is a 0xC gap between the end of RX and beginning of TX stats and then
252 * between the end of TX stats and the beginning of the RX RUNT
359 #define TDMA_PORT_SIZE DESC_SIZE /* two 32-bits words */
431 /* Defininition for a given TX ring base address */
520 /* Internal linked-list RAM size */
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2014-2020 Broadcom
19 /* total number of Buffer Descriptors, same for Rx/Tx */
46 u32 tx_csum_info; /* Tx checksum info. */
62 /* Tx status bits */
74 /* Rx/Tx common counter group */
77 u32 cnt_127; /* RO Rx/Tx 127 bytes packet */
78 u32 cnt_255; /* RO Rx/Tx 65-255 bytes packet */
79 u32 cnt_511; /* RO Rx/Tx 256-511 bytes packet */
80 u32 cnt_1023; /* RO Rx/Tx 512-1023 bytes packet */
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dtx.c8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
9 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
10 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
11 * Copyright(c) 2018 - 2020 Intel Corporation
27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
31 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
32 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
33 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
34 * Copyright(c) 2018 - 2020 Intel Corporation
70 #include "iwl-trans.h"
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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)
63 /* Lock protecting the Rx queue manipulation */
80 /* Lock protecting the Tx queue manipulation */
122 * @brief qed_ll2_acquire_connection - allocate resources,
123 * starts rx & tx (if relevant) queues pair. Provides
127 * @param cxt - pointer to the hw-function [opaque to some]
128 * @param data - describes connection parameters
[all …]
/kernel/linux/linux-6.6/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-eeprom-parse.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 …]
/kernel/linux/linux-6.6/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 …]

12345678910>>...21