124 | | === void '''giet_nic_alloc'''( ) === |
125 | | This function allocates a private NIC channel to the calling task, and . |
126 | | Exit if no available NIC channel. |
| 124 | === void '''giet_nic_tx_alloc'''( ) === |
| 125 | This function allocates a private NIC_TX channel (coming with the associated kernel NIC_TX chbuf), and a private CMA channel to the calling task. It registers the corresponding indexes in the calling task context. |
| 126 | The calling task exit if no available NIC_TX channel, or no available CMA channel. |
| 127 | |
| 128 | === void '''giet_nic_rx_alloc'''( ) === |
| 129 | This function allocates a private NIC_RX channel (coming with the associated kernel NIC_RX chbuf), and a private CMA channel to the calling task. It registers the corresponding indexes in the calling task context. |
| 130 | The calling task exit if no available NIC_RX channel, or no available CMA channel. |
| 131 | |
| 132 | === void '''giet_nic_tx_start'''( ) === |
| 133 | This function activates both the NIC_TX channel and the CMA channel allocated to the calling task. |
| 134 | Exit if no allocated NIC_TX channel or no allocated CMA channel. |
| 135 | |
| 136 | === void '''giet_nic_rx_start'''( ) === |
| 137 | This function activates both the NIC_RX channel and the CMA channel allocated to the calling task. |
| 138 | Exit if no allocated NIC_RX channel or no allocated CMA channel. |