Enet Driver Documentation

Table of Contents


Introduction

The Unified Ethernet Low-Level Driver (Enet LLD) is a PDK driver that aims at providing an unified interface for the different Ethernet peripherals found in TI SoCs.

The Enet LLD is composed of the following layers: top-layer APIs, peripheral layer, module layer and CSL. The diagram below depicts the layers in the Enet LLD.

EnetLLD_Diagram.png
Enet LLD Block Diagram

Back To Top


Application Programming Interface

The Enet LLD provides two sets of APIs: control and DMA.

Control path API

The control API is an IOCTL-based interface which is used by applications to control the Ethernet peripheral and its submodules.

For further details on the top-level control APIs, refer to the Enet Main API.

Data path (DMA) API

The DMA API is used by applications to perform data movement related operations, such as opening and closing DMA channels, submitting and retrieving packets from the underlying DMA controller.

For further details on the top-level control APIs, refer to the Enet Data Path (DMA).

Life cycle of an Enet LLD based application

The following diagram shows the usage of Enet LLD top-level APIs by local and remote clients.

Enet_Lifecycle.png
Enet LLD life cycle

Back To Top


Integration

The following diagram shows an example of the Enet LLD integration in a J721E device of the Jacinto 7 family. In this integration example, the Ethernet Firmware is built on top of the Enet LLD which provides an abstraction to the underlying functionality of the CPSW_9G Ethernet peripheral.

EnetLLD_Jacinto7.png
Enet LLD integration in Jacinto 7 devices

Back To Top


Document Revision History

Revision Date Author Description Status
0.1 17 Aug 2020 Misael Lopez First version Draft

Copyright 2020, Texas Instruments Incorporated