Lines Matching refs:fcf_info
786 struct csio_fcf_info *fcf_info; in csio_ln_read_fcf_cbfn() local
800 fcf_info = ln->fcfinfo; in csio_ln_read_fcf_cbfn()
801 fcf_info->priority = FW_FCOE_FCF_CMD_PRIORITY_GET( in csio_ln_read_fcf_cbfn()
803 fcf_info->vf_id = ntohs(rsp->vf_id); in csio_ln_read_fcf_cbfn()
804 fcf_info->vlan_id = rsp->vlan_id; in csio_ln_read_fcf_cbfn()
805 fcf_info->max_fcoe_size = ntohs(rsp->max_fcoe_size); in csio_ln_read_fcf_cbfn()
806 fcf_info->fka_adv = be32_to_cpu(rsp->fka_adv); in csio_ln_read_fcf_cbfn()
807 fcf_info->fcfi = FW_FCOE_FCF_CMD_FCFI_GET(ntohl(rsp->op_to_fcfi)); in csio_ln_read_fcf_cbfn()
808 fcf_info->fpma = FW_FCOE_FCF_CMD_FPMA_GET(rsp->fpma_to_portid); in csio_ln_read_fcf_cbfn()
809 fcf_info->spma = FW_FCOE_FCF_CMD_SPMA_GET(rsp->fpma_to_portid); in csio_ln_read_fcf_cbfn()
810 fcf_info->login = FW_FCOE_FCF_CMD_LOGIN_GET(rsp->fpma_to_portid); in csio_ln_read_fcf_cbfn()
811 fcf_info->portid = FW_FCOE_FCF_CMD_PORTID_GET(rsp->fpma_to_portid); in csio_ln_read_fcf_cbfn()
812 memcpy(fcf_info->fc_map, rsp->fc_map, sizeof(fcf_info->fc_map)); in csio_ln_read_fcf_cbfn()
813 memcpy(fcf_info->mac, rsp->mac, sizeof(fcf_info->mac)); in csio_ln_read_fcf_cbfn()
814 memcpy(fcf_info->name_id, rsp->name_id, sizeof(fcf_info->name_id)); in csio_ln_read_fcf_cbfn()
815 memcpy(fcf_info->fabric, rsp->fabric, sizeof(fcf_info->fabric)); in csio_ln_read_fcf_cbfn()
816 memcpy(fcf_info->spma_mac, rsp->spma_mac, sizeof(fcf_info->spma_mac)); in csio_ln_read_fcf_cbfn()