网卡驱动程序控制着网卡的通信过程,并为上层程序提供应用编程接口(API)。
NIC device driver controls the process of network card, and at the same time the device driver provides some application programming interfaces (APIs) for high layers.
他们讨论了一个有两层的应用程序结构:底层由一些功能组件组成,上层则由应用程序的流逻辑组成。
They discussed an application structure with two layers: the bottom layer is made up of functional components, while the top consists of the flow logic of the application.
virtio_driver 结构定义上层设备驱动程序、驱动程序支持的设备 ID 的列表、一个特性表单(取决于设备类型)和一个回调函数列表。
The virtio_driver structure defines the upper-level device driver, list of device IDs that the driver supports, a features table (dependent upon the device type), and a list of callback functions.
应用推荐