DPDK  2.0.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.

Field Documentation

void(* destroy_device)(volatile struct virtio_net *)

Remove device.

int(* new_device)(struct virtio_net *)

Add device.


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