/Zephyr-latest/drivers/ethernet/dwc_xgmac/ |
D | Kconfig | 5 # SPDX-License-Identifier: Apache-2.0 53 bool "RX checksum offload" 56 Enable receive checksum offload for TCP/UDP/IP packets 59 bool "TX checksum offload" 62 Enable transmit checksum offload for TCP/UDP/IP packets 81 bool "ARP Offload"
|
D | eth_dwc_xgmac_priv.h | 7 * SPDX-License-Identifier: Apache-2.0 404 * @brief TX DMA memory area buffer descriptor ring management structure. 407 * is used to manage either the TX buffer descriptor array. 411 * or evaluated for the next TX operation. 417 /* Index of the next BD to be used for TX */ 419 /* Address of the first descriptor in the TX descriptor ring. This field will be 420 * updated in TX descriptor initialization and consumed by channel initialization. 423 /* Address of the last descriptor in the TX descriptor ring. This field will be 424 * updated in TX descriptor initialization and consumed by channel initialization. 454 /* TX packet queue ID */ [all …]
|
D | eth_dwc_xgmac.c | 4 * SPDX-License-Identifier: Apache-2.0 19 #define UPDATE_ETH_STATS_TX_PKT_CNT(dev_data, incr) (dev_data->stats.pkts.tx += incr) 20 #define UPDATE_ETH_STATS_RX_PKT_CNT(dev_data, incr) (dev_data->stats.pkts.rx += incr) 21 #define UPDATE_ETH_STATS_TX_BYTE_CNT(dev_data, incr) (dev_data->stats.bytes.sent += incr) 22 #define UPDATE_ETH_STATS_RX_BYTE_CNT(dev_data, incr) (dev_data->stats.bytes.received += incr) 23 #define UPDATE_ETH_STATS_TX_ERROR_PKT_CNT(dev_data, incr) (dev_data->stats.errors.tx += incr) 24 #define UPDATE_ETH_STATS_RX_ERROR_PKT_CNT(dev_data, incr) (dev_data->stats.errors.rx += incr) 25 #define UPDATE_ETH_STATS_TX_DROP_PKT_CNT(dev_data, incr) (dev_data->stats.tx_dropped += incr) 37 * @brief Run-time device configuration data structure. 40 * controller instance which is modifiable at run-time, such as [all …]
|
/Zephyr-latest/dts/bindings/ethernet/ |
D | xlnx,gem.yaml | 3 # SPDX-License-Identifier: Apache-2.0 10 include: ethernet-controller.yaml 19 clock-frequency: 23 Specifies the base clock frequency from which the GEM's TX clock 25 clock control register in the CRL_APB. The GEM's TX clock frequency 27 which it will be adjusted at run-time. Therefore, the value of this 29 respective GEM's TX clock - by default, this is the IO PLL. 31 mdc-divider: 42 init-mdio-phy: 45 Activates the management of a PHY associated with the controller in- [all …]
|
/Zephyr-latest/drivers/ethernet/ |
D | Kconfig.stm32_hal | 5 # SPDX-License-Identifier: Apache-2.0 84 PHY's carrier status is re-evaluated. 93 bool "Use TX and RX hardware checksum" 96 Enable receive and transmit checksum offload to enhance throughput
|
D | eth_cyclonev_priv.h | 4 * SPDX-License-Identifier: Apache-2.0 8 * 3504-0 Universal 10/100/1000 Ethernet MAC (DWC_gmac) 41 /* Tx/Rx Descriptor Rings */ 43 uint32_t rxints; /* Tx stats */ 321 #define EMAC_DMA_HW_FEATURE_HDSEL 0x00000004 /* Half-Duplex support */ 322 #define EMAC_DMA_HW_FEATURE_RXTYP2COE 0x00040000 /* IP Checksum Offload (Type 2) in Rx */ 323 #define EMAC_DMA_HW_FEATURE_RXTYP1COE 0x00020000 /* IP Checksum Offload (Type 1) in Rx */ 324 #define EMAC_DMA_HW_FEATURE_TXOESEL 0x00010000 /* Checksum Offload in Tx */ 332 * ------------------------------------------------------------------------------------------- 334 * ------------------------------------------------------------------------------------------- [all …]
|
D | eth_sam_gmac_priv.h | 3 * SPDX-License-Identifier: Apache-2.0 31 /** Memory alignment of the RX/TX Buffer Descriptor List */ 35 #define GMAC_PRIORITY_QUEUE_NUM (GMAC_QUEUE_NUM - 1) 37 BUILD_ASSERT(ARRAY_SIZE(GMAC->GMAC_TBQBAPQ) + 1 == GMAC_QUEUE_NUM, 42 #define GMAC_ACTIVE_PRIORITY_QUEUE_NUM (GMAC_ACTIVE_QUEUE_NUM - 1) 46 /** TX descriptors count for main queue */ 49 /** RX/TX descriptors count for priority queues */ 142 /** Transmit IP/TCP/UDP checksum generation offload errors */ 179 /* Transmitter Checksum Generation Offload Enable */
|
D | eth_xlnx_gem_priv.h | 7 * SPDX-License-Identifier: Apache-2.0 22 #define ETH_XLNX_BUFFER_ALIGNMENT 4 /* RX/TX buffer alignment (in bytes) */ 26 /* Receive Buffer Descriptor bits & masks: comp. Zynq-7000 TRM, Table 16-2. */ 30 * [31 .. 02] Mask for effective buffer address -> excludes [1..0] 45 * [24] this bit has different semantics depending on whether RX checksum 47 * [23 .. 22] These bits have different semantics depending on whether RX check- 54 * [15] End-of-frame bit 55 * [14] Start-of-frame bit 78 /* Transmit Buffer Descriptor bits & masks: comp. Zynq-7000 TRM, Table 16-3. */ 83 * [30] Wrap bit, last BD in TX BD ring [all …]
|
D | eth_xlnx_gem.c | 5 * SPDX-License-Identifier: Apache-2.0 8 * - Only supports 32-bit addresses in buffer descriptors, therefore 9 * the ZynqMP APU (Cortex-A53 cores) may not be fully supported. 10 * - Hardware timestamps not considered. 11 * - VLAN tags not considered. 12 * - Wake-on-LAN interrupt not supported. 13 * - Send function is not SMP-capable (due to single TX done semaphore). 14 * - Interrupt-driven PHY management not supported - polling only. 15 * - No explicit placement of the DMA memory area(s) in either a 18 * with the Cortex-R5 QEMU target or an actual R5 running without the [all …]
|
D | eth_numaker.c | 4 * SPDX-License-Identifier: Apache-2.0 64 /* Delay execution for given amount of ticks for SDK-HAL */ 74 synopGMAC_write_phy_reg((u32 *)gmacdev->MacBase, addr, reg, data); in mdio_write() 81 synopGMAC_read_phy_reg((u32 *)gmacdev->MacBase, addr, reg, &data); in mdio_read() 108 return -EIO; in reset_phy() 116 gmacdev->LinkState = LINKUP; in reset_phy() 119 gmacdev->LinkState = LINKDOWN; in reset_phy() 121 return -EIO; in reset_phy() 135 return -EIO; in reset_phy() 141 gmacdev->DuplexMode = FULLDUPLEX; in reset_phy() [all …]
|
D | eth_xmc4xxx.c | 5 * SPDX-License-Identifier: Apache-2.0 49 #define IS_OWNED_BY_DMA_TX(desc) (((desc)->status & ETH_MAC_DMA_TDES0_OWN) != 0) 50 #define IS_OWNED_BY_DMA_RX(desc) (((desc)->status & ETH_MAC_DMA_RDES0_OWN) != 0) 52 #define IS_START_OF_FRAME_RX(desc) (((desc)->status & ETH_MAC_DMA_RDES0_FS) != 0) 53 #define IS_END_OF_FRAME_RX(desc) (((desc)->status & ETH_MAC_DMA_RDES0_LS) != 0) 55 #define IS_TIMESTAMP_AVAILABLE_RX(desc) (((desc)->status & ETH_MAC_DMA_RDES0_TSA) != 0) 56 #define IS_TIMESTAMP_AVAILABLE_TX(desc) (((desc)->status & ETH_MAC_DMA_TDES0_TTSS) != 0) 58 #define TOTAL_FRAME_LENGTH(desc) (FIELD_GET(ETH_MAC_DMA_RDES0_FL, (desc)->status) - 4) 134 return ctx->iface; in get_iface() 139 const struct eth_xmc4xxx_config *dev_cfg = dev->config; in eth_xmc4xxx_tx_dma_descriptors_init() [all …]
|
D | eth_cyclonev.c | 2 * SPDX-License-Identifier: Apache-2.0 5 * 3504-0 Universal 10/100/1000 Ethernet MAC (DWC_gmac) 9 * https://github.com/altera-opensource/intel-socfpga-hwlib 71 * /us/en/pdfs/literature/hb/cyclone-v/cv_54001.pdf p. 1252 135 sys_write32(tmpreg, EMAC_GMAC_MAC_ADDR_HIGH_ADDR(p->base_addr, n)); in eth_cyclonev_set_mac_addr() 142 sys_write32(tmpreg, EMAC_GMAC_MAC_ADDR_LOW_ADDR(p->base_addr, n)); in eth_cyclonev_set_mac_addr() 156 return -1; in eth_cyclonev_get_software_reset_status() 158 return EMAC_DMA_MODE_SWR_GET(sys_read32(EMAC_DMAGRP_BUS_MODE_ADDR(p->base_addr))); in eth_cyclonev_get_software_reset_status() 167 * @retval 0 if Reset was successful, -1 otherwise 175 return -1; in eth_cyclonev_software_reset() [all …]
|
D | eth_sam_gmac.c | 6 * SPDX-License-Identifier: Apache-2.0 12 * This is a zero-copy networking implementation of an Ethernet driver. To 18 * - one shot PHY setup, no support for PHY disconnect/reconnect 19 * - no statistics collection 67 dcache_enabled = (SCB->CCR & SCB_CCR_DC_Msk); in dcache_is_enabled() 76 uint32_t start_addr = addr & (uint32_t)~(GMAC_DCACHE_ALIGNMENT - 1); in dcache_invalidate() 77 uint32_t size_full = size + addr - start_addr; in dcache_invalidate() 89 uint32_t start_addr = addr & (uint32_t)~(GMAC_DCACHE_ALIGNMENT - 1); in dcache_clean() 90 uint32_t size_full = size + addr - start_addr; in dcache_clean() 119 #if CONFIG_NET_BUF_DATA_SIZE * (CONFIG_NET_BUF_RX_COUNT - \ [all …]
|
/Zephyr-latest/subsys/net/ip/ |
D | Kconfig | 6 # SPDX-License-Identifier: Apache-2.0 61 module-dep = NET_LOG 62 module-str = Log level for PMTU 63 module-help = Enables PMTU to output debug messages. 78 bool "Offload IP stack" 80 Enables TCP/IP stack to be offload to a co-processor. 92 module-dep = NET_LOG 93 module-str = Log level for offload layer 94 module-help = Enables offload layer to output debug messages. 136 Connect to host system via Qemu's built-in User Networking support. This [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | net_if.h | 4 * SPDX-License-Identifier: Apache-2.0 280 /** Mutex locking on TX data path disabled on the interface. */ 284 /* Total number of flags - must be at the end of the enum */ 348 * "DESYNC_FACTOR is a random value within the range 0 - MAX_DESYNC_FACTOR. 469 /** IPv4 time-to-live */ 472 /** IPv4 time-to-live for multicast packets */ 614 /** Fifo for handling this Tx or Rx packet */ 663 /** TCP/IP Offload functions. 664 * If non-NULL, then the TCP/IP stack is located 668 struct net_offload *offload; member [all …]
|
D | ieee802154_radio.h | 5 * SPDX-License-Identifier: Apache-2.0 12 * @note All references to the standard in this file cite IEEE 802.15.4-2020. 38 * @details This API provides a common representation of vendor-specific 44 * - a basic, mostly PHY-level driver API to be implemented by all drivers, 45 * - several optional MAC-level extension points to offload performance 51 * offloading to vendor-specific hardware or firmware features may be required 53 * subprotocols (e.g. fast enough ACK packages, precise timing of timed TX/RX in 56 * Whether or not MAC-level offloading extension points need to be implemented 60 * @note All section, table and figure references are to the IEEE 802.15.4-2020 67 * @name IEEE 802.15.4-2020, Section 6: MAC functional description [all …]
|
/Zephyr-latest/drivers/wifi/nrf_wifi/ |
D | Kconfig.nrfwifi | 1 # Nordic Wi-Fi driver for nRF70 series SoCs 5 # SPDX-License-Identifier: Apache-2.0 21 Nordic Wi-Fi Driver 66 bool "Offloaded raw TX mode of the nRF70 driver" 106 bool "RAW TX data path in the driver" 120 bool "TX data path in the driver" 124 bool "Wi-Fi interface auto start on boot" 145 bool "Low power mode in nRF Wi-Fi chipsets" 149 bool "TCP/IP checksum offload" 169 module-dep = LOG [all …]
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | iface.c | 5 * SPDX-License-Identifier: Apache-2.0 40 EC(ETHERNET_HW_TX_CHKSUM_OFFLOAD, "TX checksum offload"), 41 EC(ETHERNET_HW_RX_CHKSUM_OFFLOAD, "RX checksum offload"), 60 EC(ETHERNET_TXINJECTION_MODE, "TX-Injection supported"), 94 PR("%s-duplex\n", PHY_LINK_IS_FULL_DUPLEX(link.speed) ? "full" : "half"); in print_phy_link_state() 107 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str() 112 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str() 117 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str() 120 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str() 125 pos += snprintk(str + pos, sizeof(str) - pos, in iface_flags2str() [all …]
|
D | stats.c | 5 * SPDX-License-Identifier: Apache-2.0 53 PR("Bytes received : %u\n", data->bytes.received); in print_eth_stats() 54 PR("Bytes sent : %u\n", data->bytes.sent); in print_eth_stats() 55 PR("Packets received : %u\n", data->pkts.rx); in print_eth_stats() 56 PR("Packets sent : %u\n", data->pkts.tx); in print_eth_stats() 57 PR("Bcast received : %u\n", data->broadcast.rx); in print_eth_stats() 58 PR("Bcast sent : %u\n", data->broadcast.tx); in print_eth_stats() 59 PR("Mcast received : %u\n", data->multicast.rx); in print_eth_stats() 60 PR("Mcast sent : %u\n", data->multicast.tx); in print_eth_stats() 62 PR("Send errors : %u\n", data->errors.tx); in print_eth_stats() [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.6.rst | 12 * New :ref:`GNSS subsystem <gnss_api>` added, enabling geo-awareness in Zephyr applications. 13 * New API and drivers introduced for interfacing with :ref:`keyboard matrices <gpio-kbd>`. 16 * Integrated Trusted Firmware-M (TF-M) 2.0, including an update to Mbed TLS 3.5.2. 23 * Over 30 new supported boards, spanning all Zephyr-supported architectures. 37 * CVE-2023-5779 `Zephyr project bug tracker GHSA-7cmj-963q-jj47 38 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7cmj-963q-jj47>`_ 40 * CVE-2023-6249 `Zephyr project bug tracker GHSA-32f5-3p9h-2rqc 41 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-32f5-3p9h-2rqc>`_ 43 * CVE-2023-6749 `Zephyr project bug tracker GHSA-757h-rw37-66hw 44 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-757h-rw37-66hw>`_ [all …]
|
D | release-notes-2.1.rst | 13 * Expanded support for ARMv6-M architecture. 50 hardware-based stack overflow detection) in ARMv6-M architecture 51 * Added QEMU support for ARMv6-M architecture 52 * Extended test coverage for ARM-specific kernel features in ARMv6-M 54 * Enhanced runtime MPU programming in ARMv8-M architecture, making 55 the full partitioning of kernel SRAM memory a user-configurable 57 * Added CMSIS support for Cortex-R architectures. 59 * Added missing Cortex-R CPU device tree bindings. 60 * Fixed incorrect Cortex-R device tree specification. 68 * RISC-V: [all …]
|
D | release-notes-2.0.rst | 12 * The kernel now supports both 32- and 64-bit architectures. 17 * We added support for :ref:`Point-to-Point Protocol (PPP) <ppp>`. PPP is a 20 * We added support for UpdateHub, an end-to-end solution for large scale 21 over-the-air device updates. 22 * We added support for ARM Cortex-R Architecture (Experimental). 32 * Fixes CVE-2019-9506: The Bluetooth BR/EDR specification up to and 35 negotiation. This allows practical brute-force attacks (aka "KNOB") 42 * New kernel API for per-thread disabling of Floating Point Services for 43 ARC, ARM Cortex-M, and x86 architectures. 45 * Additional support for compatibility with 64-bit architectures. [all …]
|
D | release-notes-3.1.rst | 61 * Split CAN classic and CAN-FD APIs: 90 was moved from Kconfig to :ref:`devicetree <dt-guide>`. 91 See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information. 182 * MIPI-DSI 184 * Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API, 196 * Added support for enabling/disabling CAN-FD mode at runtime using :c:macro:`CAN_MODE_FD`. 220 * Added support for Provisioners over PB-GATT 225 * Added support for the full ISO TX data path, including ISOAL 231 * Implemented ISO-AL TX unframed fragmentation 232 * Added support for back-to-back receiving of PDUs on nRF5x platforms [all …]
|
D | release-notes-1.12.rst | 12 - Asymmetric multiprocessing (AMP) via integration of OpenAMP 13 - Persistent storage support for Bluetooth Low Energy including Mesh 14 - 802.1Q - Virtual Local Area Network (VLAN) traffic on an Ethernet network 15 - Support multiple concurrent filesystem devices, partitions, and FS types 16 - Ethernet network management interface 17 - Networking traffic prioritization on a per-connection basis 18 - Support for Ethernet statistical counters 19 - Support for TAP net device on the native POSIX port 20 - Command-line Zephyr meta-tool "west" 21 - SPI slave support [all …]
|
D | release-notes-3.3.rst | 14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery) 17 CMSIS-DSP as the default backend. 30 * CVE-2023-0359: Under embargo until 2023-04-20 32 * CVE-2023-0779: Under embargo until 2023-04-22 66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding. 71 * Starting from this release ``zephyr-`` prefixed tags won't be created 82 image states). Use of a truncated hash or non-sha256 hash will still work 88 registration function at boot-up. If applications register this then 93 application code, these will now automatically be registered at boot-up (this 120 * MCUmgr fs_mgmt hash/checksum function, type and variable names have been [all …]
|