All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros
sir_memlist.h File Reference
#include <cvmx.h>
#include <cvmx-helper.h>
#include <cvmx-csr.h>
#include <cvmx-fpa.h>
#include <cvmx-pow.h>
#include <cvmx-atomic.h>
#include <cvmx-utils.h>
#include <common.h>
#include "common/sir_common.h"
#include "common/sir_memlist_defs.h"
#include "common/sir_timer.h"
#include "ip/packet-defines.h"
Include dependency graph for sir_memlist.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sir_memlist_top
 Definition of a. More...
 
class  CSiriusMemList
 Most important class of Sirius. Used to maintain and process all kinds of queues. More...
 

Macros

#define CHECKBYTE   0x55
 
#define CVMX_FPA_MEMLIST_POOL   CVMX_FPA_PACKET_POOL
 Used Octeon pool for memlist. More...
 
#define CVMX_FPA_MEMLIST_POOL_SIZE   CVMX_FPA_PACKET_POOL_SIZE
 Size in bytes of used pool for memlist. More...
 
#define MEMLISTSEGSIZE   ((1 + (sizeof (sir_memlist_seg) - 1)/CVMX_CACHE_LINE_SIZE)*CVMX_CACHE_LINE_SIZE)
 MEMLISTSEGSIZE must be multiple of CACHE_LINE_SIZE. More...
 
#define MEMLISTMEMORYSIZE   (CVMX_FPA_MEMLIST_POOL_SIZE - MEMLISTSEGSIZE)
 Subtract bookkeeping size from original size. More...
 

Macro Definition Documentation

#define CHECKBYTE   0x55

Definition at line 28 of file sir_memlist.h.

#define CVMX_FPA_MEMLIST_POOL   CVMX_FPA_PACKET_POOL

Used Octeon pool for memlist.

Definition at line 30 of file sir_memlist.h.

#define CVMX_FPA_MEMLIST_POOL_SIZE   CVMX_FPA_PACKET_POOL_SIZE

Size in bytes of used pool for memlist.

Definition at line 31 of file sir_memlist.h.

#define MEMLISTMEMORYSIZE   (CVMX_FPA_MEMLIST_POOL_SIZE - MEMLISTSEGSIZE)

Subtract bookkeeping size from original size.

Definition at line 34 of file sir_memlist.h.

#define MEMLISTSEGSIZE   ((1 + (sizeof (sir_memlist_seg) - 1)/CVMX_CACHE_LINE_SIZE)*CVMX_CACHE_LINE_SIZE)

MEMLISTSEGSIZE must be multiple of CACHE_LINE_SIZE.

Definition at line 33 of file sir_memlist.h.