ice_hw_to_dev(9)
π NAME π
okay so bestie, welcome to the Kernel API Manual β this is the page for ice_hw_to_dev(9), and it is literally the tiny helper with main character energy: get device pointer from the hardware structure. π«Ά
β¨ SYNOPSIS β¨
struct device * ice_hw_to_dev (struct ice_hw *hw );
π ARGUMENTS π
hwβ pointer to the device HW structure. yes, thatβs the whole argument, and she ate π
π¦ DESCRIPTION π¦
So this one is used to access the device pointer from compilation units which canβt easily include the definition of struct ice_pf without leading to circular header dependencies. itβs giving βsmall utility, big dependency-management energyβ β¨
no cap, thatβs the vibe: grab the device pointer without dragging the whole struct ice_pf definition into places where it would cause circular header drama. π
π SEE ALSO β the bestie network π
Kernel file:
./drivers/net/ethernet/intel/ice/ice_main.c
and now the full squad, all the SEE ALSO besties, exactly as listed:
ice_get_tx_pending,ice_check_for_hang_subtask,ice_init_mac_fltr,ice_add_mac_to_sync_list,ice_add_mac_to_unsync_list,ice_vsi_fltr_changed,ice_set_promisc,ice_clear_promisc,ice_vsi_sync_fltr,ice_sync_fltr_subtaskice_pf_dis_all_vsi,ice_prepare_for_reset,ice_do_reset,ice_reset_subtask,ice_print_topo_conflict,ice_print_link_msg,ice_vsi_link_event,ice_set_dflt_mib,ice_check_phy_fw_load,ice_check_module_powerice_check_link_cfg_err,ice_link_event,ice_watchdog_subtask,ice_init_link_events,ice_handle_link_event,ice_aq_prep_for_event,ice_aq_wait_for_event,ice_aq_check_events,ice_aq_cancel_waiting_tasks,__ice_clean_ctrlqice_ctrlq_pending,ice_clean_adminq_subtask,ice_clean_mailboxq_subtask,ice_clean_sbq_subtask,ice_service_task_schedule,ice_service_task_complete,ice_service_task_stop,ice_service_task_restart,ice_service_timer,ice_mdd_maybe_reset_vfice_handle_mdd_event,ice_init_nvm_phy_type,ice_init_link_dflt_override,ice_init_phy_cfg_dflt_override,ice_init_phy_user_cfg,ice_phy_cfg,ice_check_media_subtask,ice_service_task,ice_set_ctrlq_len,ice_schedule_resetice_vsi_ena_irq,ice_vsi_req_irq_msix,ice_xdp_alloc_setup_rings,ice_vsi_assign_bpf_prog,ice_map_xdp_rings,ice_unmap_xdp_rings,ice_prepare_xdp_rings,ice_destroy_xdp_rings,ice_vsi_rx_napi_schedule,ice_vsi_determine_xdp_resice_max_xdp_frame_size,ice_xdp_setup_prog,ice_xdp_safe_mode,ice_xdp,ice_ena_misc_vector,ice_ll_ts_intr,ice_misc_intr,ice_misc_intr_thread_fn,ice_dis_ctrlq_interrupts,ice_free_irq_msix_ll_tsice_free_irq_msix_misc,ice_ena_ctrlq_interrupts,ice_req_irq_msix_misc,ice_set_ops,ice_set_netdev_features,ice_fill_rss_lut,ice_pf_vsi_setup,ice_ctrl_vsi_setup,ice_lb_vsi_setup,ice_vlan_rx_add_vidice_vlan_rx_kill_vid,ice_rep_indr_tc_block_unbind,ice_tc_indir_block_unregister,ice_tc_indir_block_register,ice_get_avail_q_count,ice_get_avail_txq_count,ice_get_avail_rxq_count,ice_deinit_pf,ice_set_pf_caps,ice_init_pfice_is_wol_supported,ice_vsi_recfg_qs,ice_set_safe_mode_vlan_cfg,ice_log_pkg_init,ice_load_pkg,ice_verify_cacheline_size,ice_send_version,ice_init_fdir,ice_get_opt_fw_name,ice_request_fwice_init_tx_topology,ice_init_supported_rxdids,ice_init_ddp_config,ice_print_wake_reason,ice_register_netdev,ice_cfg_netdev,ice_load,ice_unload,ice_probe,ice_set_wakeice_setup_mc_magic_wake,ice_remove,ice_shutdown,ice_prepare_for_shutdown,ice_reinit_interrupt_scheme,ice_suspend,ice_resume,ice_pci_err_detected,ice_pci_err_slot_reset,ice_pci_err_resumeice_pci_err_reset_prepare,ice_pci_err_reset_done,ice_module_init,ice_module_exit,ice_set_mac_address,ice_set_rx_mode,ice_set_tx_maxrate,ice_fdb_add,ice_fdb_del,ice_fix_featuresice_set_rx_rings_vlan_proto,ice_set_vlan_offload_features,ice_set_vlan_filtering_features,ice_set_vlan_features,ice_set_loopback,ice_set_features,ice_vsi_vlan_setup,ice_vsi_cfg_lan,ice_init_moderation,ice_napi_enable_allice_up_complete,ice_up,ice_fetch_u64_tx_stats,ice_fetch_u64_rx_stats,ice_update_vsi_tx_ring_stats,ice_update_vsi_rx_ring_stats,ice_update_vsi_ring_stats,ice_update_vsi_stats,ice_update_pf_stats,ice_get_stats64ice_napi_disable_all,ice_vsi_dis_irq,ice_down,ice_down_up,ice_vsi_setup_tx_rings,ice_vsi_setup_rx_rings,ice_vsi_open_ctrl,ice_vsi_open,ice_vsi_release_all,ice_vsi_rebuild_by_typeice_update_pf_netdev_link,ice_rebuild,ice_change_mtu,ice_set_rss_lut,ice_set_rss_key,ice_get_rss_lut,ice_get_rss_key,ice_get_rss,ice_set_rss_hfunc,ice_bridge_getlinkice_vsi_update_bridge_mode,ice_bridge_setlink,ice_tx_timeout,ice_setup_tc_cls_flower,ice_setup_tc_block_cb_ingress,ice_setup_tc_block_cb_egress,ice_validate_mqprio_qopt,ice_add_vsi_to_fdir,ice_add_channel,ice_chnl_cfg_resice_cfg_chnl_all_res,ice_setup_hw_channel,ice_setup_channel,ice_set_bw_limit,ice_create_q_channel,ice_rem_all_chnl_fltrs,ice_remove_q_channels,ice_rebuild_channels,ice_create_q_channels,ice_setup_tc_mqprio_qdiscice_cfg_txtime,ice_offload_txtime,ice_open,ice_open_internal,ice_stop,ice_features_check
xoxo, your netdev bestie π source/version: ./drivers/net/ethernet/intel/ice, dated October 2026 πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms