/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dnode.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 94 int cmp = TREE_CMP(d1->db_level, d2->db_level); in dbuf_compare() 98 cmp = TREE_CMP(d1->db_blkid, d2->db_blkid); in dbuf_compare() 102 if (d1->db_state == DB_MARKER) { in dbuf_compare() 103 ASSERT3S(d2->db_state, !=, DB_MARKER); in dbuf_compare() 104 return (TREE_PCMP(d1->db_parent, d2)); in dbuf_compare() 105 } else if (d2->db_state == DB_MARKER) { in dbuf_compare() 106 ASSERT3S(d1->db_state, !=, DB_MARKER); in dbuf_compare() 107 return (TREE_PCMP(d1, d2->db_parent)); in dbuf_compare() 110 if (d1->db_state == DB_SEARCH) { in dbuf_compare() [all …]
|
/freebsd/sys/net/ |
H A D | netmap.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (C) 2011-2014 Matteo Landi, Luigi Rizzo. All rights reserved. 48 * Some fields should be cache-aligned to reduce contention. 56 * --- Netmap data structures --- 68 +---->+---------------+ 71 +----------------+ / | other fields | 75 | | / +---------------+ 77 | txring_ofs[0] | (rel.to nifp)--' | flags, ptr | 78 | txring_ofs[1] | +---------------+ [all …]
|
/freebsd/share/man/man4/ |
H A D | netmap.4 | 1 .\" Copyright (c) 2011-2014 Matteo Landi, Luigi Rizzo, Universita` di Pisa 45 .Bl -tag -width XXXX 51 implementing a very fast and modular in-kernel software switch/dataplane; 72 35-40 Mpps on 40 Gbit/s NICs (limited by the hardware); 79 which uses unmodified device drivers and is 3-5 times faster than 98 supports both non-blocking I/O through 145 the rings, and possibly implement zero-copy forwarding 186 .Bl -tag -width XXXX 195 Both SSS and PPP have the form [0-9a-zA-Z_]+ , the string 208 Non-blocking I/O is done with special [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | davinci-mcasp-audio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/davinci-mcasp-audio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jayesh Choudhary <j-choudhary@ti.com> 15 - ti,dm646x-mcasp-audio 16 - ti,da830-mcasp-audio 17 - ti,am33xx-mcasp-audio 18 - ti,dra7-mcasp-audio 19 - ti,omap4-mcasp-audio [all …]
|
H A D | davinci-mcasp-audio.txt | 4 - compatible : 5 "ti,dm646x-mcasp-audio" : for DM646x platforms 6 "ti,da830-mcasp-audio" : for both DA830 & DA850 platforms 7 "ti,am33xx-mcasp-audio" : for AM33xx platforms (AM33xx, AM43xx, TI81xx) 8 "ti,dra7-mcasp-audio" : for DRA7xx platforms 9 "ti,omap4-mcasp-audio" : for OMAP4 11 - reg : Should contain reg specifiers for the entries in the reg-names property. 12 - reg-names : Should contain: 16 - op-mode : I2S/DIT ops mode. 0 for I2S mode. 1 for DIT mode used for S/PDIF, 17 IEC60958-1, and AES-3 formats. [all …]
|
H A D | tdm-slot.txt | 6 dai-tdm-slot-num : Number of slots in use. 7 dai-tdm-slot-width : Width in bits for each slot. 8 dai-tdm-slot-tx-mask : Transmit direction slot mask, optional 9 dai-tdm-slot-rx-mask : Receive direction slot mask, optional 12 dai-tdm-slot-num = <2>; 13 dai-tdm-slot-width = <8>; 14 dai-tdm-slot-tx-mask = <0 1>; 15 dai-tdm-slot-rx-mask = <1 0>; 18 to specify an explicit mapping of the channels and the slots. If it's absent 20 tx and rx masks. [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | litex,liteeth.yaml | 1 # SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Joel Stanley <joel@jms.id.au> 17 https://github.com/enjoy-digital/liteeth/. 20 - $ref: ethernet-controller.yaml# 28 - description: MAC registers 29 - description: MDIO registers 30 - description: Packet buffer 32 reg-names: [all …]
|
/freebsd/contrib/kyua/drivers/ |
H A D | run_tests.cpp | 76 /// Map of in-flight PIDs to their corresponding test case IDs. 86 /// This function is idempotent: we maintain a side cache of already-put test 93 /// \param [in,out] tx Writable transaction on the store. 94 /// \param [in,out] ids_cache Cache of already-put test programs. 99 store::write_transaction& tx, in find_test_program_id() argument 102 const fs::path& key = test_program->relative_path(); in find_test_program_id() 105 const int64_t id = tx.put_test_program(*test_program); in find_test_program_id() 118 /// \param [in,out] tx Writable transaction where to store the result data. 122 store::write_transaction& tx) in put_test_result() argument 124 tx.put_result(result.test_result(), test_case_id, in put_test_result() [all …]
|
/freebsd/usr.sbin/valectl/ |
H A D | valectl.8 | 32 .Bk -words 33 .Bl -tag -width "valectl" 65 .Bl -tag -width Ds 117 it supplies the number of tx and rx rings and slots. 118 The full format with four numbers gives, in order, number of tx slots, number 119 of rx slots, number of tx rings and number of rx rings. 122 for both the number of tx and the number of rx rings. 125 The form with two numbers supplies the numbers of tx and rx slots. 128 for both the number of tx and the number of rx slots. 157 .An -nosplit
|
/freebsd/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/ |
H A D | fsl,cpm1-scc-qmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,cpm1-sc [all...] |
H A D | fsl,qe-ucc-qmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-ucc-qmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Herve Codina <herve.codina@bootlin.com> 19 - enum: 20 - fsl,mpc8321-ucc-qmc 21 - const: fsl,qe-ucc-qmc 25 - description: UCC (Unified communication controller) register base 26 - description: Dual port ram base [all …]
|
H A D | fsl,cpm1-tsa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,cpm1-tsa.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: PowerQUICC CPM Time-slot assigner (TSA) controller 10 - Herve Codina <herve.codina@bootlin.com> 13 The TSA is the time-slot assigner that can be found on some PowerQUICC SoC. 14 Its purpose is to route some TDM time-slots to other internal serial 20 - enum: 21 - fsl,mpc885-tsa [all …]
|
H A D | fsl,qe-tsa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-tsa.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: PowerQUICC QE Time-slot assigner (TSA) controller 10 - Herve Codina <herve.codina@bootlin.com> 13 The TSA is the time-slot assigner that can be found on some PowerQUICC SoC. 14 Its purpose is to route some TDM time-slots to other internal serial 20 - enum: 21 - fsl,mpc8321-tsa [all …]
|
H A D | fsl,ucc-hdlc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,ucc-hdlc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: High-Level Data Link Control(HDLC) 12 - Frank Li <Frank.Li@nxp.com> 16 const: fsl,ucc-hdlc 24 cell-index: 27 rx-clock-name: 30 - pattern: "^brg([0-9]|1[0-6])$" [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | dnode.h | 9 * or https://opensource.org/licenses/CDDL-1.0. 68 * entire object, so 5 levels will be used, but 5 * (20 - 7) = 65. 79 * Note: a file will never ever have its ids moved from bonus->spill 94 #define DN_BONUS_SIZE(dnsize) ((dnsize) - DNODE_CORE_SIZE - \ 96 #define DN_SLOTS_TO_BONUSLEN(slots) DN_BONUS_SIZE((slots) << DNODE_SHIFT) argument 98 #define DN_MAX_NBLKPTR ((DNODE_MIN_SIZE - DNODE_CORE_SIZE) >> SPA_BLKPTRSHIFT) 110 #define DNODES_PER_BLOCK_SHIFT (DNODE_BLOCK_SHIFT - DNODE_SHIFT) 117 #define DNODES_PER_LEVEL_SHIFT (DN_MAX_INDBLKSHIFT - SPA_BLKPTRSHIFT) 120 #define DN_MAX_LEVELS (DIV_ROUND_UP(DN_MAX_OFFSET_SHIFT - SPA_MINBLOCKSHIFT, \ 121 DN_MIN_INDBLKSHIFT - SPA_BLKPTRSHIFT) + 1) [all …]
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_keycache.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 90 "AES-OCB", in ath_keyprint() 91 "AES-CCM", in ath_keyprint() 98 printf("%s: [%02u] %-7s ", tag, ix, ciphers[hk->kv_type]); in ath_keyprint() 99 for (i = 0, n = hk->kv_len; i < n; i++) in ath_keyprint() 100 printf("%02x", hk->kv_val[i]); in ath_keyprint() 102 if (hk->kv_type == HAL_CIPHER_TKIP) { in ath_keyprint() 103 printf(" %s ", sc->sc_splitmic ? "mic" : "rxmic"); in ath_keyprint() [all …]
|
/freebsd/sys/dev/ena/ |
H A D | ena_netmap.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2015-2024 Amazon.com, Inc. or its affiliates. 44 struct netmap_slot *slots; member 86 ena_log_nm(adapter->pdev, INFO, "netmap attach\n"); in ena_netmap_attach() 90 na.ifp = adapter->ifp; in ena_netmap_attach() 91 na.num_tx_desc = adapter->requested_tx_ring_size; in ena_netmap_attach() 92 na.num_rx_desc = adapter->requested_rx_ring_size; in ena_netmap_attach() 93 na.num_tx_rings = adapter->num_io_queues; in ena_netmap_attach() 94 na.num_rx_rings = adapter->num_io_queues; in ena_netmap_attach() [all …]
|
/freebsd/lib/libnetmap/ |
H A D | libnetmap.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 32 /* if thread-safety is not needed, define LIBNETMAP_NOTHREADSAFE before including 78 * -NN bind individual NIC ring pair 83 * z zero copy monitor (both tx and rx) 84 * t monitor tx side (copy monitor) 87 * T bind only TX ring(s) 94 * option:key1=value1,key2=value2,... (multi-key option) 96 * For multi-key options, the keys can be assigned in any order, but they 98 * option keys: unmentioned keys will receive default values. Some multi-key [all …]
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_monitor.c | 2 * Copyright (C) 2014-2016 Giuseppe Lettieri 37 * the traffic transiting on both the tx and rx corresponding rings in the 39 * to intercept tx only, rx only, or both tx and rx traffic. 40 * The slots containing traffic intercepted in the tx direction will have 48 * Monitors can be either zero-copy or copy-based. 52 * - For tx traffic, this is when the application sends them, before they are 55 * - For rx traffic, this is when they are received by the adapter, before 60 * Zero-copy monitors only see the frames after they have been consumed: 62 * - For tx traffic, this is after the slots containing the frames have been 64 * frame transmission, since freeing of slots is often done lazily. [all …]
|
H A D | if_vtnet_netmap.h | 2 * Copyright (C) 2014-2018 Vincenzo Maffione, Luigi Rizzo. 39 if_t ifp = na->ifp; in vtnet_netmap_reg() 60 struct netmap_adapter *na = kring->na; in vtnet_netmap_txsync() 61 if_t ifp = na->ifp; in vtnet_netmap_txsync() 62 struct netmap_ring *ring = kring->ring; in vtnet_netmap_txsync() 63 u_int ring_nr = kring->ring_id; in vtnet_netmap_txsync() 65 u_int const lim = kring->nkr_num_slots - 1; in vtnet_netmap_txsync() 66 u_int const head = kring->rhead; in vtnet_netmap_txsync() 68 /* device-specific */ in vtnet_netmap_txsync() 70 struct vtnet_txq *txq = &sc->vtnet_txqs[ring_nr]; in vtnet_netmap_txsync() [all …]
|
H A D | netmap_kern.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (C) 2011-2014 Matteo Landi, Luigi Rizzo 5 * Copyright (C) 2013-2016 Universita` di Pisa 92 #define NM_MTX_T struct sx /* OS-specific mutex (sleepable) */ 102 #define MBUF_LEN(m) ((m)->m_pkthdr.len) 103 #define MBUF_TXQ(m) ((m)->m_pkthdr.flowid) 104 #define MBUF_TRANSMIT(na, ifp, m) ((na)->if_transmit(ifp, m)) 105 #define GEN_TX_MBUF_IFP(m) ((m)->m_pkthdr.rcvif) 106 #define GEN_TX_MBUF_NA(m) ((struct netmap_adapter *)(m)->m_ext.ext_arg1) [all …]
|
/freebsd/tools/tools/netmap/ |
H A D | pkt-gen.8 | 1 .\" Copyright (c) 2016, George V. Neville-Neil 30 .Nm pkt-gen 34 .Bl -item -compact 43 .Op Fl d Ar dst_ip[:port[-dst_ip:port]] 44 .Op Fl s Ar src_ip[:port[-src_ip:port]] 65 .Bl -tag -width Ds 85 .Cm tx 90 for client-side ping-pong operation, and 92 for server-side ping-pong operation. 98 .Cm tx [all …]
|
/freebsd/sys/arm/ti/cpsw/ |
H A D | if_cpswvar.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 97 /* RX and TX buffer tracking */ 98 struct cpsw_queue rx, tx; member 106 /* A buffer full of nulls for TX padding. */ 117 /* 64-bit versions of 32-bit hardware statistics counters */ 120 /* CPPI STATERAM has 512 slots for building TX/RX queues. */ 124 Device Tree parameter for number slots; another option
|
/freebsd/lib/libpmc/pmu-events/arch/s390/cf_z14/ |
H A D | extended.json | 5 "BriefDescription": "L1D Read-only Exclusive Writes", 6 …blicDescription": "A directory write to the Level-1 Data cache where the line was originally in a … 18 …data cache. Incremented by one for every TLB2 miss in progress for the Level-1 Data cache on this … 23 "BriefDescription": "DTLB2 One-Megabyte Page Writes", 24 … into the Combined Region and Segment Table Entry array in the Level-2 TLB for a one-megabyte page… 29 "BriefDescription": "DTLB2 Two-Gigabyte Page Writes", 30 …"PublicDescription": "A translation entry for a two-gigabyte page was written into the Level-2 TLB" 36 …on": "A directory write to the Level-1 Data cache directory where the returned cache line was sour… 48 …tion cache. Incremented by one for every TLB2 miss in progress for the Level-1 Instruction cache i… 54 … "A directory write to the Level-1 Instruction cache directory where the returned cache line was s… [all …]
|
/freebsd/sys/contrib/vchiq/interface/vchi/ |
H A D | vchi_cfg.h | 2 * Copyright (c) 2010-2012 Broadcom. All rights reserved. 13 * 3. The names of the above-listed copyright holders may not be used 43 /* Really determined by the message driver, and should be available from a run-time call. */ 54 /* Really determined by the message driver, and should be available from a run-time call. */ 77 * 1 for host-app, 1 for VMCS, and these are hooked together by a loopback MPHI VCFW 89 /* Adjust if using a message driver that supports more logical TX channels */ 99 /* How many receive slots do we use. This times VCHI_MAX_MSG_SIZE gives the effective 109 /* Do we utilise overrun facility for receive message slots? Can aid peer transmit 114 /* How many transmit slots do we use. Generally don't need many, as the hardware driver 120 /* If a service has held or queued received messages in VCHI_XOFF_THRESHOLD or more slots, [all …]
|