/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/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/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/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/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/contrib/llvm-project/clang/lib/Headers/ |
H A D | hexagon_protos.h | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 20 Execution Slots: SLOT23 29 Execution Slots: SLOT23 38 Execution Slots: SLOT23 47 Execution Slots: SLOT0123 56 Execution Slots: SLOT23 65 Execution Slots: SLOT23 [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) 85 * r monitor rx side (copy monitor) 86 * R bind only RX 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 36 * However, only the rx rings are actually used. Each monitor rx ring receives 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 [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_kloop.c | 2 * Copyright (C) 2016-2018 Vincenzo Maffione 43 pause_sbt("sync-kloop-sleep", SBT_1US * _1, SBT_1US * 1, C_ABSOLUTE) 56 /* Support for eventfd-based notifications. */ 67 /* Issue a first store-store barrier to make sure writes to the in sync_kloop_kernel_write() 68 * netmap ring do not overcome updates on ktoa->hwcur and ktoa->hwtail. */ in sync_kloop_kernel_write() 83 * wmb() <-------------> rmb() in sync_kloop_kernel_write() 103 CSB_READ(ptr, head, shadow_ring->head); in sync_kloop_kernel_read() 105 CSB_READ(ptr, cur, shadow_ring->cur); in sync_kloop_kernel_read() 106 CSB_READ(ptr, sync_flags, shadow_ring->flags); in sync_kloop_kernel_read() 108 /* Make sure that loads from atok->head and atok->cur are not delayed in sync_kloop_kernel_read() [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 …]
|
H A D | netmap_generic.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (C) 2013-2016 Vincenzo Maffione 5 * Copyright (C) 2013-2016 Luigi Rizzo 35 * have native support. TX and RX rings are emulated as follows: 63 * RX: 86 #define MBUF_RXQ(m) ((m)->m_pkthdr.flowid) 93 #define MBUF_TXQ(m) 0//((m)->m_pkthdr.flowid) 94 #define MBUF_RXQ(m) 0//((m)->m_pkthdr.flowid) 108 ifp->needed_tailroom, GFP_ATOMIC); in nm_os_get_mbuf() [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 87 .Cm rx 90 for client-side ping-pong operation, and 92 for server-side ping-pong operation. 100 .Cm rx , [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 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/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 94 /* Adjust if using a message driver that supports more logical RX 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 …]
|
/freebsd/sys/contrib/device-tree/Bindings/dma/ |
H A D | ti-edma.txt | 8 ------------------------------------------------------------------------------ 12 -------------------- 13 - compatible: Should be: 14 - "ti,edma3-tpcc" for the channel controller(s) on OMAP, 16 - "ti,k2g-edma3-tpcc", "ti,edma3-tpcc" for the 18 - #dma-cells: Should be set to <2>. The first number is the DMA request 20 - reg: Memory map of eDMA CC 21 - reg-names: "edma3_cc" 22 - interrupts: Interrupt lines for CCINT, MPERR and CCERRINT. 23 - interrupt-names: "edma3_ccint", "edma3_mperr" and "edma3_ccerrint" [all …]
|