Linux Kernel
3.7.1
|
An I/O notification packet (second word) More...
#include <netio_intf.h>
Data Fields | |
unsigned int | word |
struct { | |
unsigned int __queue:2 | |
unsigned int __ipp_handle:2 | |
unsigned int __reserved:1 | |
unsigned int __minimal:1 | |
unsigned int __offset:2 | |
unsigned int __addr:24 | |
} | bits |
An I/O notification packet (second word)
This is the second word of data received from an I/O shim in a notification packet. This is the virtual address of the packet buffer, plus some flag bits. (The virtual address of the packet is always 256-byte aligned so we have room for 8 bits' worth of flags in the low 8 bits.)
Definition at line 465 of file netio_intf.h.
unsigned int __addr |
The top 24 bits of the packet's virtual address.
Definition at line 492 of file netio_intf.h.
unsigned int __ipp_handle |
The IPP handle of the sending IPP.
Definition at line 476 of file netio_intf.h.
unsigned int __minimal |
If 1, this packet has minimal (egress) metadata; otherwise, it has standard (ingress) metadata.
Definition at line 483 of file netio_intf.h.
unsigned int __offset |
Offset of the metadata within the packet. This value is multiplied by 64 and added to the base packet address to get the metadata address. Note that this field is aligned within the word such that you can easily extract the metadata address with a 26-bit mask.
Definition at line 489 of file netio_intf.h.
unsigned int __reserved |
Reserved for future use.
Definition at line 479 of file netio_intf.h.
struct { ... } bits |
The whole word.
Definition at line 467 of file netio_intf.h.