DPDK  2.1.0
Data Fields
virtio_net_device_ops Struct Reference

#include <rte_virtio_net.h>

Data Fields

int(* new_device )(struct virtio_net *)
void(* destroy_device )(volatile struct virtio_net *)

Detailed Description

Device operations to add/remove device.

Make sure to set VIRTIO_DEV_RUNNING to the device flags in new_device and remove it in destroy_device.

Definition at line 139 of file rte_virtio_net.h.

Field Documentation

int(* new_device)(struct virtio_net *)

Add device.

Definition at line 140 of file rte_virtio_net.h.

void(* destroy_device)(volatile struct virtio_net *)

Remove device.

Definition at line 141 of file rte_virtio_net.h.


The documentation for this struct was generated from the following file: