Overview of the NIMU Layer
2.1
Overview of the NIMU Layer
2.2
NIMU APIs
2-2
The Network Interface Management Unit (NIMU) layer interfaces with the
NDK core stack. It enables the stack to control the device at runtime. This
layer is platform-independent and is easily portable across various
platforms.
Driver writers need to implement APIs as follows to make their driver
NIMU-compliant:
1) Register a driver Init callback function with the core NDK NIMU layer
by populating the function in the NIMUDeviceTable.
2) Allocate and initialize the NETIF_DEVICE structure for this device
with the appropriate parameters and callback functions defined for
the following NIMU-defined APIs:
■ start
■ stop
■ poll
■ send
■ pkt_service
■ ioctl
■ add_header
3) Invoke the NIMURegister API to register this device with the NDK
core's NIMU layer for further management.
4) Finally, implement all the callback functions as per the NIMU
architecture guidelines and the API descriptions described in
"Network Interface Management Unit" section of the TMS320C6000
Network Developer's Kit (NDK) Software Programmer's Reference
Guide (SPRU524).
Please see the nimu_eth.c file in the sample Ethernet driver code
packaged as NDK Support Package (NSP) for any C64x+ device for an
example NIMU API implementation.
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?