Home
last modified time | relevance | path

Searched refs:fh_r_ctl (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/scsi/fnic/
H A Dfdls_fc.h79 #define FNIC_STD_SET_R_CTL(_fchdr, _rctl) ((_fchdr).fh_r_ctl = _rctl)
97 #define FNIC_STD_GET_R_CTL(_fchdr) ((_fchdr)->fh_r_ctl)
118 (_fchdr->fh_r_ctl == FC_RCTL_ELS_REQ)
120 (_fchdr->fh_r_ctl == FNIC_FC_R_CTL_SOLICITED_DATA)
122 (_fchdr->fh_r_ctl == FC_RCTL_ELS_REP)
130 (_fchdr->fh_r_ctl == FNIC_FC_R_CTL_FC4_SCTL)
H A Dfdls_disc.c467 .fchdr = {.fh_r_ctl = FC_RCTL_ELS_REQ, .fh_d_id = {0xFF, 0xFF, 0xFC}, in fdls_init_plogi_frame()
502 .fchdr = {.fh_r_ctl = FC_RCTL_ELS_REP, in fdls_init_els_acc_frame()
519 .fchdr = {.fh_r_ctl = FC_RCTL_ELS_REP, .fh_type = FC_TYPE_ELS, in fdls_init_els_rjt_frame()
535 .fchdr = {.fh_r_ctl = FC_RCTL_ELS_REQ, .fh_type = FC_TYPE_ELS, in fdls_init_logo_frame()
555 .fh_r_ctl = FC_RCTL_BA_ABTS, /* ABTS */ in fdls_init_fabric_abts_frame()
652 .fh_r_ctl = FC_RCTL_BA_ABTS, /* ABTS */ in fdls_send_tport_abts()
867 .fchdr = {.fh_r_ctl = FC_RCTL_ELS_REQ, .fh_d_id = {0xFF, 0xFF, 0xFE}, in fdls_send_fabric_flogi()
1020 .fchdr = {.fh_r_ctl = FC_RCTL_DD_UNSOL_CTL, in fdls_send_rpn_id()
1079 .fchdr = {.fh_r_ctl = FC_RCTL_ELS_REQ, in fdls_send_scr()
1134 .fchdr = {.fh_r_ctl = FC_RCTL_DD_UNSOL_CTL, in fdls_send_gpn_ft()
[all …]
H A Dfip.c384 .fh_r_ctl = FC_RCTL_ELS_REQ, in fnic_fcoe_start_flogi()
483 || (fchdr->fh_r_ctl != 0x23) in fnic_fcoe_process_flogi_resp()
489 s_id, fchdr->fh_f_ctl[0], fchdr->fh_r_ctl, in fnic_fcoe_process_flogi_resp()
/linux/drivers/target/tcm_fc/
H A Dtfc_cmd.c214 (fh->fh_r_ctl == FC_RCTL_DD_DATA_DESC)) { in ft_write_pending()
243 switch (fh->fh_r_ctl) { in ft_recv_seq()
252 __func__, fh->fh_r_ctl); in ft_recv_seq()
464 switch (fh->fh_r_ctl) { in ft_recv_req()
475 __func__, fh->fh_r_ctl); in ft_recv_req()
557 pr_debug("r_ctl %x target_submit_cmd %p\n", fh->fh_r_ctl, cmd); in ft_send_work()
/linux/drivers/scsi/elx/libefc/
H A Defc_domain.c987 if ((hdr->fh_r_ctl == FC_RCTL_DD_SOL_DATA) || in efc_domain_dispatch_frame()
988 (hdr->fh_r_ctl == FC_RCTL_DD_SOL_CTL)) { in efc_domain_dispatch_frame()
1048 switch (hdr->fh_r_ctl) { in efc_node_dispatch_frame()
1065 if ((hdr->fh_r_ctl & 0xf) == FC_RCTL_DD_UNSOL_CMD) { in efc_node_dispatch_frame()
1071 } else if ((hdr->fh_r_ctl & 0xf) == in efc_node_dispatch_frame()
1086 efc_log_err(efc, "Unhandled frame rctl: %02x\n", hdr->fh_r_ctl); in efc_node_dispatch_frame()
/linux/include/scsi/
H A Dfc_frame.h234 return fc_frame_header_get(fp)->fh_r_ctl; in fc_frame_rctl()
255 fh->fh_r_ctl = r_ctl; in __fc_fill_fc_hdr()
/linux/drivers/scsi/libfc/
H A Dfc_exch.c1077 if (xid == 0 && fh->fh_r_ctl == FC_RCTL_ELS_REQ && in fc_seq_lookup_recip()
1295 fh->fh_r_ctl = FC_RCTL_ACK_1; in fc_seq_send_ack()
1374 fh->fh_r_ctl = FC_RCTL_BA_RJT; in fc_exch_send_ba_rjt()
1697 FC_EXCH_DBG(ep, "exch: BLS rctl %x - %s\n", fh->fh_r_ctl, in fc_exch_abts_resp()
1698 fc_exch_rctl_name(fh->fh_r_ctl)); in fc_exch_abts_resp()
1707 switch (fh->fh_r_ctl) { in fc_exch_abts_resp()
1786 switch (fh->fh_r_ctl) { in fc_exch_recv_bls()
1793 fh->fh_r_ctl, in fc_exch_recv_bls()
1794 fc_exch_rctl_name(fh->fh_r_ctl)); in fc_exch_recv_bls()
1799 switch (fh->fh_r_ctl) { in fc_exch_recv_bls()
[all …]
H A Dfc_libfc.c178 fh->fh_r_ctl = r_ctl; in fc_fill_hdr()
H A Dfc_lport.c1768 if (fh->fh_r_ctl != FC_RCTL_ELS_REP || did == 0 || in fc_lport_flogi_resp()
2043 fh->fh_r_ctl = FC_RCTL_ELS_REQ; in fc_lport_els_request()
2103 fh->fh_r_ctl = FC_RCTL_DD_UNSOL_CTL; in fc_lport_ct_request()
H A Dfc_fcp.c743 switch (fh->fh_r_ctl) { in fc_fcp_abts_resp()
788 r_ctl = fh->fh_r_ctl; in fc_fcp_recv()
/linux/include/uapi/scsi/fc/
H A Dfc_fs.h22 __u8 fh_r_ctl; /* routing control */ member
/linux/drivers/scsi/elx/efct/
H A Defct_unsol.c17 (hdr)->fh_r_ctl, be16_to_cpu((hdr)->fh_ox_id), \
240 hdr.fh_r_ctl = r_ctl; in efct_sframe_common_send()
/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c226 ntohs(fh->fh_ox_id), fh->fh_r_ctl); in bnx2fc_xmit_l2_frame()
228 (fh->fh_r_ctl == FC_RCTL_ELS_REQ)) { in bnx2fc_xmit_l2_frame()
244 (fh->fh_r_ctl == FC_RCTL_BA_ABTS)) in bnx2fc_xmit_l2_frame()
249 fh->fh_type, fh->fh_r_ctl); in bnx2fc_xmit_l2_frame()
295 if (unlikely(fh->fh_r_ctl == FC_RCTL_ELS_REQ)) { in bnx2fc_xmit()
587 if (fh->fh_r_ctl == FC_RCTL_DD_SOL_DATA && in bnx2fc_recv_frame()
593 if (fh->fh_r_ctl == FC_RCTL_ELS_REQ && in bnx2fc_recv_frame()
606 if (fh->fh_r_ctl == FC_RCTL_BA_ABTS) { in bnx2fc_recv_frame()
H A Dbnx2fc_hwi.c591 if ((fh->fh_r_ctl == FC_RCTL_ELS_REQ) || in bnx2fc_process_l2_frame_compl()
592 (fh->fh_r_ctl == FC_RCTL_ELS_REP)) { in bnx2fc_process_l2_frame_compl()
620 BNX2FC_HBA_DBG(lport, "fh_r_ctl = 0x%x\n", fh->fh_r_ctl); in bnx2fc_process_l2_frame_compl()
H A Dbnx2fc_io.c1560 if (fc_hdr->fh_r_ctl == FC_RCTL_DD_CMD_STATUS) { in bnx2fc_process_tm_compl()
1573 fc_hdr->fh_r_ctl); in bnx2fc_process_tm_compl()
/linux/drivers/scsi/qedf/
H A Dqedf_main.c1055 (fh->fh_r_ctl == FC_RCTL_ELS_REQ)) { in qedf_xmit_l2_frame()
1146 if (unlikely(fh->fh_r_ctl == FC_RCTL_ELS_REQ)) { in qedf_xmit()
1240 ntoh24(fh->fh_s_id), ntoh24(fh->fh_d_id), fh->fh_r_ctl, fh->fh_type, in qedf_xmit()
2526 if (fh->fh_r_ctl == FC_RCTL_DD_SOL_DATA && in qedf_recv_frame()
2532 if (fh->fh_r_ctl == FC_RCTL_ELS_REQ && in qedf_recv_frame()
2545 if (fh->fh_r_ctl == FC_RCTL_BA_ABTS) { in qedf_recv_frame()
2612 ntoh24(fh->fh_s_id), ntoh24(fh->fh_d_id), fh->fh_r_ctl, in qedf_recv_frame()
H A Dqedf_els.c344 fh->fh_r_ctl = FC_RCTL_ELS_REP; in qedf_process_l2_frame_compl()
H A Dqedf_io.c721 task_fc_hdr.r_ctl = fc_hdr->fh_r_ctl; in qedf_init_mp_task()
2542 ntoh24(fh->fh_s_id), ntoh24(fh->fh_d_id), fh->fh_r_ctl, in qedf_process_unsol_compl()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.c468 if ((fh->fh_r_ctl == FC_RCTL_DD_SOL_DATA) && in ixgbe_fcoe_ddp()
/linux/drivers/scsi/fcoe/
H A Dfcoe.c904 (fh->fh_r_ctl == FC_RCTL_DD_UNSOL_CMD) && in fcoe_oem_match()
1601 if (fh->fh_r_ctl == FC_RCTL_DD_SOL_DATA && fh->fh_type == FC_TYPE_FCP) in fcoe_filter_frames()
H A Dfcoe_ctlr.c1909 if (op == ELS_LS_ACC && fh->fh_r_ctl == FC_RCTL_ELS_REP && in fcoe_ctlr_recv_flogi()
1936 } else if (op == ELS_FLOGI && fh->fh_r_ctl == FC_RCTL_ELS_REQ && sa) { in fcoe_ctlr_recv_flogi()
/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c3236 } else if (unlikely(fc_hdr->fh_r_ctl != FC_RCTL_ELS4_REQ)) { in lpfc_nvme_unsol_ls_handler()
14707 if (fc_hdr->fh_r_ctl == FC_RCTL_MDS_DIAGS || in lpfc_sli4_sp_handle_rcqe()
14708 fc_hdr->fh_r_ctl == FC_RCTL_DD_UNSOL_DATA) { in lpfc_sli4_sp_handle_rcqe()
18549 switch (fc_hdr->fh_r_ctl) { in lpfc_fc_frame_check()
18629 fc_hdr->fh_r_ctl, fc_hdr->fh_type, in lpfc_fc_frame_check()
18638 fc_hdr->fh_r_ctl, fc_hdr->fh_type); in lpfc_fc_frame_check()
18655 if (fc_hdr->fh_r_ctl != FC_RCTL_VFTH) in lpfc_fc_hdr_get_vfi()
19422 fc_hdr->fh_r_ctl, fc_hdr->fh_type); in lpfc_sli4_send_seq_to_ulp()
19427 iocbq, fc_hdr->fh_r_ctl, in lpfc_sli4_send_seq_to_ulp()
19433 fc_hdr->fh_r_ctl, fc_hdr->fh_type); in lpfc_sli4_send_seq_to_ulp()
[all …]