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

#include <cvmx-wqe.h>

Data Fields

uint16_t hw_chksum
 
uint8_t unused
 
uint64_t next_ptr:40
 
uint64_t len:16
 
uint64_t ipprt:6
 
uint64_t qos:3
 
uint64_t grp:4
 
uint64_t tag_type:3
 
uint64_t tag:32
 
cvmx_pip_wqe_word2 word2
 
union cvmx_buf_ptr packet_ptr
 
uint8_t packet_data [96]
 

Detailed Description

Work queue entry format

must be 8-byte aligned

Definition at line 308 of file cvmx-wqe.h.

Field Documentation

uint64_t grp

the group that the work queue entry will be scheduled to

Definition at line 353 of file cvmx-wqe.h.

uint16_t hw_chksum

raw chksum result generated by the HW

Definition at line 318 of file cvmx-wqe.h.

uint64_t ipprt

HW sets this to input physical port

Definition at line 343 of file cvmx-wqe.h.

uint64_t len

HW sets to the total number of bytes in the packet

Definition at line 339 of file cvmx-wqe.h.

uint64_t next_ptr

Next pointer used by hardware for list maintenance. May be written/read by HW before the work queue entry is scheduled to a PP (Only 36 bits used in Octeon 1)

Definition at line 329 of file cvmx-wqe.h.

HW WRITE: octeon will fill in a programmable amount from the packet, up to (at most, but perhaps less) the amount needed to fill the work queue entry to 128 bytes

If the packet is recognized to be IP, the hardware starts (except that the IPv4 header is padded for appropriate alignment) writing here where the IP header starts. If the packet is not recognized to be IP, the hardware starts writing the beginning of the packet here.

Definition at line 386 of file cvmx-wqe.h.

union cvmx_buf_ptr packet_ptr

Pointer to the first segment of the packet.

Definition at line 373 of file cvmx-wqe.h.

uint64_t qos

HW sets this to what it thought the priority of the input packet was

Definition at line 348 of file cvmx-wqe.h.

the synchronization/ordering tag

Definition at line 361 of file cvmx-wqe.h.

uint64_t tag_type

the type of the tag (ORDERED, ATOMIC, NULL)

Definition at line 357 of file cvmx-wqe.h.

Field unused by hardware - available for software

Definition at line 322 of file cvmx-wqe.h.

WORD 2 HW WRITE: the following 64-bits are filled in by hardware when a packet arrives This indicates a variety of status and error conditions.

Definition at line 368 of file cvmx-wqe.h.


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