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

#include <cvmx-cmd-queue.h>

Data Fields

uint64_t ticket [(CVMX_CMD_QUEUE_END >> 16)*256]
 
__cvmx_cmd_queue_state_t state [(CVMX_CMD_QUEUE_END >> 16)*256]
 

Detailed Description

This structure contains the global state of all command queues. It is stored in a bootmem named block and shared by all applications running on Octeon. Tickets are stored in a differnet cahce line that queue information to reduce the contention on the ll/sc used to get a ticket. If this is not the case, the update of queue state causes the ll/sc to fail quite often.

Definition at line 151 of file cvmx-cmd-queue.h.

Field Documentation

Definition at line 153 of file cvmx-cmd-queue.h.

uint64_t ticket[(CVMX_CMD_QUEUE_END >> 16)*256]

Definition at line 152 of file cvmx-cmd-queue.h.


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