ice_get_rxnfc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

ice_get_rxnfc(9) β€” get those Rx flow classification rules πŸ’…

okay so this is a page from the Kernel API Manual β€” yes, the kernel, bestie, we're in the networking layer today, and it's giving driver-internals main character energy. Buckle up πŸŽ€


NAME

ice_get_rxnfc β€” the command to get Rx flow classification rules ✨


SYNOPSIS

int ice_get_rxnfc (struct net_device *netdev , struct ethtool_rxnfc *cmd
, u32 *rule_locs );

that's the whole signature, no cap β€” it takes three things and hands you an int back 🫢


ARGUMENTS

  • netdev β€” the network interface device structure, aka which netdev we're talking about, bestie, we gotta know 🌸
  • cmd β€” the ethtool rxnfc command. this is the actual ask you're making πŸ”₯
  • rule_locs β€” the buffer to rturn Rx flow classification rules. (yes, rturn β€” that's exactly how it's spelled in the source, i'm not fixing it, i'm just reporting it πŸ’€) so like… this is where the rule locations come back out to you πŸ™ˆ

DESCRIPTION

Returns Success if the command is supported. that's it. that's the whole vibe check β€” command supported? slay, Success. not supported? well. πŸ‘‘


SEE ALSO

the kernel file lives right here, iconic address and all:

./drivers/net/ethernet/intel/ice/ice_ethtool.c

and now the friends-of-the-page, the whole group chat, in order, no one gets left on read:

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_get_priv_flags(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_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)


that's the whole page, bestie, you ate it up πŸ“

ngl there's not a lot of drama here β€” it's a getter, it returns Success if the command is supported, and that's the entire plot. lowkey refreshing??

signing off from ./drivers/net/ethernet/intel/ice, dated October 2026 β€” see you in the group chat, mwah πŸ’–βœ¨πŸ§š

πŸ“¦ where this page comes from