Lines Matching refs:termhdr
4382 struct i40iw_terminate_hdr *termhdr; in i40iw_bld_terminate_hdr() local
4384 termhdr = (struct i40iw_terminate_hdr *)qp->q2_buf; in i40iw_bld_terminate_hdr()
4385 memset(termhdr, 0, Q2_BAD_FRAME_OFFSET); in i40iw_bld_terminate_hdr()
4393 termhdr->hdrct = DDP_LEN_FLAG; in i40iw_bld_terminate_hdr()
4398 termhdr->hdrct |= DDP_HDR_FLAG; in i40iw_bld_terminate_hdr()
4403 termhdr->hdrct |= DDP_HDR_FLAG; in i40iw_bld_terminate_hdr()
4409 termhdr->hdrct |= RDMA_HDR_FLAG; in i40iw_bld_terminate_hdr()
4422 i40iw_setup_termhdr(qp, termhdr, FLUSH_PROT_ERR, in i40iw_bld_terminate_hdr()
4425 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR, in i40iw_bld_terminate_hdr()
4431 i40iw_setup_termhdr(qp, termhdr, FLUSH_PROT_ERR, in i40iw_bld_terminate_hdr()
4434 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR, in i40iw_bld_terminate_hdr()
4440 i40iw_setup_termhdr(qp, termhdr, FLUSH_PROT_ERR, in i40iw_bld_terminate_hdr()
4445 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR, in i40iw_bld_terminate_hdr()
4449 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR, in i40iw_bld_terminate_hdr()
4455 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR, in i40iw_bld_terminate_hdr()
4459 i40iw_setup_termhdr(qp, termhdr, FLUSH_LOC_QP_OP_ERR, in i40iw_bld_terminate_hdr()
4468 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_OP_ERR, in i40iw_bld_terminate_hdr()
4472 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR, in i40iw_bld_terminate_hdr()
4480 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR, in i40iw_bld_terminate_hdr()
4485 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_ACCESS_ERR, in i40iw_bld_terminate_hdr()
4489 i40iw_setup_termhdr(qp, termhdr, FLUSH_GENERAL_ERR, in i40iw_bld_terminate_hdr()
4494 i40iw_setup_termhdr(qp, termhdr, FLUSH_LOC_LEN_ERR, in i40iw_bld_terminate_hdr()
4499 i40iw_setup_termhdr(qp, termhdr, FLUSH_FATAL_ERR, in i40iw_bld_terminate_hdr()
4503 i40iw_setup_termhdr(qp, termhdr, FLUSH_GENERAL_ERR, in i40iw_bld_terminate_hdr()
4508 i40iw_setup_termhdr(qp, termhdr, FLUSH_LOC_LEN_ERR, in i40iw_bld_terminate_hdr()
4513 i40iw_setup_termhdr(qp, termhdr, FLUSH_GENERAL_ERR, in i40iw_bld_terminate_hdr()
4516 i40iw_setup_termhdr(qp, termhdr, FLUSH_GENERAL_ERR, in i40iw_bld_terminate_hdr()
4520 i40iw_setup_termhdr(qp, termhdr, FLUSH_GENERAL_ERR, in i40iw_bld_terminate_hdr()
4524 i40iw_setup_termhdr(qp, termhdr, FLUSH_REM_OP_ERR, in i40iw_bld_terminate_hdr()
4528 i40iw_setup_termhdr(qp, termhdr, FLUSH_GENERAL_ERR, in i40iw_bld_terminate_hdr()
4532 i40iw_setup_termhdr(qp, termhdr, FLUSH_GENERAL_ERR, in i40iw_bld_terminate_hdr()
4536 i40iw_setup_termhdr(qp, termhdr, FLUSH_LOC_QP_OP_ERR, in i40iw_bld_terminate_hdr()
4540 i40iw_setup_termhdr(qp, termhdr, FLUSH_FATAL_ERR, in i40iw_bld_terminate_hdr()
4546 memcpy(termhdr + 1, pkt, copy_len); in i40iw_bld_terminate_hdr()
4597 struct i40iw_terminate_hdr *termhdr; in i40iw_terminate_received() local
4627 termhdr = (struct i40iw_terminate_hdr *)&mpa[5]; in i40iw_terminate_received()
4628 if (termhdr->layer_etype == RDMAP_REMOTE_PROT || in i40iw_terminate_received()
4629 termhdr->layer_etype == RDMAP_REMOTE_OP) { in i40iw_terminate_received()