Skip to content
Gianni Antichi edited this page Jun 27, 2014 · 4 revisions

The OSNT driver, located in ~/OSNT/code/osnt_sw/osnt_driver, is built upon the driver of NetFPGA-10G reference_nic. This new driver enables memory mapping between the kernel and user space so that the packets copied to the ring buffer by the DMA is directly accessible to user space applications. This new driver also allows the user space applications to communicate with the DMA about buffer header positions through ioctl calls. For the RX side, the driver is only the bridge between the DMA and the user application. The DMA writes packets into the ring buffer and the user application get the packets via polling. For the TX side, the driver is exactly the same with the original driver.