common.h (e82a82c19f4272ea5437cc76e5711b98e2ee6223) | common.h (261a4351844bcacb622d6d498a1bc98242b2db9e) |
---|---|
1/* 2 * Copyright(c) 2015, 2016 Intel Corporation. 3 * 4 * This file is provided under a dual BSD/GPLv2 license. When using or 5 * redistributing this file, you may do so under either license. 6 * 7 * GPL LICENSE SUMMARY 8 * --- 306 unchanged lines hidden (view full) --- 315#define RHF_RTE_ERROR_KHDR_HCRC_ERR 0x3 316#define RHF_RTE_ERROR_KHDR_KVER_ERR 0x4 317#define RHF_RTE_ERROR_CONTEXT_ERR 0x5 318#define RHF_RTE_ERROR_KHDR_TID_ERR 0x6 319 320/* RHF receive type error - bypass packet errors */ 321#define RHF_RTE_BYPASS_NO_ERR 0x0 322 | 1/* 2 * Copyright(c) 2015, 2016 Intel Corporation. 3 * 4 * This file is provided under a dual BSD/GPLv2 license. When using or 5 * redistributing this file, you may do so under either license. 6 * 7 * GPL LICENSE SUMMARY 8 * --- 306 unchanged lines hidden (view full) --- 315#define RHF_RTE_ERROR_KHDR_HCRC_ERR 0x3 316#define RHF_RTE_ERROR_KHDR_KVER_ERR 0x4 317#define RHF_RTE_ERROR_CONTEXT_ERR 0x5 318#define RHF_RTE_ERROR_KHDR_TID_ERR 0x6 319 320/* RHF receive type error - bypass packet errors */ 321#define RHF_RTE_BYPASS_NO_ERR 0x0 322 |
323/* 324 * This structure contains the first field common to all protocols 325 * that employ this chip. 326 */ 327struct hfi1_message_header { 328 __be16 lrh[4]; 329}; 330 | |
331/* IB - LRH header constants */ 332#define HFI1_LRH_GRH 0x0003 /* 1. word of IB LRH - next header: GRH */ 333#define HFI1_LRH_BTH 0x0002 /* 1. word of IB LRH - next header: BTH */ 334 335/* misc. */ 336#define SIZE_OF_CRC 1 337 338#define LIM_MGMT_P_KEY 0x7FFF --- 73 unchanged lines hidden --- | 323/* IB - LRH header constants */ 324#define HFI1_LRH_GRH 0x0003 /* 1. word of IB LRH - next header: GRH */ 325#define HFI1_LRH_BTH 0x0002 /* 1. word of IB LRH - next header: BTH */ 326 327/* misc. */ 328#define SIZE_OF_CRC 1 329 330#define LIM_MGMT_P_KEY 0x7FFF --- 73 unchanged lines hidden --- |