Changes between Version 9 and Version 10 of nic_driver
- Timestamp:
- Oct 25, 2014, 3:27:51 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
nic_driver
v9 v10 34 34 This function is used only by the boot code, and return always 0. 35 35 36 == __ Functions using a physical_memcpy__ ==36 == __Blocking functions using a physical_memcpy__ == 37 37 38 38 === int '''_nic_sync_send'''( void* vbase ) === … … 46 46 Return 0 in case of success. Return -1 if buffer not mapped or not user accessible. 47 47 48 == __ Functions using the chained buffer DMA__ ==48 == __Non blocking functions using the chained buffer DMA__ == 49 49 50 50 === int '''_nic_cma_send'''( unsigned int nic_channel, unsigned int cma_channel, chbuf_descriptor_t* chbuf ) === … … 57 57 Return 0 in case of success. Return -1 if NIC or CMA channel index too large. 58 58 59 === void'''_nic_cma_receive'''( unsigned int nic_channel, unsigned int cma_channel, chbuf_descriptor_t* chbuf ) ===59 === int '''_nic_cma_receive'''( unsigned int nic_channel, unsigned int cma_channel, chbuf_descriptor_t* chbuf ) === 60 60 This non blocking funtion starts a CMA channel to transfer a flow of containers from a NIC_RX chbuf to a kernel chbuf. 61 61 * '''nic_channel''' : NIC_RX channel index