| /freebsd/sys/contrib/device-tree/Bindings/net/ |
| H A D | intel,ixp4xx-hss.yaml | 1 # 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 D | intel-ixp42x-goramo-multilink.dts | 1 // 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 D | gve_tx_dqo.c | 1 /*- 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 D | gve_tx.c | 1 /*- 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 …]
|
| /freebsd/sys/dev/e1000/ |
| H A D | e1000_regs.h | 2 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 D | e1000_82575.h | 2 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 D | e1000_base.h | 2 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/dev/iwlwifi/mvm/ |
| H A D | tx.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2012-2014, 2018-2025 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" 16 #include "iwl-utils.h" 19 #include "time-sync.h" 28 trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, NULL, FW_DBG_TRIGGER_BA); in iwl_mvm_bar_check_trigger() 32 ba_trig = (void *)trig->data; in iwl_mvm_bar_check_trigger() [all …]
|
| H A D | time-sync.c | 1 // 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 …]
|
| /freebsd/sys/contrib/device-tree/Bindings/firmware/ |
| H A D | intel,ixp4xx-network-processing-engine.yaml | 1 # 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/mld/ |
| H A D | tx.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 14 * struct iwl_mld_txq - TX Queue data 18 * @status.allocated: Indicates that the queue was allocated. 19 * @status.stop_full: Indicates that the queue is full and should stop TXing. 21 * @tx_request: makes sure that if there are multiple threads that want to tx 41 INIT_LIST_HEAD(&mld_txq->list); in iwl_mld_init_txq() 42 atomic_set(&mld_txq->tx_request, 0); in iwl_mld_init_txq() 48 return (void *)txq->drv_priv; in iwl_mld_txq_from_mac80211() 58 struct iwl_rx_packet *pkt); 67 struct iwl_rx_packet *pkt);
|
| H A D | notif.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2024-2025 Intel Corporation 11 #include "iwl-trans.h" 15 #include "fw/api/mac-cfg.h" 16 #include "session-protect.h" 17 #include "fw/api/time-event.h" 18 #include "fw/api/tx.h" 27 #include "tx.h" 37 #include "ftm-initiator.h" 70 struct iwl_rx_packet *pkt, \ [all …]
|
| H A D | tx.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2024 - 2025 Intel Corporation 7 #include "tx.h" 10 #include "iwl-utils.h" 15 #include "fw/api/tx.h" 19 #include "fw/api/time-event.h" 23 /* Toggles between TX antennas. Receives the bitmask of valid TX antennas and 24 * the *index* used for the last TX, and returns the next valid *index* to use. 50 struct ieee80211_sta *sta = txq->sta; in iwl_mld_get_queue_size() 55 lockdep_assert_wiphy(mld->wiphy); in iwl_mld_get_queue_size() [all …]
|
| /freebsd/tools/tools/netmap/ |
| H A D | pkt-gen.c | 2 * 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 D | if_vgereg.h | 1 /*- 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 D | al_hal_eth_main.c | 1 /*- 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 D | al_hal_eth_ec_regs.h | 1 /*- 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/crypto/openssl/include/internal/ |
| H A D | quic_record_tx.h | 2 * Copyright 2022-2024 The OpenSSL Project Authors. All Rights Reserved. 23 * QUIC Record Layer - TX 49 /* Maximum datagram payload length (MDPL) for TX purposes. */ 78 * ----------------- 105 * Subsequent calls for non-INITIAL ELs fail. Calls made after a corresponding 107 * the INITIAL EL. The secret for a non-INITIAL EL cannot be changed after it is 158 * ------------------- 166 * iovecs expressing the logical packet payload buffer. Zero-length entries 172 /* Destination address. Will be passed through to the BIO if non-NULL. */ 176 * Local address (optional). Specify as non-NULL only if TX BIO [all …]
|
| /freebsd/sys/dev/igc/ |
| H A D | igc_base.h | 1 /*- 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 D | iwl-trans.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2025 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 15 #include "iwl-debug.h" 16 #include "iwl-config.h" 18 #include "iwl-op-mode.h" 22 #include "fw/api/dbg-tlv.h" 23 #include "iwl-dbg-tlv.h" 26 #include "iwl-modparams.h" [all …]
|
| /freebsd/sys/dev/liquidio/ |
| H A D | lio_network.h | 44 #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/dev/iwx/ |
| H A D | if_iwx.c | 1 /*- 2 * SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) AND ISC 28 /*- 64 /*- 65 * Based on BSD-licensed source modules in the Linux iwlwifi driver, 76 * Copyright(c) 2018 - 2019 Intel Corporation 90 * Copyright(c) 2018 - 2019 Intel Corporation 122 /*- 123 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> 187 #define DEVNAME(_sc) (device_get_nameunit((_sc)->sc_dev)) [all …]
|
| /freebsd/crypto/openssl/ssl/quic/ |
| H A D | quic_rx_depack.c | 2 * Copyright 2022-2025 The OpenSSL Project Authors. All Rights Reserved. 37 static int depack_do_frame_padding(PACKET *pkt) in depack_do_frame_padding() argument 40 ossl_quic_wire_decode_padding(pkt); in depack_do_frame_padding() 44 static int depack_do_frame_ping(PACKET *pkt, QUIC_CHANNEL *ch, in depack_do_frame_ping() argument 49 if (!ossl_quic_wire_decode_frame_ping(pkt)) { in depack_do_frame_ping() 57 ossl_quic_tx_packetiser_schedule_ack_eliciting(ch->txp, enc_level); in depack_do_frame_ping() 61 static int depack_do_frame_ack(PACKET *pkt, QUIC_CHANNEL *ch, in depack_do_frame_ack() argument 69 uint32_t ack_delay_exp = ch->rx_ack_delay_exp; in depack_do_frame_ack() 71 if (!ossl_quic_wire_peek_frame_ack_num_ranges(pkt, &total_ranges) in depack_do_frame_ack() 76 if (ch->num_ack_range_scratch < (size_t)total_ranges) { in depack_do_frame_ack() [all …]
|
| /freebsd/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_ll2_api.h | 2 * 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 D | if_iwm.c | 20 /*- 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 …]
|