Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
cvmx-pip.h File Reference
#include <asm/octeon/cvmx-wqe.h>
#include <asm/octeon/cvmx-fpa.h>
#include <asm/octeon/cvmx-pip-defs.h>

Go to the source code of this file.

Data Structures

union  cvmx_pip_err_t
 
struct  cvmx_pip_port_status_t
 
union  cvmx_pip_pkt_inst_hdr_t
 

Macros

#define CVMX_PIP_NUM_INPUT_PORTS   40
 
#define CVMX_PIP_NUM_WATCHERS   4
 

Enumerations

enum  cvmx_pip_l4_err_t {
  CVMX_PIP_L4_NO_ERR = 0ull, CVMX_PIP_L4_MAL_ERR = 1ull, CVMX_PIP_CHK_ERR = 2ull, CVMX_PIP_L4_LENGTH_ERR = 3ull,
  CVMX_PIP_BAD_PRT_ERR = 4ull, CVMX_PIP_TCP_FLG8_ERR = 8ull, CVMX_PIP_TCP_FLG9_ERR = 9ull, CVMX_PIP_TCP_FLG10_ERR = 10ull,
  CVMX_PIP_TCP_FLG11_ERR = 11ull, CVMX_PIP_TCP_FLG12_ERR = 12ull, CVMX_PIP_TCP_FLG13_ERR = 13ull
}
 
enum  cvmx_pip_ip_exc_t {
  CVMX_PIP_IP_NO_ERR = 0ull, CVMX_PIP_NOT_IP = 1ull, CVMX_PIP_IPV4_HDR_CHK = 2ull, CVMX_PIP_IP_MAL_HDR = 3ull,
  CVMX_PIP_IP_MAL_PKT = 4ull, CVMX_PIP_TTL_HOP = 5ull, CVMX_PIP_OPTS = 6ull
}
 
enum  cvmx_pip_rcv_err_t {
  CVMX_PIP_RX_NO_ERR = 0ull, CVMX_PIP_PARTIAL_ERR = 1ull, CVMX_PIP_JABBER_ERR = 2ull, CVMX_PIP_OVER_FCS_ERR = 3ull,
  CVMX_PIP_OVER_ERR = 4ull, CVMX_PIP_ALIGN_ERR = 5ull, CVMX_PIP_UNDER_FCS_ERR = 6ull, CVMX_PIP_GMX_FCS_ERR = 7ull,
  CVMX_PIP_UNDER_ERR = 8ull, CVMX_PIP_EXTEND_ERR = 9ull, CVMX_PIP_LENGTH_ERR = 10ull, CVMX_PIP_DAT_ERR = 11ull,
  CVMX_PIP_DIP_ERR = 11ull, CVMX_PIP_SKIP_ERR = 12ull, CVMX_PIP_NIBBLE_ERR = 13ull, CVMX_PIP_PIP_FCS = 16L,
  CVMX_PIP_PIP_SKIP_ERR = 17L, CVMX_PIP_PIP_L2_MAL_HDR = 18L
}
 

Macro Definition Documentation

#define CVMX_PIP_NUM_INPUT_PORTS   40

Definition at line 40 of file cvmx-pip.h.

#define CVMX_PIP_NUM_WATCHERS   4

Definition at line 41 of file cvmx-pip.h.

Enumeration Type Documentation

Enumerator:
CVMX_PIP_IP_NO_ERR 
CVMX_PIP_NOT_IP 
CVMX_PIP_IPV4_HDR_CHK 
CVMX_PIP_IP_MAL_HDR 
CVMX_PIP_IP_MAL_PKT 
CVMX_PIP_TTL_HOP 
CVMX_PIP_OPTS 

Definition at line 76 of file cvmx-pip.h.

Enumerator:
CVMX_PIP_L4_NO_ERR 
CVMX_PIP_L4_MAL_ERR 
CVMX_PIP_CHK_ERR 
CVMX_PIP_L4_LENGTH_ERR 
CVMX_PIP_BAD_PRT_ERR 
CVMX_PIP_TCP_FLG8_ERR 
CVMX_PIP_TCP_FLG9_ERR 
CVMX_PIP_TCP_FLG10_ERR 
CVMX_PIP_TCP_FLG11_ERR 
CVMX_PIP_TCP_FLG12_ERR 
CVMX_PIP_TCP_FLG13_ERR 

Definition at line 46 of file cvmx-pip.h.

NOTES late collision (data received before collision) late collisions cannot be detected by the receiver they would appear as JAM bits which would appear as bad FCS or carrier extend error which is CVMX_PIP_EXTEND_ERR

Enumerator:
CVMX_PIP_RX_NO_ERR 
CVMX_PIP_PARTIAL_ERR 
CVMX_PIP_JABBER_ERR 
CVMX_PIP_OVER_FCS_ERR 
CVMX_PIP_OVER_ERR 
CVMX_PIP_ALIGN_ERR 
CVMX_PIP_UNDER_FCS_ERR 
CVMX_PIP_GMX_FCS_ERR 
CVMX_PIP_UNDER_ERR 
CVMX_PIP_EXTEND_ERR 
CVMX_PIP_LENGTH_ERR 
CVMX_PIP_DAT_ERR 
CVMX_PIP_DIP_ERR 
CVMX_PIP_SKIP_ERR 
CVMX_PIP_NIBBLE_ERR 
CVMX_PIP_PIP_FCS 
CVMX_PIP_PIP_SKIP_ERR 
CVMX_PIP_PIP_L2_MAL_HDR 

Definition at line 100 of file cvmx-pip.h.