Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A 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()
239 return ice_fltr_add_entry_to_list(ice_pf_to_dev(vsi->back), &info, in ice_fltr_add_mac_to_list()
314 ice_fltr_free_list(ice_pf_to_dev(vsi->back), &tmp_list); in ice_fltr_prepare_mac()
319 ice_fltr_free_list(ice_pf_to_dev(vsi->back), &tmp_list); in ice_fltr_prepare_mac()
343 ice_fltr_free_list(ice_pf_to_dev(vsi->back), &tmp_list); in ice_fltr_prepare_mac_and_broadcast()
348 ice_fltr_free_list(ice_pf_to_dev(vsi->back), &tmp_list); in ice_fltr_prepare_mac_and_broadcast()
369 ice_fltr_free_list(ice_pf_to_dev(vsi->back), &tmp_list); in ice_fltr_prepare_vlan()
[all …]
H A Dice_gnss.c72 dev_err(ice_pf_to_dev(pf), "GNSS failed to write, offset=%u, size=%u, err=%d\n", in ice_gnss_do_write()
149 dev_warn(ice_pf_to_dev(pf), in ice_gnss_read()
158 dev_dbg(ice_pf_to_dev(pf), "GNSS failed to read err=%d\n", err); in ice_gnss_read()
173 struct device *dev = ice_pf_to_dev(pf); in ice_gnss_struct_init()
302 gdev = gnss_allocate_device(ice_pf_to_dev(pf)); in ice_gnss_register()
304 dev_err(ice_pf_to_dev(pf), in ice_gnss_register()
314 dev_err(ice_pf_to_dev(pf), "gnss_register_device err=%d\n", in ice_gnss_register()
355 dev_info(ice_pf_to_dev(pf), "GNSS init successful\n"); in ice_gnss_init()
358 dev_err(ice_pf_to_dev(pf), "GNSS init failure\n"); in ice_gnss_init()
H A Dice_vf_lib.c266 dev_err(ice_pf_to_dev(pf), in ice_vf_recreate_vsi()
293 dev_err(ice_pf_to_dev(pf), "failed to rebuild VF %d VSI\n", in ice_vf_rebuild_vsi()
317 struct device *dev = ice_pf_to_dev(vf->pf); in ice_vf_rebuild_host_vlan_cfg()
357 struct device *dev = ice_pf_to_dev(vf->pf); in ice_vf_rebuild_host_tx_rate_cfg()
403 struct device *dev = ice_pf_to_dev(vf->pf); in ice_vf_rebuild_host_mac_cfg()
457 dev = ice_pf_to_dev(pf); in ice_vf_rebuild_aggregator_node_cfg()
480 struct device *dev = ice_pf_to_dev(vf->pf); in ice_vf_rebuild_host_cfg()
717 struct device *dev = ice_pf_to_dev(pf); in ice_reset_all_vfs()
837 dev = ice_pf_to_dev(pf); in ice_reset_vf()
1051 dev_err(ice_pf_to_dev(pf), "VF ID: %u in reset. Try again.\n", in ice_check_vf_init()
[all …]
H A 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()
53 dev_err(ice_pf_to_dev(vsi->back), "Failure Adding VLAN %d on VSI %i, status %d\n", in ice_vsi_add_vlan()
73 dev = ice_pf_to_dev(pf); in ice_vsi_del_vlan()
115 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()
171 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()
401 …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()
498 …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()
545 …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()
607 …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()
658 …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 …]
H A 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()
1003 struct device *dev = ice_pf_to_dev(pf); in ice_ptp_update_cached_phctime()
1064 struct device *dev = ice_pf_to_dev(pf); in ice_ptp_reset_cached_phctime()
1218 dev_dbg(ice_pf_to_dev(pf), in ice_ptp_check_tx_fifo()
1923 dev = ice_pf_to_dev(pf); in ice_ptp_adjtime()
2201 struct device *dev = ice_pf_to_dev(pf); in ice_ptp_disable_sma_pins_e810t()
2224 struct device *dev = ice_pf_to_dev(pf); in ice_ptp_setup_sma_pins_e810t()
2381 dev = ice_pf_to_dev(pf); in ice_ptp_create_clock()
[all …]
H A Dice_sriov.c100 dev = ice_pf_to_dev(pf); in ice_dis_vf_mappings()
152 struct device *dev = ice_pf_to_dev(pf); in ice_free_vfs()
464 struct device *dev = ice_pf_to_dev(pf); in ice_set_per_vf_res()
661 dev = ice_pf_to_dev(pf); in ice_sriov_trigger_reset_register()
834 struct device *dev = ice_pf_to_dev(pf); in ice_ena_vfs()
908 struct device *dev = ice_pf_to_dev(pf); in ice_pci_sriov_ena()
939 struct device *dev = ice_pf_to_dev(pf); in ice_check_sriov_allowed()
1128 dev = ice_pf_to_dev(pf); in ice_set_vf_spoofchk()
1447 dev = ice_pf_to_dev(pf); in ice_set_vf_bw()
1598 dev = ice_pf_to_dev(pf); in ice_set_vf_port_vlan()
[all …]
H A Dice_irq.c109 dev_warn(ice_pf_to_dev(pf), "Not enough MSI-X vectors to support RDMA.\n"); in ice_reduce_msix_usage()
140 struct device *dev = ice_pf_to_dev(pf); in ice_ena_msix_range()
298 struct device *dev = ice_pf_to_dev(pf); in ice_alloc_irq()
342 dev_err(ice_pf_to_dev(pf), "Failed to get MSIX interrupt entry at index %d", in ice_free_irq()
347 dev_dbg(ice_pf_to_dev(pf), "Free irq at index %d\n", map.index); in ice_free_irq()
H A Dice_virtchnl_fdir.c134 dev = ice_pf_to_dev(pf); in ice_vf_start_ctrl_vsi()
293 struct device *dev = ice_pf_to_dev(vf->pf); in ice_vc_fdir_set_flow_fld()
337 struct device *dev = ice_pf_to_dev(vf->pf); in ice_vc_fdir_set_flow_hdr()
487 dev = ice_pf_to_dev(pf); in ice_vc_fdir_rem_prof()
653 dev = ice_pf_to_dev(pf); in ice_vc_fdir_write_flow_prof()
1293 dev = ice_pf_to_dev(pf); in ice_vc_fdir_write_fltr()
1393 dev = ice_pf_to_dev(pf); in ice_vc_fdir_irq_handler()
1433 dev = ice_pf_to_dev(pf); in ice_vf_fdir_dump_info()
1678 struct device *dev = ice_pf_to_dev(pf); in ice_flush_fdir_ctx()
1812 dev = ice_pf_to_dev(pf); in ice_vc_add_fdir_fltr()
[all …]
H A 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()
404 struct device *dev = ice_pf_to_dev(pf); in ice_write_nvm_module()
483 struct device *dev = ice_pf_to_dev(pf); in ice_erase_nvm_module()
566 struct device *dev = ice_pf_to_dev(pf); in ice_switch_flash_banks()
714 …dev_dbg(ice_pf_to_dev(pf), "Firmware indicated EMP reset as sufficient, but EMP reset is disabled\… in ice_finalize_update()
852 struct device *dev = ice_pf_to_dev(pf); in ice_get_pending_updates()
911 struct device *dev = ice_pf_to_dev(pf); in ice_cancel_pending_update()
987 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_flash_update()
H A Dice_lag.c254 dev = ice_pf_to_dev(lag->pf); in ice_lag_cfg_pf_fltrs()
434 struct device *dev = ice_pf_to_dev(lag->pf); in ice_lag_move_vf_node_tc()
802 struct device *dev = ice_pf_to_dev(lag->pf); in ice_lag_reclaim_vf_tc()
928 dev_warn(ice_pf_to_dev(pf), "%s Already part of a bond\n", in ice_lag_link()
1116 dev = ice_pf_to_dev(lag->pf); in ice_lag_add_prune_list()
1157 dev = ice_pf_to_dev(lag->pf); in ice_lag_del_prune_list()
1404 dev = ice_pf_to_dev(lag->pf); in ice_lag_chk_comp()
1749 struct device *dev = ice_pf_to_dev(lag->pf); in ice_register_lag_handler()
1772 struct device *dev = ice_pf_to_dev(lag->pf); in ice_unregister_lag_handler()
1833 struct device *dev = ice_pf_to_dev(lag->pf); in ice_lag_move_vf_nodes_tc_sync()
[all …]
H A Dice_lib.c78 dev = ice_pf_to_dev(pf); in ice_vsi_alloc_arrays()
316 dev = ice_pf_to_dev(pf); in ice_vsi_free_arrays()
447 dev = ice_pf_to_dev(pf); in ice_vsi_free()
886 dev = ice_pf_to_dev(pf); in ice_rss_clean()
1178 dev = ice_pf_to_dev(pf); in ice_set_rss_vsi_ctx()
1255 dev = ice_pf_to_dev(pf); in ice_vsi_init()
1414 dev = ice_pf_to_dev(pf); in ice_vsi_alloc_rings()
1521 dev = ice_pf_to_dev(pf); in ice_vsi_cfg_rss_lut_key()
1592 dev = ice_pf_to_dev(pf); in ice_vsi_set_vf_rss_flow_fld()
1624 dev = ice_pf_to_dev(pf); in ice_vsi_set_rss_flow_fld()
[all …]
H A Dice_dcb_lib.c152 struct device *dev = ice_pf_to_dev(vsi->back); in ice_get_first_droptc()
337 dev_err(ice_pf_to_dev(pf), "Invalid config, total bandwidth must equal 100\n"); in ice_dcb_bwchk()
354 struct device *dev = ice_pf_to_dev(pf); in ice_pf_dcb_cfg()
488 struct device *dev = ice_pf_to_dev(pf); in ice_dcb_need_recfg()
536 struct device *dev = ice_pf_to_dev(pf); in ice_dcb_rebuild()
619 dev_info(ice_pf_to_dev(pf), "Configuring initial DCB values\n"); in ice_dcb_init_cfg()
712 struct device *dev = ice_pf_to_dev(pf); in ice_dcb_noncontig_cfg()
772 dev_err(ice_pf_to_dev(pf), "Failed to config TC for VSI index: %d\n", in ice_pf_dcb_recfg()
806 struct device *dev = ice_pf_to_dev(pf); in ice_init_pf_dcb()
968 struct device *dev = ice_pf_to_dev(pf); in ice_dcb_process_lldp_set_mib_change()
H A Dice_main.c2501 dev = ice_pf_to_dev(pf); in ice_vsi_req_irq_msix()
2673 dev = ice_pf_to_dev(pf); in ice_prepare_xdp_rings()
3078 dev = ice_pf_to_dev(pf); in ice_misc_intr()
4074 dev = ice_pf_to_dev(pf); in ice_log_pkg_init()
6208 dev_err(ice_pf_to_dev(pf), in ice_set_features()
6215 dev_err(ice_pf_to_dev(pf), in ice_set_features()
7074 dev = ice_pf_to_dev(pf); in ice_vsi_open_ctrl()
8017 dev = ice_pf_to_dev(pf); in ice_validate_mqprio_qopt()
8412 dev = ice_pf_to_dev(pf); in ice_create_q_channel()
8735 dev_dbg(ice_pf_to_dev(pf), in ice_create_q_channels()
[all …]
H A Dice_eswitch.c50 dev_err(ice_pf_to_dev(pf), "Unable to add VF slow-path rule in switchdev mode for VF %d", in ice_eswitch_add_vf_sp_rule()
323 dev_err(ice_pf_to_dev(pf), "Failed to update VF %d port representor", in ice_eswitch_update_repr()
484 dev_err(ice_pf_to_dev(pf), in ice_eswitch_enable_switchdev()
560 dev_info(ice_pf_to_dev(pf), "Changing eswitch mode is allowed only if there is no VFs created"); in ice_eswitch_mode_set()
567 dev_info(ice_pf_to_dev(pf), "PF %d changed eswitch mode to legacy", in ice_eswitch_mode_set()
574 …dev_err(ice_pf_to_dev(pf), "Couldn't change eswitch mode to switchdev - ADQ is active. Delete ADQ … in ice_eswitch_mode_set()
579 dev_info(ice_pf_to_dev(pf), "PF %d changed eswitch mode to switchdev", in ice_eswitch_mode_set()
H A 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()
H A Dice_idc.c73 dev = ice_pf_to_dev(pf); in ice_add_rdma_qset()
126 dev_err(ice_pf_to_dev(pf), "RDMA Invalid VSI\n"); in ice_del_rdma_qset()
162 dev_err(ice_pf_to_dev(pf), "incorrect reset request\n"); in ice_rdma_request_reset()
190 dev_err(ice_pf_to_dev(pf), "Failed to %sable RDMA filtering\n", in ice_rdma_update_vsi_filter()
H A Dice_dcb_nl.c196 dev_info(ice_pf_to_dev(pf), "DCBx mode = 0x%x\n", mode); in ice_dcbnl_setdcbx()
319 dev_dbg(ice_pf_to_dev(pf), "Get PFC Config up=%d, setting=%d, pfcenable=0x%x\n", in ice_dcbnl_get_pfc_cfg()
354 dev_dbg(ice_pf_to_dev(pf), "Set PFC config UP:%d set:%d pfcena:0x%x\n", in ice_dcbnl_set_pfc_cfg()
385 dev_dbg(ice_pf_to_dev(pf), "DCB enabled state = %d\n", state); in ice_dcbnl_getstate()
449 dev_dbg(ice_pf_to_dev(pf), "Get PG config prio=%d tc=%d\n", prio, in ice_dcbnl_get_pg_tc_cfg_tx()
515 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()
597 dev_dbg(ice_pf_to_dev(pf), "Rx TC PG Config Not Supported.\n"); in ice_dcbnl_set_pg_tc_cfg_rx()
633 dev_dbg(ice_pf_to_dev(pf), "Rx BWG PG Config Not Supported.\n"); in ice_dcbnl_set_pg_bwg_cfg_rx()
679 dev_dbg(ice_pf_to_dev(pf), "DCBX Get Capability cap=%d capval=0x%x\n", in ice_dcbnl_get_cap()
1099 …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()
H A Dice_devlink.c256 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_info_get()
390 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_reload_empr_start()
533 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_port_options_print()
607 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_aq_set_port_option()
667 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_port_split()
775 struct device *dev = ice_pf_to_dev(pf); in ice_enable_custom_tx()
1535 dev = ice_pf_to_dev(pf); in ice_devlink_create_pf_port()
1598 dev = ice_pf_to_dev(pf); in ice_devlink_create_vf_port()
1663 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_nvm_snapshot()
1752 struct device *dev = ice_pf_to_dev(pf); in ice_devlink_nvm_read()
[all …]
H A Dice_base.c185 dev = ice_pf_to_dev(pf); in ice_free_q_vector()
499 …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()
549 struct device *dev = ice_pf_to_dev(ring->vsi->back); in ice_vsi_cfg_rxq()
729 struct device *dev = ice_pf_to_dev(vsi->back); in ice_vsi_alloc_q_vectors()
890 dev_err(ice_pf_to_dev(pf), "Failed to set LAN Tx queue context, error: %d\n", in ice_vsi_cfg_txq()
1044 dev_dbg(ice_pf_to_dev(vsi->back), "Reset in progress. LAN Tx queues already disabled\n"); in ice_vsi_stop_tx_ring()
1046 dev_dbg(ice_pf_to_dev(vsi->back), "LAN Tx queues do not exist, nothing to disable\n"); in ice_vsi_stop_tx_ring()
1048 dev_dbg(ice_pf_to_dev(vsi->back), "Failed to disable LAN Tx queues, error: %d\n", in ice_vsi_stop_tx_ring()
H A Dice_virtchnl.c303 dev = ice_pf_to_dev(pf); in ice_vc_send_msg_to_vf()
760 struct device *dev = ice_pf_to_dev(vf->pf); in ice_vc_handle_rss_cfg()
1009 dev = ice_pf_to_dev(pf); in ice_vc_cfg_promiscuous_mode_msg()
1845 struct device *dev = ice_pf_to_dev(vf->pf); in ice_vc_add_mac_addr()
1943 struct device *dev = ice_pf_to_dev(vf->pf); in ice_vc_del_mac_addr()
2091 dev = ice_pf_to_dev(pf); in ice_vc_request_qs_msg()
2237 dev = ice_pf_to_dev(pf); in ice_vc_process_vlan_msg()
2544 dev = ice_pf_to_dev(pf); in ice_vc_set_rss_hena()
3790 dev_dbg(ice_pf_to_dev(vf->pf), in ice_vc_repr_cfg_promiscuous_mode()
3858 dev = ice_pf_to_dev(pf); in ice_is_malicious_vf()
[all …]
H A Dice_vf_vsi_vlan_ops.c174 dev = ice_pf_to_dev(vf->pf); in ice_vf_vsi_cfg_dvm_legacy_vlan_mode()
247 …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()
H A 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()
H A Dice_eswitch_br.c288 struct device *dev = ice_pf_to_dev(pf); in ice_eswitch_br_flow_delete()
308 struct device *dev = ice_pf_to_dev(pf); in ice_esw_br_port_vlan_lookup()
374 struct device *dev = ice_pf_to_dev(pf); in ice_eswitch_br_fdb_entry_find_and_delete()
395 struct device *dev = ice_pf_to_dev(pf); in ice_eswitch_br_fdb_entry_create()
659 struct device *dev = ice_pf_to_dev(port->vsi->back); in ice_eswitch_br_set_pvid()
697 struct device *dev = ice_pf_to_dev(port->vsi->back); in ice_eswitch_br_vlan_create()
747 dev_info(ice_pf_to_dev(port->vsi->back), in ice_eswitch_br_port_vlan_add()
1286 struct device *dev = ice_pf_to_dev(pf); in ice_eswitch_br_offloads_init()
H A 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()
1719 …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()
1857 dev = ice_pf_to_dev(pf); in ice_add_fdir_ethtool()
H A Dice_dcb_lib.h95 dev_dbg(ice_pf_to_dev(pf), "DCB not supported\n"); in ice_init_pf_dcb()

12