DPDK  22.07.0
Data Fields
rte_mtr_error Struct Reference

#include <rte_mtr.h>

Data Fields

enum rte_mtr_error_type type
 
const void * cause
 
const char * message
 

Detailed Description

Verbose error structure definition.

This object is normally allocated by applications and set by PMDs, the message points to a constant string which does not need to be freed by the application, however its pointer can be considered valid only as long as its associated DPDK port remains configured. Closing the underlying device or unloading the PMD invalidates it.

Both cause and message may be NULL regardless of the error type.

Definition at line 556 of file rte_mtr.h.

Field Documentation

◆ type

enum rte_mtr_error_type type

Cause field and error type.

Definition at line 557 of file rte_mtr.h.

◆ cause

const void* cause

Object responsible for the error.

Definition at line 558 of file rte_mtr.h.

◆ message

const char* message

Human-readable error message.

Definition at line 559 of file rte_mtr.h.


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