Home
last modified time | relevance | path

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

12345678910>>...21

/kernel/linux/linux-5.10/drivers/net/xen-netback/
Drx.c3 * Copyright (c) 2002-2005, K A Fraser
38 * Note that any call sequence outside the RX thread calling this function
39 * needs to wake up the RX thread via a call of xenvif_kick_thread()
42 static void xenvif_update_needed_slots(struct xenvif_queue *queue, in xenvif_update_needed_slots() argument
48 needed = DIV_ROUND_UP(skb->len, XEN_PAGE_SIZE); in xenvif_update_needed_slots()
51 if (skb->sw_hash) in xenvif_update_needed_slots()
55 WRITE_ONCE(queue->rx_slots_needed, needed); in xenvif_update_needed_slots()
58 static bool xenvif_rx_ring_slots_available(struct xenvif_queue *queue) in xenvif_rx_ring_slots_available() argument
63 needed = READ_ONCE(queue->rx_slots_needed); in xenvif_rx_ring_slots_available()
68 prod = queue->rx.sring->req_prod; in xenvif_rx_ring_slots_available()
[all …]
/kernel/linux/linux-6.6/drivers/net/xen-netback/
Drx.c3 * Copyright (c) 2002-2005, K A Fraser
38 * Note that any call sequence outside the RX thread calling this function
39 * needs to wake up the RX thread via a call of xenvif_kick_thread()
42 static void xenvif_update_needed_slots(struct xenvif_queue *queue, in xenvif_update_needed_slots() argument
48 needed = DIV_ROUND_UP(skb->len, XEN_PAGE_SIZE); in xenvif_update_needed_slots()
51 if (skb->sw_hash) in xenvif_update_needed_slots()
55 WRITE_ONCE(queue->rx_slots_needed, needed); in xenvif_update_needed_slots()
58 static bool xenvif_rx_ring_slots_available(struct xenvif_queue *queue) in xenvif_rx_ring_slots_available() argument
63 needed = READ_ONCE(queue->rx_slots_needed); in xenvif_rx_ring_slots_available()
68 prod = queue->rx.sring->req_prod; in xenvif_rx_ring_slots_available()
[all …]
/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/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/marvell/octeon_ep/
Doctep_rx.c1 // SPDX-License-Identifier: GPL-2.0
17 oq->host_read_idx = 0; in octep_oq_reset_indices()
18 oq->host_refill_idx = 0; in octep_oq_reset_indices()
19 oq->refill_count = 0; in octep_oq_reset_indices()
20 oq->last_pkt_count = 0; in octep_oq_reset_indices()
21 oq->pkts_pending = 0; in octep_oq_reset_indices()
25 * octep_oq_fill_ring_buffers() - fill initial receive buffers for Rx ring.
27 * @oq: Octeon Rx queue data structure.
30 * -1, if failed to allocate a buffer or failed to map for DMA.
34 struct octep_oq_desc_hw *desc_ring = oq->desc_ring; in octep_oq_fill_ring_buffers()
[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 */
31 /* Default RX buffer allocation size */
108 /* Level-2 Interrupt controller offsets and defines */
118 /* Level-2 instance 0 interrupt bits */
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 */
490 /* Internal linked-list RAM size */
496 /* Rx/Tx common counter group.*/
[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-5.10/drivers/net/ethernet/broadcom/
Dbcmsysport.h1 /* SPDX-License-Identifier: GPL-2.0-only */
26 /* HW supports 40-bit addressing hence the */
29 /* Default RX buffer allocation size */
106 /* Level-2 Interrupt controller offsets and defines */
116 /* Level-2 instance 0 interrupt bits */
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 */
520 /* Internal linked-list RAM size */
526 /* Rx/Tx common counter group.*/
[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 */
46 u32 rx_csum; /* partial rx checksum */
52 /* Rx 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 */
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 */
131 #define IXGBE_RXDADV_STAT_FCSTAT 0x00000030 /* FCoE Pkt Stat */
[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 */
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 */
131 #define IXGBE_RXDADV_STAT_FCSTAT 0x00000030 /* FCoE Pkt Stat */
[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 */
44 u32 rx_csum; /* partial rx checksum */
50 /* Rx 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-6.6/drivers/net/wireless/intel/iwlwifi/pcie/
Drx.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2003-2014, 2018-2023 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
11 #include "iwl-prph.h"
12 #include "iwl-io.h"
14 #include "iwl-op-mode.h"
15 #include "iwl-context-info-gen3.h"
19 * RX path functions
24 * Rx theory of operation
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/
Drx.c8 * Copyright(c) 2003 - 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 - 2019 Intel Corporation
27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
31 * Copyright(c) 2003 - 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 - 2019 Intel Corporation
68 #include "iwl-prph.h"
[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
174 #define IORXR 0x0C /* Rx Fifo Register (Host to Embedded) */
209 unsigned short memreg_rx; /* RX Register (R/W) */
252 /* True if there is RX data ready on the hardware. */
[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
174 #define IORXR 0x0C /* Rx Fifo Register (Host to Embedded) */
209 unsigned short memreg_rx; /* RX Register (R/W) */
252 /* True if there is RX data ready on the hardware. */
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_rx.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_rx.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
Drtw_recv.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
32 spin_lock_init(&psta_recvpriv->lock); in _rtw_init_sta_recv_priv()
34 _rtw_init_queue(&psta_recvpriv->defrag_q); in _rtw_init_sta_recv_priv()
45 _rtw_init_queue(&precvpriv->free_recv_queue); in _rtw_init_recv_priv()
46 _rtw_init_queue(&precvpriv->recv_pending_queue); in _rtw_init_recv_priv()
47 _rtw_init_queue(&precvpriv->uc_swdec_pending_queue); in _rtw_init_recv_priv()
49 precvpriv->adapter = padapter; in _rtw_init_recv_priv()
51 …precvpriv->pallocated_frame_buf = vzalloc(NR_RECVFRAME * sizeof(struct recv_frame) + RXFRAME_ALIGN… in _rtw_init_recv_priv()
53 if (!precvpriv->pallocated_frame_buf) in _rtw_init_recv_priv()
[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-5.10/drivers/net/ethernet/google/gve/
Dgve.h1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Copyright (C) 2015-2019 Google, Inc.
10 #include <linux/dma-mapping.h>
27 /* 1 for management, 1 for rx, 1 for tx */
30 /* Numbers of gve tx/rx stats in stats report. */
37 /* Numbers of NIC tx/rx stats in stats report. */
48 /* The page info for a single slot in the RX data queue */
55 /* A list of pages registered with the device during setup and used by a queue
70 struct gve_queue_page_list *qpl; /* qpl assigned to this queue */
75 /* An RX ring that contains a power-of-two sized desc and data ring. */
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/
Dgve.h1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Copyright (C) 2015-2021 Google, Inc.
10 #include <linux/dma-mapping.h>
30 /* 1 for management, 1 for rx, 1 for tx */
33 /* Numbers of gve tx/rx stats in stats report. */
40 /* Numbers of NIC tx/rx stats in stats report. */
44 #define GVE_DATA_SLOT_ADDR_PAGE_MASK (~(PAGE_SIZE - 1))
63 /* 2K buffers for DQO-QPL */
69 * allocs and uses a non-qpl page on the receive path of DQO QPL to free
82 /* The page info for a single slot in the RX data queue */
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dops.c8 * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation. All rights reserved.
9 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
10 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
26 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
30 * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation. All rights reserved.
31 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
32 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH
66 #include "fw/notif-wait.h"
67 #include "iwl-trans.h"
68 #include "iwl-op-mode.h"
[all …]
/kernel/linux/linux-6.6/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 …]
/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.
78 * Max number of Rx buffers we replenish at a time. Again keep this
84 * Period of the Rx queue check timer. This timer is infrequent as it
[all …]

12345678910>>...21