ice_get_priv_flags(9)
π ice_get_priv_flags(9) β like, the whole glow-up, bestie
okay so this is a page straight out of the Kernel API Manual (ice_get_priv_flags(9), yes the manual name is literally in the title, we stan a self-referential queen π). it's about the ice driver, it's about private flags, and it's honestly shorter than my attention span, so let's GO πββοΈπ¨
β¨ NAME β¨
ice_get_priv_flags β the function that reports device private flags, no cap π©
π¦ SYNOPSIS π¦
u32 ice_get_priv_flags (struct net_device *netdev );
like, that's it. that's the whole signature. she's compact π
π ARGUMENTS π
netdevβ the network interface device structure, aka the whole personality of the network device you're asking about π«Ά
π DESCRIPTION π
okay so here's the tea β β the get string set count and the string set have to be matched for every single flag that gets returned. like, they have to correspond, bestie. no mixing and matching, that's not the vibe πΈ
and if you're adding a new flag? you gotta add new strings for each flag to the ice_gstrings_priv_flags array. every flag gets its own string. every. single. one. the way that array needs to stay in sync is giving main character energy β¨
and what do you get back? a u32 bitmap of flags π β a whole little bitmap of flaggy goodness, returned right to you, iconic.
π SEE ALSO π
first up, the kernel file where this whole situation lives:
- Kernel file
./drivers/net/ethernet/intel/ice/ice_ethtool.c
and now the entire friend group of related functions (yes, all of them, we're not skipping a single one, devotion fr fr π):
ice_ethtool_get_maxspeed(9)ice_is_serdes_muxed(9)ice_get_port_topology(9)ice_get_tx_rx_equa(9)ice_get_extended_regs(9)ice_active_vfs(9)ice_link_test(9)ice_eeprom_test(9)ice_reg_pattern_test(9)ice_reg_test(9)ice_lbtest_prepare_rings(9)ice_lbtest_disable_rings(9)ice_lbtest_create_frame(9)ice_lbtest_check_frame(9)ice_diag_send(9)ice_lbtest_receive_frames(9)ice_loopback_test(9)ice_intr_test(9)ice_self_test(9)ice_set_fec_cfg(9)ice_set_fecparam(9)ice_get_fecparam(9)ice_nway_reset(9)ice_set_priv_flags(9)ice_mask_min_supported_speeds(9)ice_linkmode_set_bit(9)ice_phy_type_to_ethtool(9)ice_get_settings_link_up(9)ice_get_settings_link_down(9)ice_get_link_ksettings(9)ice_speed_to_aq_link(9)ice_ksettings_find_adv_link_speed(9)ice_setup_autoneg(9)ice_set_phy_type_from_speed(9)ice_set_link_ksettings(9)ice_set_rxnfc(9)ice_get_rx_ring_count(9)ice_get_rxnfc(9)ice_get_pauseparam(9)ice_set_pauseparam(9)ice_get_rxfh_key_size(9)ice_get_rxfh_indir_size(9)ice_get_rxfh(9)ice_set_rxfh(9)ice_get_combined_cnt(9)ice_get_channels(9)ice_get_valid_rss_size(9)ice_vsi_set_dflt_rss_lut(9)ice_set_channels(9)ice_get_wol(9)ice_set_wol(9)ice_get_rc_coalesce(9)ice_get_q_coalesce(9)__ice_get_coalesce(9)ice_set_rc_coalesce(9)ice_set_q_coalesce(9)ice_print_if_odd_usecs(9)__ice_set_coalesce(9)ice_get_module_info(9)ice_get_module_eeprom(9)ice_get_port_fec_stats(9)ice_get_fec_stats(9)ice_ethtool_reset(9)ice_repr_ethtool_reset(9)ice_set_ethtool_safe_mode_ops(9)ice_set_ethtool_repr_ops(9)ice_set_ethtool_ops(9)
like I said. the whole friend group. bring snacks π
ngl bestie, the one thing to not fumble: keep that string set and string set count matched for every flag you return, and remember to add new strings to ice_gstrings_priv_flags for each new flag. that's the whole assignment πβ¨
alright, that's the page! sourced from ./drivers/net/ethernet/intel/ice, dated October 2026, and it's ice_get_priv_flags(9) forever and always π β mwah, bye bestie! π§ββοΈπ
π¦ 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