Home
last modified time | relevance | path

Searched refs:ice_pf_to_dev (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_fltr.c66 dev_err(ice_pf_to_dev(pf), in ice_fltr_set_vlan_vsi_promisc()
90 dev_err(ice_pf_to_dev(pf), in ice_fltr_clear_vlan_vsi_promisc()
113 dev_err(ice_pf_to_dev(pf), in ice_fltr_clear_vsi_promisc()
136 dev_err(ice_pf_to_dev(pf), in ice_fltr_set_vsi_promisc()
234 return ice_fltr_add_entry_to_list(ice_pf_to_dev(vsi->back), &info, in ice_fltr_add_mac_to_list()
259 return ice_fltr_add_entry_to_list(ice_pf_to_dev(vsi->back), &info, in ice_fltr_add_vlan_to_list()
289 return ice_fltr_add_entry_to_list(ice_pf_to_dev(vsi->back), &info, in ice_fltr_add_eth_to_list()
309 ice_fltr_free_list(ice_pf_to_dev(vsi->back), &tmp_list); in ice_fltr_prepare_mac()
314 ice_fltr_free_list(ice_pf_to_dev(vsi->back), &tmp_list); in ice_fltr_prepare_mac()
338 ice_fltr_free_list(ice_pf_to_dev(vsi->back), &tmp_list); in ice_fltr_prepare_mac_and_broadcast()
[all …]
Dice_vf_lib.c260 dev_err(ice_pf_to_dev(pf), "failed to rebuild VF %d VSI\n", in ice_vf_rebuild_vsi()
348 dev_err(ice_pf_to_dev(vf->pf), "Disabling promiscuous mode failed\n"); in ice_vf_clear_all_promisc_modes()
351 dev_info(ice_pf_to_dev(vf->pf), "Disabling promiscuous mode succeeded\n"); in ice_vf_clear_all_promisc_modes()
358 dev_err(ice_pf_to_dev(vf->pf), "Disabling allmulticast mode failed\n"); in ice_vf_clear_all_promisc_modes()
361 dev_info(ice_pf_to_dev(vf->pf), "Disabling allmulticast mode succeeded\n"); in ice_vf_clear_all_promisc_modes()
388 …dev_err(ice_pf_to_dev(vsi->back), "enable Tx/Rx filter promiscuous mode on VF-%u failed, error: %d… in ice_vf_set_vsi_promisc()
417 …dev_err(ice_pf_to_dev(vsi->back), "disable Tx/Rx filter promiscuous mode on VF-%u failed, error: %… in ice_vf_clear_vsi_promisc()
438 struct device *dev = ice_pf_to_dev(pf); in ice_reset_all_vfs()
560 dev = ice_pf_to_dev(pf); in ice_reset_vf()
711 dev_err(ice_pf_to_dev(pf), "VF ID: %u in reset. Try again.\n", in ice_check_vf_init()
[all …]
Dice_vsi_vlan_lib.c11 dev_err(ice_pf_to_dev(vsi->back), "%s %d specified invalid VLAN tpid 0x%04x\n", in print_invalid_tpid()
49 dev_err(ice_pf_to_dev(vsi->back), "Failure Adding VLAN %d on VSI %i, status %d\n", in ice_vsi_add_vlan()
72 dev = ice_pf_to_dev(pf); in ice_vsi_del_vlan()
114 dev_err(ice_pf_to_dev(vsi->back), "update VSI for VLAN insert failed, err %d aq_err %s\n", in ice_vsi_manage_vlan_insertion()
164 dev_err(ice_pf_to_dev(vsi->back), "update VSI for VLAN strip failed, ena = %d err %d aq_err %s\n", in ice_vsi_manage_vlan_stripping()
348 …dev_err(ice_pf_to_dev(vsi->back), "Failed to configure Tx VLAN anti-spoof %s for VSI %d, error %d\… in ice_cfg_vlan_antispoof()
445 …dev_err(ice_pf_to_dev(vsi->back), "update VSI for enabling outer VLAN stripping failed, err %d aq_… in ice_vsi_ena_outer_stripping()
492 …dev_err(ice_pf_to_dev(vsi->back), "update VSI for disabling outer VLAN stripping failed, err %d aq… in ice_vsi_dis_outer_stripping()
554 …dev_err(ice_pf_to_dev(vsi->back), "update VSI for enabling outer VLAN insertion failed, err %d aq_… in ice_vsi_ena_outer_insertion()
605 …dev_err(ice_pf_to_dev(vsi->back), "update VSI for disabling outer VLAN insertion failed, err %d aq… in ice_vsi_dis_outer_insertion()
[all …]
Dice_ptp.c346 struct device *dev = ice_pf_to_dev(pf); in ice_get_ptp_clock_index()
392 struct device *dev = ice_pf_to_dev(pf); in ice_set_ptp_clock_index()
432 struct device *dev = ice_pf_to_dev(pf); in ice_clear_ptp_clock_index()
895 struct device *dev = ice_pf_to_dev(pf); in ice_ptp_update_cached_phctime()
963 struct device *dev = ice_pf_to_dev(pf); in ice_ptp_reset_cached_phctime()
1058 dev_dbg(ice_pf_to_dev(pf), "PTP: using base increment value of 0x%016llx\n", in ice_base_incval()
1105 dev_err(ice_pf_to_dev(pf), "PTP failed to check port %d Tx FIFO, err %d\n", in ice_ptp_check_tx_fifo()
1122 dev_dbg(ice_pf_to_dev(pf), "Try %d, port %d FIFO not empty\n", in ice_ptp_check_tx_fifo()
1126 dev_dbg(ice_pf_to_dev(pf), in ice_ptp_check_tx_fifo()
1148 struct device *dev = ice_pf_to_dev(pf); in ice_ptp_check_tx_offset_valid()
[all …]
Dice_sriov.c115 dev = ice_pf_to_dev(pf); in ice_dis_vf_mappings()
176 struct device *dev = ice_pf_to_dev(pf); in ice_free_vfs()
258 dev_err(ice_pf_to_dev(pf), "Failed to create VF VSI\n"); in ice_vf_vsi_setup()
346 struct device *dev = ice_pf_to_dev(vf->pf); in ice_ena_vf_q_mappings()
509 struct device *dev = ice_pf_to_dev(pf); in ice_set_per_vf_res()
595 dev = ice_pf_to_dev(pf); in ice_init_vf_vsi_res()
658 dev_err(ice_pf_to_dev(pf), "Failed to initialize VSI resources for VF %d, error %d\n", in ice_start_vfs()
726 dev = ice_pf_to_dev(pf); in ice_sriov_trigger_reset_register()
814 dev_err(ice_pf_to_dev(pf), in ice_sriov_vsi_rebuild()
915 struct device *dev = ice_pf_to_dev(pf); in ice_ena_vfs()
[all …]
Dice_lag.c30 dev_warn(ice_pf_to_dev(pf), "%s: Attempt to be Primary, but incompatible state.\n", in ice_lag_set_primary()
50 dev_dbg(ice_pf_to_dev(pf), "%s: Attempt to be Backup, but incompatible state\n", in ice_lag_set_backup()
148 dev_warn(ice_pf_to_dev(pf), "%s Already part of a bond\n", in ice_lag_link()
347 struct device *dev = ice_pf_to_dev(lag->pf); in ice_register_lag_handler()
370 struct device *dev = ice_pf_to_dev(lag->pf); in ice_unregister_lag_handler()
389 struct device *dev = ice_pf_to_dev(pf); in ice_init_lag()
Dice_virtchnl_fdir.c137 dev = ice_pf_to_dev(pf); in ice_vf_start_ctrl_vsi()
179 fdir->fdir_prof = devm_kcalloc(ice_pf_to_dev(vf->pf), in ice_vc_fdir_alloc_prof()
188 fdir->fdir_prof[flow] = devm_kzalloc(ice_pf_to_dev(vf->pf), in ice_vc_fdir_alloc_prof()
214 devm_kfree(ice_pf_to_dev(vf->pf), fdir->fdir_prof[flow]); in ice_vc_fdir_free_prof()
233 devm_kfree(ice_pf_to_dev(vf->pf), fdir->fdir_prof); in ice_vc_fdir_free_prof_all()
296 struct device *dev = ice_pf_to_dev(vf->pf); in ice_vc_fdir_set_flow_fld()
340 struct device *dev = ice_pf_to_dev(vf->pf); in ice_vc_fdir_set_flow_hdr()
490 dev = ice_pf_to_dev(pf); in ice_vc_fdir_rem_prof()
573 dev = ice_pf_to_dev(pf); in ice_vc_fdir_write_flow_prof()
675 struct device *dev = ice_pf_to_dev(vf->pf); in ice_vc_fdir_config_input_set()
[all …]
Dice_gnss.c69 dev_err(ice_pf_to_dev(pf), "GNSS failed to write, offset=%u, size=%u, err=%d\n", in ice_gnss_do_write()
93 dev_dbg(ice_pf_to_dev(pf), "%u bytes written to GNSS\n", bytes); in ice_gnss_write_pending()
194 dev_dbg(ice_pf_to_dev(pf), "GNSS failed to read err=%d\n", err); in ice_gnss_read()
204 struct device *dev = ice_pf_to_dev(pf); in ice_gnss_struct_init()
297 dev_err(ice_pf_to_dev(pf), "GNSS port not opened\n"); in ice_gnss_tty_close()
421 struct device *dev = ice_pf_to_dev(pf); in ice_gnss_create_tty_driver()
510 dev_info(ice_pf_to_dev(pf), "GNSS TTY init successful\n"); in ice_gnss_init()
Dice_lib.c78 dev = ice_pf_to_dev(pf); in ice_vsi_alloc_arrays()
160 dev_dbg(ice_pf_to_dev(vsi->back), "Not setting number of Tx/Rx descriptors for VSI type %d\n", in ice_vsi_set_num_desc()
248 dev_warn(ice_pf_to_dev(pf), "Unknown VSI type %d\n", vsi_type); in ice_vsi_set_num_qs()
306 dev_err(ice_pf_to_dev(pf), "Failed to delete VSI %i in FW - error: %d\n", in ice_vsi_delete()
321 dev = ice_pf_to_dev(pf); in ice_vsi_free_arrays()
371 dev = ice_pf_to_dev(pf); in ice_vsi_clear()
467 struct device *dev = ice_pf_to_dev(pf); in ice_vsi_alloc()
775 dev_dbg(ice_pf_to_dev(pf), "ice_rem_vsi_rss_cfg failed for vsi = %d, error = %d\n", in ice_vsi_clean_rss_flow_fld()
788 dev = ice_pf_to_dev(pf); in ice_rss_clean()
846 dev_dbg(ice_pf_to_dev(pf), "Unsupported VSI type %s\n", in ice_vsi_set_rss_params()
[all …]
Dice_fw_update.c97 struct device *dev = ice_pf_to_dev(pf); in ice_check_component_response()
295 struct device *dev = ice_pf_to_dev(pf); in ice_write_one_nvm_block()
402 struct device *dev = ice_pf_to_dev(pf); in ice_write_nvm_module()
481 struct device *dev = ice_pf_to_dev(pf); in ice_erase_nvm_module()
562 struct device *dev = ice_pf_to_dev(pf); in ice_switch_flash_banks()
711 …dev_dbg(ice_pf_to_dev(pf), "Firmware indicated EMP reset as sufficient, but EMP reset is disabled\… in ice_finalize_update()
849 struct device *dev = ice_pf_to_dev(pf); in ice_get_pending_updates()
908 struct device *dev = ice_pf_to_dev(pf); in ice_cancel_pending_update()
984 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_flash_update()
Dice_devlink.c51 dev_dbg(ice_pf_to_dev(pf), "Failed to read Product Board Assembly string, status %d\n", in ice_info_pba()
255 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_info_get()
401 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_reload_empr_start()
510 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_port_options_print()
584 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_aq_set_port_option()
644 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_port_split()
966 dev_dbg(ice_pf_to_dev(pf), "Couldn't read port split options, err = %d\n", in ice_devlink_set_port_split_options()
996 dev = ice_pf_to_dev(pf); in ice_devlink_create_pf_port()
1063 dev = ice_pf_to_dev(pf); in ice_devlink_create_vf_port()
1131 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_nvm_snapshot()
[all …]
Dice_dcb_lib.c151 struct device *dev = ice_pf_to_dev(vsi->back); in ice_get_first_droptc()
336 dev_err(ice_pf_to_dev(pf), "Invalid config, total bandwidth must equal 100\n"); in ice_dcb_bwchk()
353 struct device *dev = ice_pf_to_dev(pf); in ice_pf_dcb_cfg()
481 struct device *dev = ice_pf_to_dev(pf); in ice_dcb_need_recfg()
529 struct device *dev = ice_pf_to_dev(pf); in ice_dcb_rebuild()
612 dev_info(ice_pf_to_dev(pf), "Configuring initial DCB values\n"); in ice_dcb_init_cfg()
705 struct device *dev = ice_pf_to_dev(pf); in ice_dcb_noncontig_cfg()
764 dev_err(ice_pf_to_dev(pf), "Failed to config TC for VSI index: %d\n", in ice_pf_dcb_recfg()
796 struct device *dev = ice_pf_to_dev(pf); in ice_init_pf_dcb()
946 struct device *dev = ice_pf_to_dev(pf); in ice_dcb_process_lldp_set_mib_change()
Dice_idc.c71 dev = ice_pf_to_dev(pf); in ice_add_rdma_qset()
124 dev_err(ice_pf_to_dev(pf), "RDMA Invalid VSI\n"); in ice_del_rdma_qset()
160 dev_err(ice_pf_to_dev(pf), "incorrect reset request\n"); in ice_rdma_request_reset()
188 dev_err(ice_pf_to_dev(pf), "Failed to %sable RDMA filtering\n", in ice_rdma_update_vsi_filter()
Dice_base.c108 q_vector = devm_kzalloc(ice_pf_to_dev(pf), sizeof(*q_vector), in ice_vsi_alloc_q_vector()
155 dev = ice_pf_to_dev(pf); in ice_free_q_vector()
466 …dev_err(ice_pf_to_dev(vsi->back), "Failed to set LAN Rx queue context for absolute Rx queue %d err… in ice_setup_rx_ctx()
497 struct device *dev = ice_pf_to_dev(ring->vsi->back); in ice_vsi_cfg_rxq()
662 struct device *dev = ice_pf_to_dev(vsi->back); in ice_vsi_alloc_q_vectors()
821 dev_err(ice_pf_to_dev(pf), "Failed to set LAN Tx queue context, error: %d\n", in ice_vsi_cfg_txq()
975 dev_dbg(ice_pf_to_dev(vsi->back), "Reset in progress. LAN Tx queues already disabled\n"); in ice_vsi_stop_tx_ring()
977 dev_dbg(ice_pf_to_dev(vsi->back), "LAN Tx queues do not exist, nothing to disable\n"); in ice_vsi_stop_tx_ring()
979 dev_dbg(ice_pf_to_dev(vsi->back), "Failed to disable LAN Tx queues, error: %d\n", in ice_vsi_stop_tx_ring()
Dice_main.c324 struct device *dev = ice_pf_to_dev(vsi->back); in ice_vsi_sync_fltr()
535 dev_dbg(ice_pf_to_dev(pf), "reset_type=%d\n", reset_type); in ice_prepare_for_reset()
616 struct device *dev = ice_pf_to_dev(pf); in ice_do_reset()
921 struct device *dev = ice_pf_to_dev(pf); in ice_set_dflt_mib()
1014 …dev_err(ice_pf_to_dev(pf), "Device failed to load the FW for the external PHY. Please download and… in ice_check_phy_fw_load()
1043 …dev_err(ice_pf_to_dev(pf), "The installed module is incompatible with the device's NVM image. Cann… in ice_check_module_power()
1046 …dev_err(ice_pf_to_dev(pf), "The module's power requirements exceed the device's power supply. Cann… in ice_check_module_power()
1078 struct device *dev = ice_pf_to_dev(pf); in ice_link_event()
1220 dev_dbg(ice_pf_to_dev(pf), "Could not process link event, error %d\n", in ice_handle_link_event()
1260 struct device *dev = ice_pf_to_dev(pf); in ice_aq_wait_for_event()
[all …]
Dice_arfs.c90 …dev_err(ice_pf_to_dev(vsi->back), "aRFS: Failed to update filter counters, invalid filter type %d\… in ice_arfs_update_active_fltr_cntrs()
111 dev = ice_pf_to_dev(vsi->back); in ice_arfs_del_flow_rules()
148 dev = ice_pf_to_dev(vsi->back); in ice_arfs_add_flow_rules()
222 dev = ice_pf_to_dev(vsi->back); in ice_arfs_update_flow_rules()
307 arfs_entry = devm_kzalloc(ice_pf_to_dev(vsi->back), in ice_arfs_build_entry()
550 dev = ice_pf_to_dev(vsi->back); in ice_clear_arfs()
Dice_dcb_nl.c186 dev_info(ice_pf_to_dev(pf), "DCBx mode = 0x%x\n", mode); in ice_dcbnl_setdcbx()
304 dev_dbg(ice_pf_to_dev(pf), "Get PFC Config up=%d, setting=%d, pfcenable=0x%x\n", in ice_dcbnl_get_pfc_cfg()
334 dev_dbg(ice_pf_to_dev(pf), "Set PFC config UP:%d set:%d pfcena:0x%x\n", in ice_dcbnl_set_pfc_cfg()
365 dev_dbg(ice_pf_to_dev(pf), "DCB enabled state = %d\n", state); in ice_dcbnl_getstate()
424 dev_dbg(ice_pf_to_dev(pf), "Get PG config prio=%d tc=%d\n", prio, in ice_dcbnl_get_pg_tc_cfg_tx()
485 dev_dbg(ice_pf_to_dev(pf), "Get PG BW config tc=%d bw_pct=%d\n", in ice_dcbnl_get_pg_bwg_cfg_tx()
562 dev_dbg(ice_pf_to_dev(pf), "Rx TC PG Config Not Supported.\n"); in ice_dcbnl_set_pg_tc_cfg_rx()
598 dev_dbg(ice_pf_to_dev(pf), "Rx BWG PG Config Not Supported.\n"); in ice_dcbnl_set_pg_bwg_cfg_rx()
644 dev_dbg(ice_pf_to_dev(pf), "DCBX Get Capability cap=%d capval=0x%x\n", in ice_dcbnl_get_cap()
1049 …dev_dbg(ice_pf_to_dev(vsi->back), "Deleting app for VSI idx=%d err=%d sel=%d proto=0x%x, prio=%d\n… in ice_dcbnl_vsi_del_app()
Dice_eswitch.c52 dev_err(ice_pf_to_dev(pf), "Unable to add VF mac rule in switchdev mode for VF %d", in ice_eswitch_add_vf_mac_rule()
78 dev_err(ice_pf_to_dev(vf->pf), "Failed to add MAC %pM for VF %d\n, error %d\n", in ice_eswitch_replay_vf_mac_rule()
342 dev_err(ice_pf_to_dev(pf), "Failed to update VF %d port representor", in ice_eswitch_update_repr()
552 dev_info(ice_pf_to_dev(pf), "Changing eswitch mode is allowed only if there is no VFs created"); in ice_eswitch_mode_set()
559 dev_info(ice_pf_to_dev(pf), "PF %d changed eswitch mode to legacy", in ice_eswitch_mode_set()
565 dev_info(ice_pf_to_dev(pf), "PF %d changed eswitch mode to switchdev", in ice_eswitch_mode_set()
Dice_virtchnl.c303 dev = ice_pf_to_dev(pf); in ice_vc_send_msg_to_vf()
771 struct device *dev = ice_pf_to_dev(vf->pf); in ice_vc_handle_rss_cfg()
1022 dev = ice_pf_to_dev(pf); in ice_vc_cfg_promiscuous_mode_msg()
1281 dev_err(ice_pf_to_dev(vsi->back), "Failed to enable Rx ring %d on VSI %d\n", in ice_vc_ena_qs_msg()
1334 dev_dbg(ice_pf_to_dev(vsi->back), "Queue %u on VSI %u is not enabled, but stopping it anyway\n", in ice_vf_vsi_dis_single_txq()
1345 dev_err(ice_pf_to_dev(vsi->back), "Failed to stop Tx ring %d on VSI %d\n", in ice_vf_vsi_dis_single_txq()
1415 dev_err(ice_pf_to_dev(vsi->back), "Failed to stop all Rx rings on VSI %d\n", in ice_vc_dis_qs_msg()
1435 dev_err(ice_pf_to_dev(vsi->back), "Failed to stop Rx ring %d on VSI %d\n", in ice_vc_dis_qs_msg()
1615 dev_err(ice_pf_to_dev(pf), "VF-%d requesting more than supported number of queues: %d\n", in ice_vc_cfg_qs_msg()
1652 dev_warn(ice_pf_to_dev(pf), "VF-%d failed to configure TX queue %d\n", in ice_vc_cfg_qs_msg()
[all …]
Dice_vf_vsi_vlan_ops.c137 dev = ice_pf_to_dev(vf->pf); in ice_vf_vsi_cfg_dvm_legacy_vlan_mode()
210 …dev_dbg(ice_pf_to_dev(vf->pf), "Failed to disable Rx VLAN filtering for old VF with VIRTCHNL_VF_OF… in ice_vf_vsi_cfg_svm_legacy_vlan_mode()
Dice_vsi_vlan_ops.c82 dev_dbg(ice_pf_to_dev(vsi->back), "%s does not support VLAN operations\n", in ice_vsi_init_vlan_ops()
Dice_ethtool_fdir.c624 struct device *dev = ice_pf_to_dev(pf); in ice_fdir_set_hw_fltr_rule()
842 struct device *dev = ice_pf_to_dev(pf); in ice_create_init_fdir_rule()
1207 struct device *dev = ice_pf_to_dev(pf); in ice_cfg_fdir_xtrct_seq()
1360 struct device *dev = ice_pf_to_dev(pf); in ice_fdir_write_fltr()
1459 dev_dbg(ice_pf_to_dev(pf), "Flow Director error %d, could not reprogram filter %d\n", in ice_fdir_replay_fltrs()
1508 devm_kfree(ice_pf_to_dev(pf), f_rule); in ice_fdir_del_all_fltrs()
1640 …dev_err(ice_pf_to_dev(pf), "Device is resetting - deleting Flow Director filters not supported dur… in ice_del_fdir_ethtool()
1718 …dev_err(ice_pf_to_dev(pf), "Failed to add filter. Flow director filters are not supported on VF qu… in ice_set_fdir_input_set()
1856 dev = ice_pf_to_dev(pf); in ice_add_fdir_ethtool()
Dice_dcb_lib.h95 dev_dbg(ice_pf_to_dev(pf), "DCB not supported\n"); in ice_init_pf_dcb()
Dice_ethtool.c281 dev = ice_pf_to_dev(pf); in ice_get_eeprom()
390 struct device *dev = ice_pf_to_dev(pf); in ice_reg_pattern_test()
553 data = devm_kzalloc(ice_pf_to_dev(pf), size, GFP_KERNEL); in ice_lbtest_create_frame()
700 dev = ice_pf_to_dev(pf); in ice_loopback_test()
818 dev = ice_pf_to_dev(pf); in ice_self_test()
1038 dev_warn(ice_pf_to_dev(vsi->back), "Unsupported FEC mode: %d\n", in ice_set_fecparam()
1177 dev = ice_pf_to_dev(pf); in ice_set_priv_flags()
2567 dev = ice_pf_to_dev(pf); in ice_set_rss_hash_opt()
2611 dev = ice_pf_to_dev(pf); in ice_get_rss_hash_opt()
3261 dev = ice_pf_to_dev(pf); in ice_set_rxfh()
[all …]
Dice_repr.c341 SET_NETDEV_DEV(repr->netdev, ice_pf_to_dev(vf->pf)); in ice_repr_add()

12