Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
mpt2_diag_query Struct Reference

#include <mpt2sas_ctl.h>

Data Fields

struct mpt2_ioctl_header hdr
 
uint8_t reserved
 
uint8_t buffer_type
 
uint16_t application_flags
 
uint32_t diagnostic_flags
 
uint32_t product_specific [MPT2_PRODUCT_SPECIFIC_DWORDS]
 
uint32_t total_buffer_size
 
uint32_t driver_added_buffer_size
 
uint32_t unique_id
 

Detailed Description

struct mpt2_diag_query - query relevant info associated with diag buffers - generic header - - specifies either TRACE, SNAPSHOT, or EXTENDED - misc flags - specifies flags affecting command processing - product specific information - diag buffer size in bytes - size of extra space appended to end of buffer - unique id associated with this buffer.

The application will send only buffer_type and unique_id. Driver will inspect unique_id first, if valid, fill in all the info. If unique_id is 0x00, the driver will return info specified by Buffer Type.

Definition at line 368 of file mpt2sas_ctl.h.

Field Documentation

uint16_t application_flags

Definition at line 372 of file mpt2sas_ctl.h.

Definition at line 371 of file mpt2sas_ctl.h.

uint32_t diagnostic_flags

Definition at line 373 of file mpt2sas_ctl.h.

uint32_t driver_added_buffer_size

Definition at line 376 of file mpt2sas_ctl.h.

Definition at line 369 of file mpt2sas_ctl.h.

Definition at line 374 of file mpt2sas_ctl.h.

uint8_t reserved

Definition at line 370 of file mpt2sas_ctl.h.

uint32_t total_buffer_size

Definition at line 375 of file mpt2sas_ctl.h.

uint32_t unique_id

Definition at line 377 of file mpt2sas_ctl.h.


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