Lines Matching refs:new_fcf_record

1630 lpfc_fab_name_match(uint8_t *fab_name, struct fcf_record *new_fcf_record)  in lpfc_fab_name_match()  argument
1632 if (fab_name[0] != bf_get(lpfc_fcf_record_fab_name_0, new_fcf_record)) in lpfc_fab_name_match()
1634 if (fab_name[1] != bf_get(lpfc_fcf_record_fab_name_1, new_fcf_record)) in lpfc_fab_name_match()
1636 if (fab_name[2] != bf_get(lpfc_fcf_record_fab_name_2, new_fcf_record)) in lpfc_fab_name_match()
1638 if (fab_name[3] != bf_get(lpfc_fcf_record_fab_name_3, new_fcf_record)) in lpfc_fab_name_match()
1640 if (fab_name[4] != bf_get(lpfc_fcf_record_fab_name_4, new_fcf_record)) in lpfc_fab_name_match()
1642 if (fab_name[5] != bf_get(lpfc_fcf_record_fab_name_5, new_fcf_record)) in lpfc_fab_name_match()
1644 if (fab_name[6] != bf_get(lpfc_fcf_record_fab_name_6, new_fcf_record)) in lpfc_fab_name_match()
1646 if (fab_name[7] != bf_get(lpfc_fcf_record_fab_name_7, new_fcf_record)) in lpfc_fab_name_match()
1661 lpfc_sw_name_match(uint8_t *sw_name, struct fcf_record *new_fcf_record) in lpfc_sw_name_match() argument
1663 if (sw_name[0] != bf_get(lpfc_fcf_record_switch_name_0, new_fcf_record)) in lpfc_sw_name_match()
1665 if (sw_name[1] != bf_get(lpfc_fcf_record_switch_name_1, new_fcf_record)) in lpfc_sw_name_match()
1667 if (sw_name[2] != bf_get(lpfc_fcf_record_switch_name_2, new_fcf_record)) in lpfc_sw_name_match()
1669 if (sw_name[3] != bf_get(lpfc_fcf_record_switch_name_3, new_fcf_record)) in lpfc_sw_name_match()
1671 if (sw_name[4] != bf_get(lpfc_fcf_record_switch_name_4, new_fcf_record)) in lpfc_sw_name_match()
1673 if (sw_name[5] != bf_get(lpfc_fcf_record_switch_name_5, new_fcf_record)) in lpfc_sw_name_match()
1675 if (sw_name[6] != bf_get(lpfc_fcf_record_switch_name_6, new_fcf_record)) in lpfc_sw_name_match()
1677 if (sw_name[7] != bf_get(lpfc_fcf_record_switch_name_7, new_fcf_record)) in lpfc_sw_name_match()
1692 lpfc_mac_addr_match(uint8_t *mac_addr, struct fcf_record *new_fcf_record) in lpfc_mac_addr_match() argument
1694 if (mac_addr[0] != bf_get(lpfc_fcf_record_mac_0, new_fcf_record)) in lpfc_mac_addr_match()
1696 if (mac_addr[1] != bf_get(lpfc_fcf_record_mac_1, new_fcf_record)) in lpfc_mac_addr_match()
1698 if (mac_addr[2] != bf_get(lpfc_fcf_record_mac_2, new_fcf_record)) in lpfc_mac_addr_match()
1700 if (mac_addr[3] != bf_get(lpfc_fcf_record_mac_3, new_fcf_record)) in lpfc_mac_addr_match()
1702 if (mac_addr[4] != bf_get(lpfc_fcf_record_mac_4, new_fcf_record)) in lpfc_mac_addr_match()
1704 if (mac_addr[5] != bf_get(lpfc_fcf_record_mac_5, new_fcf_record)) in lpfc_mac_addr_match()
1727 struct fcf_record *new_fcf_record in __lpfc_update_fcf_record_pri() argument
1735 fcf_pri->fcf_rec.priority = new_fcf_record->fip_priority; in __lpfc_update_fcf_record_pri()
1749 struct fcf_record *new_fcf_record) in lpfc_copy_fcf_record() argument
1753 bf_get(lpfc_fcf_record_fab_name_0, new_fcf_record); in lpfc_copy_fcf_record()
1755 bf_get(lpfc_fcf_record_fab_name_1, new_fcf_record); in lpfc_copy_fcf_record()
1757 bf_get(lpfc_fcf_record_fab_name_2, new_fcf_record); in lpfc_copy_fcf_record()
1759 bf_get(lpfc_fcf_record_fab_name_3, new_fcf_record); in lpfc_copy_fcf_record()
1761 bf_get(lpfc_fcf_record_fab_name_4, new_fcf_record); in lpfc_copy_fcf_record()
1763 bf_get(lpfc_fcf_record_fab_name_5, new_fcf_record); in lpfc_copy_fcf_record()
1765 bf_get(lpfc_fcf_record_fab_name_6, new_fcf_record); in lpfc_copy_fcf_record()
1767 bf_get(lpfc_fcf_record_fab_name_7, new_fcf_record); in lpfc_copy_fcf_record()
1769 fcf_rec->mac_addr[0] = bf_get(lpfc_fcf_record_mac_0, new_fcf_record); in lpfc_copy_fcf_record()
1770 fcf_rec->mac_addr[1] = bf_get(lpfc_fcf_record_mac_1, new_fcf_record); in lpfc_copy_fcf_record()
1771 fcf_rec->mac_addr[2] = bf_get(lpfc_fcf_record_mac_2, new_fcf_record); in lpfc_copy_fcf_record()
1772 fcf_rec->mac_addr[3] = bf_get(lpfc_fcf_record_mac_3, new_fcf_record); in lpfc_copy_fcf_record()
1773 fcf_rec->mac_addr[4] = bf_get(lpfc_fcf_record_mac_4, new_fcf_record); in lpfc_copy_fcf_record()
1774 fcf_rec->mac_addr[5] = bf_get(lpfc_fcf_record_mac_5, new_fcf_record); in lpfc_copy_fcf_record()
1776 fcf_rec->fcf_indx = bf_get(lpfc_fcf_record_fcf_index, new_fcf_record); in lpfc_copy_fcf_record()
1778 fcf_rec->priority = new_fcf_record->fip_priority; in lpfc_copy_fcf_record()
1781 bf_get(lpfc_fcf_record_switch_name_0, new_fcf_record); in lpfc_copy_fcf_record()
1783 bf_get(lpfc_fcf_record_switch_name_1, new_fcf_record); in lpfc_copy_fcf_record()
1785 bf_get(lpfc_fcf_record_switch_name_2, new_fcf_record); in lpfc_copy_fcf_record()
1787 bf_get(lpfc_fcf_record_switch_name_3, new_fcf_record); in lpfc_copy_fcf_record()
1789 bf_get(lpfc_fcf_record_switch_name_4, new_fcf_record); in lpfc_copy_fcf_record()
1791 bf_get(lpfc_fcf_record_switch_name_5, new_fcf_record); in lpfc_copy_fcf_record()
1793 bf_get(lpfc_fcf_record_switch_name_6, new_fcf_record); in lpfc_copy_fcf_record()
1795 bf_get(lpfc_fcf_record_switch_name_7, new_fcf_record); in lpfc_copy_fcf_record()
1813 struct fcf_record *new_fcf_record, uint32_t addr_mode, in __lpfc_update_fcf_record() argument
1819 lpfc_copy_fcf_record(fcf_rec, new_fcf_record); in __lpfc_update_fcf_record()
1825 bf_get(lpfc_fcf_record_fcf_index, new_fcf_record), in __lpfc_update_fcf_record()
1826 new_fcf_record); in __lpfc_update_fcf_record()
1908 struct fcf_record *new_fcf_record, in lpfc_match_fcf_conn_list() argument
1917 if (new_fcf_record->vlan_bitmap[i]) { in lpfc_match_fcf_conn_list()
1920 while (!((new_fcf_record->vlan_bitmap[i] >> j) & 1)) { in lpfc_match_fcf_conn_list()
1929 if (!bf_get(lpfc_fcf_record_fcf_avail, new_fcf_record) || in lpfc_match_fcf_conn_list()
1930 !bf_get(lpfc_fcf_record_fcf_valid, new_fcf_record) || in lpfc_match_fcf_conn_list()
1931 bf_get(lpfc_fcf_record_fcf_sol, new_fcf_record)) in lpfc_match_fcf_conn_list()
1937 new_fcf_record); in lpfc_match_fcf_conn_list()
1952 new_fcf_record); in lpfc_match_fcf_conn_list()
1976 new_fcf_record)) in lpfc_match_fcf_conn_list()
1980 new_fcf_record)) in lpfc_match_fcf_conn_list()
1987 if (!(new_fcf_record->vlan_bitmap in lpfc_match_fcf_conn_list()
1997 if (!(bf_get(lpfc_fcf_record_mac_addr_prov, new_fcf_record) in lpfc_match_fcf_conn_list()
2013 new_fcf_record) & LPFC_FCF_SPMA)) in lpfc_match_fcf_conn_list()
2021 new_fcf_record) & LPFC_FCF_FPMA)) in lpfc_match_fcf_conn_list()
2039 new_fcf_record); in lpfc_match_fcf_conn_list()
2197 struct fcf_record *new_fcf_record; in lpfc_sli4_fcf_rec_mbox_parse() local
2237 new_fcf_record = (struct fcf_record *)(virt_addr + in lpfc_sli4_fcf_rec_mbox_parse()
2239 lpfc_sli_pcimem_bcopy(new_fcf_record, new_fcf_record, in lpfc_sli4_fcf_rec_mbox_parse()
2241 new_fcf_record->word137 = le32_to_cpu(new_fcf_record->word137); in lpfc_sli4_fcf_rec_mbox_parse()
2242 new_fcf_record->word138 = le32_to_cpu(new_fcf_record->word138); in lpfc_sli4_fcf_rec_mbox_parse()
2244 return new_fcf_record; in lpfc_sli4_fcf_rec_mbox_parse()
2324 struct fcf_record *new_fcf_record, in lpfc_sli4_fcf_record_match() argument
2330 if (!lpfc_mac_addr_match(fcf_rec->mac_addr, new_fcf_record)) in lpfc_sli4_fcf_record_match()
2332 if (!lpfc_sw_name_match(fcf_rec->switch_name, new_fcf_record)) in lpfc_sli4_fcf_record_match()
2334 if (!lpfc_fab_name_match(fcf_rec->fabric_name, new_fcf_record)) in lpfc_sli4_fcf_record_match()
2336 if (fcf_rec->priority != new_fcf_record->fip_priority) in lpfc_sli4_fcf_record_match()
2488 struct fcf_record *new_fcf_record) in lpfc_sli4_fcf_pri_list_add() argument
2500 fcf_index, new_fcf_record->fip_priority, in lpfc_sli4_fcf_pri_list_add()
2506 new_fcf_pri->fcf_rec.priority = new_fcf_record->fip_priority; in lpfc_sli4_fcf_pri_list_add()
2586 struct fcf_record *new_fcf_record; in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec() local
2601 new_fcf_record = lpfc_sli4_fcf_rec_mbox_parse(phba, mboxq, in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2603 if (!new_fcf_record) { in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2616 rc = lpfc_match_fcf_conn_list(phba, new_fcf_record, &boot_flag, in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2620 lpfc_sli4_log_fcf_record_info(phba, new_fcf_record, vlan_id, in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2631 new_fcf_record)); in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2636 new_fcf_record), in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2638 new_fcf_record), in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2640 new_fcf_record), in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2642 new_fcf_record)); in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2645 new_fcf_record, LPFC_FCOE_IGNORE_VID)) { in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2646 if (bf_get(lpfc_fcf_record_fcf_index, new_fcf_record) != in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2653 new_fcf_record), in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2681 fcf_index = bf_get(lpfc_fcf_record_fcf_index, new_fcf_record); in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2683 new_fcf_record); in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2698 new_fcf_record, vlan_id)) { in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2699 if (bf_get(lpfc_fcf_record_fcf_index, new_fcf_record) == in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2723 new_fcf_record), in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2760 new_fcf_record)); in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2761 __lpfc_update_fcf_record(phba, fcf_rec, new_fcf_record, in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2779 if (new_fcf_record->fip_priority < fcf_rec->priority) { in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2786 new_fcf_record)); in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2787 __lpfc_update_fcf_record(phba, fcf_rec, new_fcf_record, in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2791 } else if (new_fcf_record->fip_priority == fcf_rec->priority) { in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2802 new_fcf_record)); in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2805 new_fcf_record, in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2821 new_fcf_record)); in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2822 __lpfc_update_fcf_record(phba, fcf_rec, new_fcf_record, in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2850 new_fcf_record)); in lpfc_mbx_cmpl_fcf_scan_read_fcf_rec()
2963 struct fcf_record *new_fcf_record; in lpfc_mbx_cmpl_fcf_rr_read_fcf_rec() local
2980 new_fcf_record = lpfc_sli4_fcf_rec_mbox_parse(phba, mboxq, in lpfc_mbx_cmpl_fcf_rr_read_fcf_rec()
2982 if (!new_fcf_record) { in lpfc_mbx_cmpl_fcf_rr_read_fcf_rec()
2993 rc = lpfc_match_fcf_conn_list(phba, new_fcf_record, &boot_flag, in lpfc_mbx_cmpl_fcf_rr_read_fcf_rec()
2997 lpfc_sli4_log_fcf_record_info(phba, new_fcf_record, vlan_id, in lpfc_mbx_cmpl_fcf_rr_read_fcf_rec()
3000 fcf_index = bf_get(lpfc_fcf_record_fcf_index, new_fcf_record); in lpfc_mbx_cmpl_fcf_rr_read_fcf_rec()
3032 new_fcf_record, addr_mode, vlan_id, in lpfc_mbx_cmpl_fcf_rr_read_fcf_rec()
3069 struct fcf_record *new_fcf_record; in lpfc_mbx_cmpl_read_fcf_rec() local
3084 new_fcf_record = lpfc_sli4_fcf_rec_mbox_parse(phba, mboxq, in lpfc_mbx_cmpl_read_fcf_rec()
3086 if (!new_fcf_record) { in lpfc_mbx_cmpl_read_fcf_rec()
3094 rc = lpfc_match_fcf_conn_list(phba, new_fcf_record, &boot_flag, in lpfc_mbx_cmpl_read_fcf_rec()
3098 lpfc_sli4_log_fcf_record_info(phba, new_fcf_record, vlan_id, in lpfc_mbx_cmpl_read_fcf_rec()
3105 fcf_index = bf_get(lpfc_fcf_record_fcf_index, new_fcf_record); in lpfc_mbx_cmpl_read_fcf_rec()
3107 rc = lpfc_sli4_fcf_pri_list_add(phba, fcf_index, new_fcf_record); in lpfc_mbx_cmpl_read_fcf_rec()