Skip to content
Adam edited this page Mar 26, 2014 · 4 revisions

Name

osnt_driver

Version

v1.00a

Author

Yilong Geng (gengyl08_at_stanford.edu)

Type

driver (SW)

Location

osnt_sw/osnt_driver/

Description

The 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.