Linux Kernel
3.7.1
|
#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] |
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.
__cvmx_cmd_queue_state_t state[(CVMX_CMD_QUEUE_END >> 16)*256] |
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.