57xx_fcoe_rfc_constants.h revision d14abf155341d55053c76eeec58b787a456b753b
#ifndef __57XX_FCOE_RFC_CONSTANTS_H_
#define __57XX_FCOE_RFC_CONSTANTS_H_
/**
* This file defines FCoE RFC constants
*/
/* Frame Header type constants */
/* Frame Header R_CTL constants */
/* routing */
/* info */
/* device data frames */
/* Extended Link services */
/* Basic Link Services */
/* Link Control Information */
/* Frame Header F_CTL constants */
/* exchange context */
#define FC_FCTL_EX_CTX_SHIFT 23
/* sequence context */
#define FC_FCTL_SEQ_CTX_SHIFT 22
/* first sequence of exchange */
#define FC_FCTL_FIRST_SEQ_SHIFT 21
/* last sequence of exchange */
#define FC_FCTL_LAST_SEQ_SHIFT 20
/* last frame of sequence */
#define FC_FCTL_END_SEQ_SHIFT 19
#define FC_FCTL_PRI_ENABLE_SHIFT 17
/* sequence initiative */
#define FC_FCTL_SEQ_INIT_SHIFT 16
/* ack form */
#define FC_FCTL_ACK_SHIFT 12
/* retransmitted sequence */
#define FC_FCTL_RETX_SEQ_SHIFT 9
/* abort sequence condition */
#define FC_FCTL_ABT_SEQ_SHIFT 4
/* relative offset */
#define FC_FCTL_REL_OFF_SHIFT 3
/* bytes of trailing fill */
#define FC_FCTL_FILL_SHIFT 0
/* SOF / EOF bytes */
#define FC_EOF_RT 0x44
#define FC_EOF_RTI 0x4f
/* ELS Command codes - byte 0 of the frame payload */
#endif /*__57XX_FCOE_RFC_CONSTANTS_H_ */