Home
last modified time | relevance | path

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

12345

/freebsd/sys/contrib/device-tree/Bindings/net/
H A 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 …]
/freebsd/sys/contrib/device-tree/src/arm/intel/ixp/
H A 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-cell
[all...]
/freebsd/sys/dev/gve/
H A Dgve_tx_dqo.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
38 gve_unmap_packet(struct gve_tx_ring *tx, in gve_unmap_packet() argument
41 bus_dmamap_sync(tx->dqo.buf_dmatag, pending_pkt->dmamap, in gve_unmap_packet()
43 bus_dmamap_unload(tx->dqo.buf_dmatag, pending_pkt->dmamap); in gve_unmap_packet()
49 pending_pkt->qpl_buf_head = -1; in gve_clear_qpl_pending_pkt()
50 pending_pkt->num_qpl_bufs = 0; in gve_clear_qpl_pending_pkt()
54 gve_free_tx_mbufs_dqo(struct gve_tx_ring *tx) in gve_free_tx_mbufs_dqo() argument
59 for (i = 0; i < tx->dqo.num_pending_pkts; i++) { in gve_free_tx_mbufs_dqo()
60 pending_pkt = &tx->dqo.pending_pkts[i]; in gve_free_tx_mbufs_dqo()
[all …]
H A Dgve_tx.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 2023-2024 Google LLC
38 gve_tx_fifo_init(struct gve_priv *priv, struct gve_tx_ring *tx) in gve_tx_fifo_init() argument
40 struct gve_queue_page_list *qpl = tx->com.qpl; in gve_tx_fifo_init()
41 struct gve_tx_fifo *fifo = &tx->fifo; in gve_tx_fifo_init()
43 fifo->size = qpl->num_pages * PAGE_SIZE; in gve_tx_fifo_init()
44 fifo->base = qpl->kva; in gve_tx_fifo_init()
45 atomic_store_int(&fifo->available, fifo->size); in gve_tx_fifo_init()
46 fifo->head = 0; in gve_tx_fifo_init()
[all …]
H A Dgve_dqo.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
42 #define GVE_ITR_INTERVAL_DQO_MASK ((1 << 12) - 1)
70 /* 2K TX buffers for DQO-QPL */
77 /* Basic TX descriptor (DTYPE 0x0C) */
93 /* The TX completion for this packet will contain this tag. */
104 * Maximum number of data descriptors allowed per packet, or per-TSO segment.
107 #define GVE_TX_MAX_BUF_SIZE_DQO ((16 * 1024) - 1)
115 * "report_event" on TX packet descriptors may only be reported on the last
116 * descriptor of a TX packet, and they must be spaced apart with at least this
[all …]
/freebsd/sys/dev/e1000/
H A De1000_regs.h2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2020, Intel Corporation
38 #define E1000_CTRL 0x00000 /* Device Control - RW */
39 #define E1000_CTRL_DUP 0x00004 /* Device Control Duplicate (Shadow) - RW */
40 #define E1000_STATUS 0x00008 /* Device Status - RO */
41 #define E1000_EECD 0x00010 /* EEPROM/Flash Control - RW */
42 #define E1000_EERD 0x00014 /* EEPROM Read - RW */
43 #define E1000_CTRL_EXT 0x00018 /* Extended Device Control - RW */
44 #define E1000_FLA 0x0001C /* Flash Access - RW */
45 #define E1000_MDIC 0x00020 /* MDI Control - RW */
[all …]
H A De1000_82575.h2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2020, Intel Corporation
46 * These entries are also used for MAC-based filtering.
193 #define E1000_RXDADV_STAT_TS 0x10000 /* Pkt was time stamped */
226 #define E1000_RXDADV_PKTTYPE_ETQF_SHIFT 4 /* Right-shift 4 bits */
250 #define E1000_ADVTXD_DCMD_VLE 0x40000000 /* VLAN pkt enable */
252 #define E1000_ADVTXD_MAC_LINKSEC 0x00040000 /* Apply LinkSec on pkt */
253 #define E1000_ADVTXD_MAC_TSTAMP 0x00080000 /* IEEE1588 Timestamp pkt */
259 /* 1st & Last TSO-full iSCSI PDU*/
265 #define E1000_TXDCTL_QUEUE_ENABLE 0x02000000 /* Ena specific Tx Queue */
[all …]
H A De1000_base.h2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2020, Intel Corporation
45 /* Transmit Descriptor - Advanced */
78 #define E1000_ADVTXD_DCMD_VLE 0x40000000 /* VLAN pkt enable */
80 #define E1000_ADVTXD_MAC_LINKSEC 0x00040000 /* Apply LinkSec on pkt */
81 #define E1000_ADVTXD_MAC_TSTAMP 0x00080000 /* IEEE1588 Timestamp pkt */
87 /* 1st & Last TSO-full iSCSI PDU*/
114 /* Receive Descriptor - Advanced */
125 __le16 pkt_info; /*RSS type, Pkt type*/
147 #define E1000_TXDCTL_QUEUE_ENABLE 0x02000000 /* Ena specific Tx Queue */
[all …]
/freebsd/sys/contrib/device-tree/Bindings/firmware/
H A 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-processin
[all...]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A 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 …]
H A Dtime-sync.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
7 #include "time-sync.h"
12 skb_queue_head_init(&data->frame_list); in iwl_mvm_init_time_sync()
17 struct ieee80211_mgmt *mgmt = (void *)skb->data; in iwl_mvm_is_skb_match()
21 skb_dialog_token = mgmt->u.action.u.wnm_timing_msr.dialog_token; in iwl_mvm_is_skb_match()
23 skb_dialog_token = mgmt->u.action.u.ftm.dialog_token; in iwl_mvm_is_skb_match()
25 if ((ether_addr_equal(mgmt->sa, addr) || in iwl_mvm_is_skb_match()
26 ether_addr_equal(mgmt->da, addr)) && in iwl_mvm_is_skb_match()
38 /* The queue is expected to have only one SKB. If there are other SKBs in iwl_mvm_time_sync_find_skb()
39 * in the queue, they did not get a time sync notification and are in iwl_mvm_time_sync_find_skb()
[all …]
H A Dtime-event.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
10 #include "fw/notif-wait.h"
11 #include "iwl-tran
435 struct iwl_rx_packet *pkt = rxb_addr(rxb); iwl_mvm_rx_time_event_notif() local
457 iwl_mvm_te_notif(struct iwl_notif_wait_data * notif_wait,struct iwl_rx_packet * pkt,void * data) iwl_mvm_te_notif() argument
489 iwl_mvm_time_event_response(struct iwl_notif_wait_data * notif_wait,struct iwl_rx_packet * pkt,void * data) iwl_mvm_time_event_response() argument
830 struct iwl_rx_packet *pkt = rxb_addr(rxb); iwl_mvm_rx_session_protect_notif() local
1139 iwl_mvm_session_prot_notif(struct iwl_notif_wait_data * notif_wait,struct iwl_rx_packet * pkt,void * data) iwl_mvm_session_prot_notif() argument
[all...]
H A Dmac-ctxt.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
5 * Copyright (C) 2015-2017 Intel Deutschland GmbH
10 #include "iwl-i
982 iwl_mvm_mac_ctxt_set_tx(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct sk_buff * beacon,struct iwl_tx_cmd * tx) iwl_mvm_mac_ctxt_set_tx() argument
1485 struct iwl_rx_packet *pkt = rxb_addr(rxb); iwl_mvm_rx_beacon_notif() local
1560 struct iwl_rx_packet *pkt = rxb_addr(rxb); iwl_mvm_rx_missed_beacons_notif() local
1652 struct iwl_rx_packet *pkt = rxb_addr(rxb); iwl_mvm_rx_stored_beacon_notif() local
1713 struct iwl_rx_packet *pkt = rxb_addr(rxb); iwl_mvm_probe_resp_data_notif() local
1762 struct iwl_rx_packet *pkt = rxb_addr(rxb); iwl_mvm_channel_switch_start_notif() local
1860 struct iwl_rx_packet *pkt = rxb_addr(rxb); iwl_mvm_channel_switch_error_notif() local
1885 struct iwl_rx_packet *pkt = rxb_addr(rxb); iwl_mvm_rx_missed_vap_notif() local
[all...]
/freebsd/tools/tools/netmap/
H A Dpkt-gen.c2 * Copyright (C) 2011-2014 Matteo Landi, Luigi Rizzo. All rights reserved.
3 * Copyright (C) 2013-2015 Universita` di Pisa. All rights reserved.
28 * $Id: pkt-gen.c 12346 2013-06-12 17:36:25Z luigi $
133 n->octet[0], n->octet[1], n->octet[2], in ether_ntoa()
134 n->octet[3], n->octet[4], n->octet[5]); in ether_ntoa()
184 static const char *default_payload = "netmap pkt-gen DIRECT payload\n"
187 static const char *indirect_payload = "netmap pkt-gen indirect payload\n"
193 #define VIRT_HDR_1 10 /* length of a base vnet-hdr */
194 #define VIRT_HDR_2 12 /* length of the extenede vnet-hdr */
202 struct pkt { struct
[all …]
/freebsd/sys/dev/vge/
H A Dif_vgereg.h1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
18 * 4. Neither the name of the author nor the names of any co-contributors
37 * Definitions for the built-in copper PHY can be found in vgphy.h.
41 * using 32-bit I/O cycles, but some of them are less than 32 bits
55 #define VGE_TXCTL 0x07 /* TX control register */
81 #define VGE_TXHOSTERR 0x22 /* TX host error status */
86 #define VGE_TXQCSRS 0x30 /* TX queue ctl/status set */
87 #define VGE_RXQCSRS 0x32 /* RX queue ctl/status set */
88 #define VGE_TXQCSRC 0x34 /* TX queue ctl/status clear */
[all …]
/freebsd/sys/contrib/alpine-hal/eth/
H A Dal_hal_eth_main.c1 /*-
10 found at http://www.gnu.org/licenses/gpl-2.0.html
84 /* tx Meta Descriptor defines */
98 /* tx Meta Descriptor defines - MacSec */
99 #define AL_ETH_TX_MACSEC_SIGN_SHIFT 0 /* Sign TX pkt */
100 #define AL_ETH_TX_MACSEC_ENCRYPT_SHIFT 1 /* Encrypt TX pkt */
105 #define AL_ETH_TX_MACSEC_SECURED_PYLD_LEN_LSB_SHIFT 10 /* Secure Payload Length (0x3FFF for non-S…
123 /* Tx VID Table*/
127 /* tx gpd defines */
140 /* tx gcp defines */
[all …]
H A Dal_hal_eth_ec_regs.h1 /*-
10 found at http://www.gnu.org/licenses/gpl-2.0.html
214 /* [0x38] VLAN p-bits table address */
216 /* [0x3c] VLAN p-bits table data */
299 /* [0x0] Priority to queue mapping configuration */
300 uint32_t queue; member
374 /* [0x0] Tx FIFO Wr configuration */
380 /* [0xc] Tx FIFO Rd configuration */
382 /* [0x10] Tx FIFO Rd configuration, checksum insertion */
384 /* [0x14] Tx forwarding general configuration register */
[all …]
/freebsd/sys/dev/igc/
H A Digc_base.h1 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
17 /* Transmit Descriptor - Advanced */
50 #define IGC_ADVTXD_DCMD_VLE 0x40000000 /* VLAN pkt enable */
52 #define IGC_ADVTXD_MAC_LINKSEC 0x00040000 /* Apply LinkSec on pkt */
53 #define IGC_ADVTXD_MAC_TSTAMP 0x00080000 /* IEEE1588 Timestamp pkt */
59 /* 1st & Last TSO-full iSCSI PDU*/
86 /* Receive Descriptor - Advanced */
97 __le16 pkt_info; /*RSS type, Pkt type*/
119 #define IGC_TXDCTL_QUEUE_ENABLE 0x02000000 /* Ena specific Tx Queue */
[all …]
/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-trans.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2005-2014, 2018-2023 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
15 #include "iwl-debu
96 iwl_rx_packet_len(const struct iwl_rx_packet * pkt) iwl_rx_packet_len() argument
101 iwl_rx_packet_payload_len(const struct iwl_rx_packet * pkt) iwl_rx_packet_payload_len() argument
597 int (*tx)(struct iwl_trans *trans, struct sk_buff *skb, global() member
1268 iwl_trans_tx(struct iwl_trans * trans,struct sk_buff * skb,struct iwl_device_tx_cmd * dev_cmd,int queue) iwl_trans_tx() argument
1281 iwl_trans_reclaim(struct iwl_trans * trans,int queue,int ssn,struct sk_buff_head * skbs) iwl_trans_reclaim() argument
1292 iwl_trans_set_q_ptrs(struct iwl_trans * trans,int queue,int ptr) iwl_trans_set_q_ptrs() argument
1303 iwl_trans_txq_disable(struct iwl_trans * trans,int queue,bool configure_scd) iwl_trans_txq_disable() argument
1310 iwl_trans_txq_enable_cfg(struct iwl_trans * trans,int queue,u16 ssn,const struct iwl_trans_txq_scd_cfg * cfg,unsigned int queue_wdg_timeout) iwl_trans_txq_enable_cfg() argument
1326 iwl_trans_get_rxq_dma_data(struct iwl_trans * trans,int queue,struct iwl_trans_rxq_dma_data * data) iwl_trans_get_rxq_dma_data() argument
1336 iwl_trans_txq_free(struct iwl_trans * trans,int queue) iwl_trans_txq_free() argument
1364 iwl_trans_txq_set_shared_mode(struct iwl_trans * trans,int queue,bool shared_mode) iwl_trans_txq_set_shared_mode() argument
1370 iwl_trans_txq_enable(struct iwl_trans * trans,int queue,int fifo,int sta_id,int tid,int frame_limit,u16 ssn,unsigned int queue_wdg_timeout) iwl_trans_txq_enable() argument
1387 iwl_trans_ac_txq_enable(struct iwl_trans * trans,int queue,int fifo,unsigned int queue_wdg_timeout) iwl_trans_ac_txq_enable() argument
1441 iwl_trans_wait_txq_empty(struct iwl_trans * trans,int queue) iwl_trans_wait_txq_empty() argument
[all...]
/freebsd/sys/dev/liquidio/
H A Dlio_network.h44 #define LIO_MAX_MTU_SIZE (LIO_MAX_FRM_SIZE - LIO_FRM_HEADER_SIZE)
55 /* LiquidIO per-interface network private data */
57 /* State of the interface. Rx/Tx happens only in the RUNNING state. */
66 /* Octeon Input queue to use to transmit for this network interface. */
70 * Octeon Output queue from which pkts arrive
107 /* Size of Tx queue for this octeon device. */
110 /* Size of Rx queue for this octeon device. */
122 /* task queue for rx oom status */
147 * This routine is called by the callback function when a ctrl pkt sent to
150 * pkt was sent successfully to the core app.
[all …]
/freebsd/sys/contrib/dev/iwlwifi/pcie/
H A Dtx.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2003-2014, 2018-2021, 2023-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-201
1180 struct iwl_rx_packet *pkt = rxb_addr(rxb); iwl_pcie_hcmd_complete() local
[all...]
H A Drx.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2003-2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
11 #include "iwl-prp
[all...]
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_ll2_api.h2 * Copyright (c) 2017-2018 Cavium, Inc.
55 ECORE_LL2_TX_DEST_NW /* Light L2 TX Destination to the Network */,
56 ECORE_LL2_TX_DEST_LB /* Light L2 TX Destination to the Loopback */,
57 ECORE_LL2_TX_DEST_DROP /* Light L2 Drop the TX packet */,
191 * @brief ecore_ll2_acquire_connection - allocate resources,
192 * starts rx & tx (if relevant) queues pair. Provides
197 * @param data - describes connection parameters
205 * @brief ecore_ll2_establish_connection - start previously
220 * @brief ecore_ll2_post_rx_buffers - submit buffers to LL2 RxQ.
260 * @brief ecore_ll2_prepare_tx_packet - request for start Tx BD
[all …]
/freebsd/sys/dev/iwm/
H A Dif_iwm.c20 /*-
21 * Based on BSD-licensed source modules in the Linux iwlwifi driver,
34 * Copyright(c) 2007 - 2013 Intel Corporation. All rights reserved.
55 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
60 * Copyright(c) 2005 - 2013 Intel Corporation. All rights reserved.
90 /*-
91 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
173 #define mtodoff(m, t, off) ((t)((m)->m_data + (off)))
230 #define IWM_RIDX_MAX (nitems(iwm_rates)-1)
440 dlen < sizeof(l->size) + l->size * sizeof(*l->cs)) in iwm_store_cscheme()
[all …]
/freebsd/sys/dev/wg/
H A Dif_wg.c1 /* SPDX-License-Identifier: ISC
3 * Copyright (C) 2015-2021 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
4 * Copyright (C) 2019-2021 Matt Dunwoodie <ncon@noconroy.net>
5 * Copyright (c) 2019-2020 Rubicon Communications, LLC (Netgate)
56 #define DEFAULT_MTU (ETHERMTU - 80)
57 #define MAX_MTU (IF_MAXMTU - 80)
61 #define MAX_QUEUED_PKT_MASK (MAX_QUEUED_PKT - 1)
70 #define DPRINTF(sc, ...) if (if_getflags(sc->sc_ifp) & IFF_DEBUG) if_printf(sc->sc_ifp, ##__VA_ARGS…
256 gtaskqueue_drain((gtask)->gt_taskqueue, &(gtask)->gt_task)
385 sx_assert(&sc->sc_lock, SX_XLOCKED); in wg_peer_alloc()
[all …]

12345