Lines Matching defs:termhdr

4452  * i40iw_setup_termhdr - termhdr for terminate pkt
4455 * @opcode: flush opcode for termhdr
4483 struct i40iw_terminate_hdr *termhdr;
4485 termhdr = (struct i40iw_terminate_hdr *)qp->q2_buf;
4486 memset(termhdr, 0, Q2_BAD_FRAME_OFFSET);
4494 termhdr->hdrct = DDP_LEN_FLAG;
4499 termhdr->hdrct |= DDP_HDR_FLAG;
4504 termhdr->hdrct |= DDP_HDR_FLAG;
4510 termhdr->hdrct |= RDMA_HDR_FLAG;
4523 i40iw_setup_termhdr(qp, termhdr, FLUSH_PROT_ERR,
4526 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR,
4532 i40iw_setup_termhdr(qp, termhdr, FLUSH_PROT_ERR,
4535 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR,
4541 i40iw_setup_termhdr(qp, termhdr, FLUSH_PROT_ERR,
4546 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR,
4550 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR,
4556 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR,
4560 i40iw_setup_termhdr(qp, termhdr, FLUSH_LOC_QP_OP_ERR,
4569 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_OP_ERR,
4573 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR,
4581 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR,
4586 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR,
4590 i40iw_setup_termhdr(qp, termhdr, FLUSH_GENERAL_ERR,
4595 i40iw_setup_termhdr(qp, termhdr, FLUSH_LOC_LEN_ERR,
4600 i40iw_setup_termhdr(qp, termhdr, FLUSH_FATAL_ERR,
4604 i40iw_setup_termhdr(qp, termhdr, FLUSH_GENERAL_ERR,
4609 i40iw_setup_termhdr(qp, termhdr, FLUSH_LOC_LEN_ERR,
4614 i40iw_setup_termhdr(qp, termhdr, FLUSH_GENERAL_ERR,
4617 i40iw_setup_termhdr(qp, termhdr, FLUSH_GENERAL_ERR,
4621 i40iw_setup_termhdr(qp, termhdr, FLUSH_GENERAL_ERR,
4625 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_OP_ERR,
4629 i40iw_setup_termhdr(qp, termhdr, FLUSH_GENERAL_ERR,
4633 i40iw_setup_termhdr(qp, termhdr, FLUSH_GENERAL_ERR,
4637 i40iw_setup_termhdr(qp, termhdr, FLUSH_LOC_QP_OP_ERR,
4641 i40iw_setup_termhdr(qp, termhdr, FLUSH_FATAL_ERR,
4647 memcpy(termhdr + 1, pkt, copy_len);
4698 struct i40iw_terminate_hdr *termhdr;
4728 termhdr = (struct i40iw_terminate_hdr *)&mpa[5];
4729 if (termhdr->layer_etype == RDMAP_REMOTE_PROT ||
4730 termhdr->layer_etype == RDMAP_REMOTE_OP) {