Lines Matching refs:vsi
35 return ((np->vsi->alloc_txq + np->vsi->alloc_rxq) * in ice_q_stats_len()
350 struct ice_vsi *vsi) in __ice_get_drvinfo() argument
352 struct ice_pf *pf = vsi->back; in __ice_get_drvinfo()
378 __ice_get_drvinfo(netdev, drvinfo, np->vsi); in ice_get_drvinfo()
391 struct ice_pf *pf = np->vsi->back; in ice_get_regs()
405 struct ice_pf *pf = np->vsi->back; in ice_get_msglevel()
419 struct ice_pf *pf = np->vsi->back; in ice_set_msglevel()
434 struct ice_pf *pf = np->vsi->back; in ice_get_eeprom_len()
444 struct ice_vsi *vsi = np->vsi; in ice_get_eeprom() local
445 struct ice_pf *pf = vsi->back; in ice_get_eeprom()
522 status = ice_get_link_status(np->vsi->port_info, &link_up); in ice_link_test()
545 struct ice_pf *pf = np->vsi->back; in ice_eeprom_test()
602 struct ice_hw *hw = np->vsi->port_info->hw; in ice_reg_test()
648 static int ice_lbtest_prepare_rings(struct ice_vsi *vsi) in ice_lbtest_prepare_rings() argument
652 status = ice_vsi_setup_tx_rings(vsi); in ice_lbtest_prepare_rings()
656 status = ice_vsi_setup_rx_rings(vsi); in ice_lbtest_prepare_rings()
660 status = ice_vsi_cfg_lan(vsi); in ice_lbtest_prepare_rings()
664 status = ice_vsi_start_all_rx_rings(vsi); in ice_lbtest_prepare_rings()
671 ice_vsi_free_rx_rings(vsi); in ice_lbtest_prepare_rings()
673 ice_vsi_stop_lan_tx_rings(vsi, ICE_NO_RESET, 0); in ice_lbtest_prepare_rings()
675 ice_vsi_free_tx_rings(vsi); in ice_lbtest_prepare_rings()
687 static int ice_lbtest_disable_rings(struct ice_vsi *vsi) in ice_lbtest_disable_rings() argument
691 status = ice_vsi_stop_lan_tx_rings(vsi, ICE_NO_RESET, 0); in ice_lbtest_disable_rings()
693 netdev_err(vsi->netdev, "Failed to stop Tx rings, VSI %d error %d\n", in ice_lbtest_disable_rings()
694 vsi->vsi_num, status); in ice_lbtest_disable_rings()
696 status = ice_vsi_stop_all_rx_rings(vsi); in ice_lbtest_disable_rings()
698 netdev_err(vsi->netdev, "Failed to stop Rx rings, VSI %d error %d\n", in ice_lbtest_disable_rings()
699 vsi->vsi_num, status); in ice_lbtest_disable_rings()
701 ice_vsi_free_tx_rings(vsi); in ice_lbtest_disable_rings()
702 ice_vsi_free_rx_rings(vsi); in ice_lbtest_disable_rings()
860 struct ice_vsi *orig_vsi = np->vsi, *test_vsi; in ice_loopback_test()
955 struct ice_pf *pf = np->vsi->back; in ice_intr_test()
985 struct ice_pf *pf = np->vsi->back; in ice_self_test()
1055 struct ice_vsi *vsi) in __ice_get_strings() argument
1069 ice_for_each_alloc_txq(vsi, i) { in __ice_get_strings()
1074 ice_for_each_alloc_rxq(vsi, i) { in __ice_get_strings()
1079 if (vsi->type != ICE_VSI_PF) in __ice_get_strings()
1111 __ice_get_strings(netdev, stringset, data, np->vsi); in ice_get_strings()
1131 if (ice_aq_set_port_id_led(np->vsi->port_info, !led_active, NULL)) in ice_set_phys_id()
1146 struct ice_vsi *vsi = np->vsi; in ice_set_fec_cfg() local
1149 pi = vsi->port_info; in ice_set_fec_cfg()
1154 if (vsi->type != ICE_VSI_PF) { in ice_set_fec_cfg()
1190 struct ice_vsi *vsi = np->vsi; in ice_set_fecparam() local
1208 dev_warn(ice_pf_to_dev(vsi->back), "Unsupported FEC mode: %d\n", in ice_set_fecparam()
1227 struct ice_vsi *vsi = np->vsi; in ice_get_fecparam() local
1231 pi = vsi->port_info; in ice_get_fecparam()
1287 struct ice_vsi *vsi = np->vsi; in ice_nway_reset() local
1291 if (!test_bit(ICE_DOWN, vsi->back->state)) in ice_nway_reset()
1292 err = ice_set_link(vsi, true); in ice_nway_reset()
1294 err = ice_set_link(vsi, false); in ice_nway_reset()
1312 struct ice_vsi *vsi = np->vsi; in ice_get_priv_flags() local
1313 struct ice_pf *pf = vsi->back; in ice_get_priv_flags()
1338 struct ice_vsi *vsi = np->vsi; in ice_set_priv_flags() local
1339 struct ice_pf *pf = vsi->back; in ice_set_priv_flags()
1419 ice_cfg_sw_lldp(vsi, false, false); in ice_set_priv_flags()
1462 ice_down_up(vsi); in ice_set_priv_flags()
1522 struct ice_vsi *vsi) in __ice_get_ethtool_stats() argument
1524 struct ice_pf *pf = vsi->back; in __ice_get_ethtool_stats()
1532 ice_update_vsi_stats(vsi); in __ice_get_ethtool_stats()
1535 p = (char *)vsi + ice_gstrings_vsi_stats[j].stat_offset; in __ice_get_ethtool_stats()
1546 ice_for_each_alloc_txq(vsi, j) { in __ice_get_ethtool_stats()
1547 tx_ring = READ_ONCE(vsi->tx_rings[j]); in __ice_get_ethtool_stats()
1557 ice_for_each_alloc_rxq(vsi, j) { in __ice_get_ethtool_stats()
1558 rx_ring = READ_ONCE(vsi->rx_rings[j]); in __ice_get_ethtool_stats()
1570 if (vsi->type != ICE_VSI_PF) in __ice_get_ethtool_stats()
1596 __ice_get_ethtool_stats(netdev, stats, data, np->vsi); in ice_get_ethtool_stats()
1693 struct ice_vsi *vsi = np->vsi; in ice_phy_type_to_ethtool() local
1694 struct ice_pf *pf = vsi->back; in ice_phy_type_to_ethtool()
1702 req_speeds = vsi->port_info->phy.link_info.req_speeds; in ice_phy_type_to_ethtool()
1745 phy_types_low = vsi->port_info->phy.phy_type_low; in ice_phy_type_to_ethtool()
1746 phy_types_high = vsi->port_info->phy.phy_type_high; in ice_phy_type_to_ethtool()
1753 advert_phy_type_lo = vsi->port_info->phy.phy_type_low; in ice_phy_type_to_ethtool()
1754 advert_phy_type_hi = vsi->port_info->phy.phy_type_high; in ice_phy_type_to_ethtool()
1789 struct ice_port_info *pi = np->vsi->port_info; in ice_get_settings_link_up()
1791 struct ice_vsi *vsi = np->vsi; in ice_get_settings_link_up() local
1793 link_info = &vsi->port_info->phy.link_info; in ice_get_settings_link_up()
1898 struct ice_vsi *vsi = np->vsi; in ice_get_link_ksettings() local
1904 hw_link_info = &vsi->port_info->phy.link_info; in ice_get_link_ksettings()
1917 switch (vsi->port_info->phy.media_type) { in ice_get_link_ksettings()
1950 err = ice_aq_get_phy_caps(vsi->port_info, false, in ice_get_link_ksettings()
1985 err = ice_aq_get_phy_caps(vsi->port_info, false, in ice_get_link_ksettings()
2201 struct ice_pf *pf = np->vsi->back; in ice_set_link_ksettings()
2209 pi = np->vsi->port_info; in ice_set_link_ksettings()
2365 ice_print_link_msg(np->vsi, false); in ice_set_link_ksettings()
2508 ice_set_rss_hash_opt(struct ice_vsi *vsi, struct ethtool_rxnfc *nfc) in ice_set_rss_hash_opt() argument
2510 struct ice_pf *pf = vsi->back; in ice_set_rss_hash_opt()
2519 vsi->vsi_num); in ice_set_rss_hash_opt()
2526 vsi->vsi_num); in ice_set_rss_hash_opt()
2533 vsi->vsi_num); in ice_set_rss_hash_opt()
2537 status = ice_add_rss_cfg(&pf->hw, vsi->idx, hashed_flds, hdrs); in ice_set_rss_hash_opt()
2540 vsi->vsi_num, status); in ice_set_rss_hash_opt()
2553 ice_get_rss_hash_opt(struct ice_vsi *vsi, struct ethtool_rxnfc *nfc) in ice_get_rss_hash_opt() argument
2555 struct ice_pf *pf = vsi->back; in ice_get_rss_hash_opt()
2565 vsi->vsi_num); in ice_get_rss_hash_opt()
2572 vsi->vsi_num); in ice_get_rss_hash_opt()
2576 hash_flds = ice_get_rss_cfg(&pf->hw, vsi->idx, hdrs); in ice_get_rss_hash_opt()
2579 vsi->vsi_num); in ice_get_rss_hash_opt()
2612 struct ice_vsi *vsi = np->vsi; in ice_set_rxnfc() local
2616 return ice_add_fdir_ethtool(vsi, cmd); in ice_set_rxnfc()
2618 return ice_del_fdir_ethtool(vsi, cmd); in ice_set_rxnfc()
2620 return ice_set_rss_hash_opt(vsi, cmd); in ice_set_rxnfc()
2640 struct ice_vsi *vsi = np->vsi; in ice_get_rxnfc() local
2644 hw = &vsi->back->hw; in ice_get_rxnfc()
2648 cmd->data = vsi->rss_size; in ice_get_rxnfc()
2664 ice_get_rss_hash_opt(vsi, cmd); in ice_get_rxnfc()
2680 struct ice_vsi *vsi = np->vsi; in ice_get_ringparam() local
2684 if (vsi->tx_rings && vsi->rx_rings) { in ice_get_ringparam()
2685 ring->rx_pending = vsi->rx_rings[0]->count; in ice_get_ringparam()
2686 ring->tx_pending = vsi->tx_rings[0]->count; in ice_get_ringparam()
2708 struct ice_vsi *vsi = np->vsi; in ice_set_ringparam() local
2709 struct ice_pf *pf = vsi->back; in ice_set_ringparam()
2725 if (!vsi->tx_rings || !vsi->rx_rings) in ice_set_ringparam()
2738 if (new_tx_cnt == vsi->tx_rings[0]->count && in ice_set_ringparam()
2739 new_rx_cnt == vsi->rx_rings[0]->count) { in ice_set_ringparam()
2748 if (ice_xsk_any_rx_ring_ena(vsi)) in ice_set_ringparam()
2759 if (!netif_running(vsi->netdev)) { in ice_set_ringparam()
2760 ice_for_each_alloc_txq(vsi, i) in ice_set_ringparam()
2761 vsi->tx_rings[i]->count = new_tx_cnt; in ice_set_ringparam()
2762 ice_for_each_alloc_rxq(vsi, i) in ice_set_ringparam()
2763 vsi->rx_rings[i]->count = new_rx_cnt; in ice_set_ringparam()
2764 if (ice_is_xdp_ena_vsi(vsi)) in ice_set_ringparam()
2765 ice_for_each_xdp_txq(vsi, i) in ice_set_ringparam()
2766 vsi->xdp_rings[i]->count = new_tx_cnt; in ice_set_ringparam()
2767 vsi->num_tx_desc = (u16)new_tx_cnt; in ice_set_ringparam()
2768 vsi->num_rx_desc = (u16)new_rx_cnt; in ice_set_ringparam()
2773 if (new_tx_cnt == vsi->tx_rings[0]->count) in ice_set_ringparam()
2778 vsi->tx_rings[0]->count, new_tx_cnt); in ice_set_ringparam()
2780 tx_rings = kcalloc(vsi->num_txq, sizeof(*tx_rings), GFP_KERNEL); in ice_set_ringparam()
2786 ice_for_each_txq(vsi, i) { in ice_set_ringparam()
2788 tx_rings[i] = *vsi->tx_rings[i]; in ice_set_ringparam()
2802 if (!ice_is_xdp_ena_vsi(vsi)) in ice_set_ringparam()
2807 vsi->xdp_rings[0]->count, new_tx_cnt); in ice_set_ringparam()
2809 xdp_rings = kcalloc(vsi->num_xdp_txq, sizeof(*xdp_rings), GFP_KERNEL); in ice_set_ringparam()
2815 ice_for_each_xdp_txq(vsi, i) { in ice_set_ringparam()
2817 xdp_rings[i] = *vsi->xdp_rings[i]; in ice_set_ringparam()
2832 if (new_rx_cnt == vsi->rx_rings[0]->count) in ice_set_ringparam()
2837 vsi->rx_rings[0]->count, new_rx_cnt); in ice_set_ringparam()
2839 rx_rings = kcalloc(vsi->num_rxq, sizeof(*rx_rings), GFP_KERNEL); in ice_set_ringparam()
2845 ice_for_each_rxq(vsi, i) { in ice_set_ringparam()
2847 rx_rings[i] = *vsi->rx_rings[i]; in ice_set_ringparam()
2855 rx_rings[i].tail = vsi->back->hw.hw_addr + PRTGEN_STATUS; in ice_set_ringparam()
2880 if (!test_and_set_bit(ICE_VSI_DOWN, vsi->state)) { in ice_set_ringparam()
2881 ice_down(vsi); in ice_set_ringparam()
2884 ice_for_each_txq(vsi, i) { in ice_set_ringparam()
2885 ice_free_tx_ring(vsi->tx_rings[i]); in ice_set_ringparam()
2886 *vsi->tx_rings[i] = tx_rings[i]; in ice_set_ringparam()
2892 ice_for_each_rxq(vsi, i) { in ice_set_ringparam()
2893 ice_free_rx_ring(vsi->rx_rings[i]); in ice_set_ringparam()
2895 rx_rings[i].tail = vsi->rx_rings[i]->tail; in ice_set_ringparam()
2904 *vsi->rx_rings[i] = rx_rings[i]; in ice_set_ringparam()
2910 ice_for_each_xdp_txq(vsi, i) { in ice_set_ringparam()
2911 ice_free_tx_ring(vsi->xdp_rings[i]); in ice_set_ringparam()
2912 *vsi->xdp_rings[i] = xdp_rings[i]; in ice_set_ringparam()
2917 vsi->num_tx_desc = new_tx_cnt; in ice_set_ringparam()
2918 vsi->num_rx_desc = new_rx_cnt; in ice_set_ringparam()
2919 ice_up(vsi); in ice_set_ringparam()
2926 ice_for_each_txq(vsi, i) in ice_set_ringparam()
2950 struct ice_port_info *pi = np->vsi->port_info; in ice_get_pauseparam()
2998 struct ice_pf *pf = np->vsi->back; in ice_set_pauseparam()
3000 struct ice_vsi *vsi = np->vsi; in ice_set_pauseparam() local
3008 pi = vsi->port_info; in ice_set_pauseparam()
3016 if (vsi->type != ICE_VSI_PF) { in ice_set_pauseparam()
3112 return np->vsi->rss_table_size; in ice_get_rxfh_indir_size()
3120 struct ice_vsi *vsi = np->vsi; in ice_get_rxfh_context() local
3121 struct ice_pf *pf = vsi->back; in ice_get_rxfh_context()
3136 qcount = vsi->mqprio_qopt.qopt.count[rss_context]; in ice_get_rxfh_context()
3137 offset = vsi->mqprio_qopt.qopt.offset[rss_context]; in ice_get_rxfh_context()
3140 num_tc = vsi->mqprio_qopt.qopt.num_tc; in ice_get_rxfh_context()
3147 vsi = vsi->tc_map_vsi[rss_context]; in ice_get_rxfh_context()
3156 lut = kzalloc(vsi->rss_table_size, GFP_KERNEL); in ice_get_rxfh_context()
3160 err = ice_get_rss_key(vsi, key); in ice_get_rxfh_context()
3164 err = ice_get_rss_lut(vsi, lut, vsi->rss_table_size); in ice_get_rxfh_context()
3169 for (i = 0; i < vsi->rss_table_size; i++) in ice_get_rxfh_context()
3174 for (i = 0; i < vsi->rss_table_size; i++) in ice_get_rxfh_context()
3212 struct ice_vsi *vsi = np->vsi; in ice_set_rxfh() local
3213 struct ice_pf *pf = vsi->back; in ice_set_rxfh()
3233 if (!vsi->rss_hkey_user) { in ice_set_rxfh()
3234 vsi->rss_hkey_user = in ice_set_rxfh()
3237 if (!vsi->rss_hkey_user) in ice_set_rxfh()
3240 memcpy(vsi->rss_hkey_user, key, ICE_VSIQF_HKEY_ARRAY_SIZE); in ice_set_rxfh()
3242 err = ice_set_rss_key(vsi, vsi->rss_hkey_user); in ice_set_rxfh()
3247 if (!vsi->rss_lut_user) { in ice_set_rxfh()
3248 vsi->rss_lut_user = devm_kzalloc(dev, vsi->rss_table_size, in ice_set_rxfh()
3250 if (!vsi->rss_lut_user) in ice_set_rxfh()
3258 for (i = 0; i < vsi->rss_table_size; i++) in ice_set_rxfh()
3259 vsi->rss_lut_user[i] = (u8)(indir[i]); in ice_set_rxfh()
3261 ice_fill_rss_lut(vsi->rss_lut_user, vsi->rss_table_size, in ice_set_rxfh()
3262 vsi->rss_size); in ice_set_rxfh()
3265 err = ice_set_rss_lut(vsi, vsi->rss_lut_user, vsi->rss_table_size); in ice_set_rxfh()
3324 static u32 ice_get_combined_cnt(struct ice_vsi *vsi) in ice_get_combined_cnt() argument
3329 ice_for_each_q_vector(vsi, q_idx) { in ice_get_combined_cnt()
3330 struct ice_q_vector *q_vector = vsi->q_vectors[q_idx]; in ice_get_combined_cnt()
3348 struct ice_vsi *vsi = np->vsi; in ice_get_channels() local
3349 struct ice_pf *pf = vsi->back; in ice_get_channels()
3357 ch->combined_count = ice_get_combined_cnt(vsi); in ice_get_channels()
3358 ch->rx_count = vsi->num_rxq - ch->combined_count; in ice_get_channels()
3359 ch->tx_count = vsi->num_txq - ch->combined_count; in ice_get_channels()
3385 static int ice_vsi_set_dflt_rss_lut(struct ice_vsi *vsi, int req_rss_size) in ice_vsi_set_dflt_rss_lut() argument
3387 struct ice_pf *pf = vsi->back; in ice_vsi_set_dflt_rss_lut()
3399 lut = kzalloc(vsi->rss_table_size, GFP_KERNEL); in ice_vsi_set_dflt_rss_lut()
3405 vsi->rss_size = 1; in ice_vsi_set_dflt_rss_lut()
3407 vsi->rss_size = ice_get_valid_rss_size(hw, req_rss_size); in ice_vsi_set_dflt_rss_lut()
3410 ice_fill_rss_lut(lut, vsi->rss_table_size, vsi->rss_size); in ice_vsi_set_dflt_rss_lut()
3411 err = ice_set_rss_lut(vsi, lut, vsi->rss_table_size); in ice_vsi_set_dflt_rss_lut()
3428 struct ice_vsi *vsi = np->vsi; in ice_set_channels() local
3429 struct ice_pf *pf = vsi->back; in ice_set_channels()
3461 if (new_rx < vsi->tc_cfg.numtc) { in ice_set_channels()
3463 vsi->tc_cfg.numtc); in ice_set_channels()
3466 if (new_tx < vsi->tc_cfg.numtc) { in ice_set_channels()
3468 vsi->tc_cfg.numtc); in ice_set_channels()
3493 ice_vsi_recfg_qs(vsi, new_rx, new_tx, locked); in ice_set_channels()
3496 ret = ice_vsi_set_dflt_rss_lut(vsi, new_rx); in ice_set_channels()
3501 vsi->rss_size = ice_get_valid_rss_size(&pf->hw, new_rx); in ice_set_channels()
3519 struct ice_pf *pf = np->vsi->back; in ice_get_wol()
3521 if (np->vsi->type != ICE_VSI_PF) in ice_get_wol()
3542 struct ice_vsi *vsi = np->vsi; in ice_set_wol() local
3543 struct ice_pf *pf = vsi->back; in ice_set_wol()
3545 if (vsi->type != ICE_VSI_PF || !ice_is_wol_supported(&pf->hw)) in ice_set_wol()
3591 dev_dbg(ice_pf_to_dev(rc->rx_ring->vsi->back), "Invalid c_type %d\n", rc->type); in ice_get_rc_coalesce()
3609 ice_get_q_coalesce(struct ice_vsi *vsi, struct ethtool_coalesce *ec, int q_num) in ice_get_q_coalesce() argument
3611 if (q_num < vsi->num_rxq && q_num < vsi->num_txq) { in ice_get_q_coalesce()
3613 &vsi->rx_rings[q_num]->q_vector->rx)) in ice_get_q_coalesce()
3616 &vsi->tx_rings[q_num]->q_vector->tx)) in ice_get_q_coalesce()
3618 } else if (q_num < vsi->num_rxq) { in ice_get_q_coalesce()
3620 &vsi->rx_rings[q_num]->q_vector->rx)) in ice_get_q_coalesce()
3622 } else if (q_num < vsi->num_txq) { in ice_get_q_coalesce()
3624 &vsi->tx_rings[q_num]->q_vector->tx)) in ice_get_q_coalesce()
3647 struct ice_vsi *vsi = np->vsi; in __ice_get_coalesce() local
3652 if (ice_get_q_coalesce(vsi, ec, q_num)) in __ice_get_coalesce()
3687 struct ice_ring_container *rc, struct ice_vsi *vsi) in ice_set_rc_coalesce() argument
3691 struct ice_pf *pf = vsi->back; in ice_set_rc_coalesce()
3705 netdev_info(vsi->netdev, "Invalid value, %s-usecs-high valid values are 0 (disabled), %d-%d\n", in ice_set_rc_coalesce()
3712 …netdev_info(vsi->netdev, "Invalid value, %s-usecs-high cannot be changed if adaptive-tx or adaptiv… in ice_set_rc_coalesce()
3737 netdev_info(vsi->netdev, "%s interrupt throttling cannot be changed if adaptive-%s is enabled\n", in ice_set_rc_coalesce()
3743 netdev_info(vsi->netdev, "Invalid value, %s-usecs range is 0-%d\n", in ice_set_rc_coalesce()
3777 ice_set_q_coalesce(struct ice_vsi *vsi, struct ethtool_coalesce *ec, int q_num) in ice_set_q_coalesce() argument
3779 if (q_num < vsi->num_rxq && q_num < vsi->num_txq) { in ice_set_q_coalesce()
3781 &vsi->rx_rings[q_num]->q_vector->rx, in ice_set_q_coalesce()
3782 vsi)) in ice_set_q_coalesce()
3786 &vsi->tx_rings[q_num]->q_vector->tx, in ice_set_q_coalesce()
3787 vsi)) in ice_set_q_coalesce()
3789 } else if (q_num < vsi->num_rxq) { in ice_set_q_coalesce()
3791 &vsi->rx_rings[q_num]->q_vector->rx, in ice_set_q_coalesce()
3792 vsi)) in ice_set_q_coalesce()
3794 } else if (q_num < vsi->num_txq) { in ice_set_q_coalesce()
3796 &vsi->tx_rings[q_num]->q_vector->tx, in ice_set_q_coalesce()
3797 vsi)) in ice_set_q_coalesce()
3842 struct ice_vsi *vsi = np->vsi; in __ice_set_coalesce() local
3845 struct ice_q_vector *q_vector = vsi->q_vectors[0]; in __ice_set_coalesce()
3858 ice_for_each_q_vector(vsi, v_idx) { in __ice_set_coalesce()
3863 if (v_idx >= vsi->num_rxq && v_idx >= vsi->num_txq) in __ice_set_coalesce()
3866 if (ice_set_q_coalesce(vsi, ec, v_idx)) in __ice_set_coalesce()
3869 ice_set_q_vector_intrl(vsi->q_vectors[v_idx]); in __ice_set_coalesce()
3874 if (ice_set_q_coalesce(vsi, ec, q_num)) in __ice_set_coalesce()
3877 ice_set_q_vector_intrl(vsi->q_vectors[q_num]); in __ice_set_coalesce()
3968 struct ice_vsi *vsi = np->vsi; in ice_get_module_info() local
3969 struct ice_pf *pf = vsi->back; in ice_get_module_info()
4045 struct ice_vsi *vsi = np->vsi; in ice_get_module_eeprom() local
4046 struct ice_pf *pf = vsi->back; in ice_get_module_eeprom()