ice_lag_cfg_fltr(9)
π ice_lag_cfg_fltr(9) β the Kernel API Manual tea π
okay so bestie, we're in the Kernel API Manual today and this little icon is ice_lag_cfg_fltr β the function that literally adds or removes a rule for LAG. that's it, that's the whole vibe β¨
πΈ SYNOPSIS πΈ
int ice_lag_cfg_fltr (struct ice_lag *lag , u32 act , u16 recipe_id ,
u16 *rule_idx , u8 direction , bool add );
like yes, she takes six arguments and returns an int, no cap π
π¦ ARGUMENTS π¦
lagβ the lag struct for the local interface. your main character struct, fr.actβ the rule action. it's au32, she's got range.recipe_idβ the recipe id for the new rule. not a cooking recipe unfortunately πrule_idxβ pointer to the rule index. pointer! so she's writing back, be normal about it.directionβ eitherICE_FLTR_RXorICE_FLTR_TX. pick a lane bestie, you only get those two πaddβ a boolean on whether we are adding filters.true= adding, and the alternative is... well. not adding. π
π SEE ALSO π
the friend group is HUGE and honestly iconic. also, kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c β go read the source, it's giving lore:
ice_lag_set_primary(9)ice_lag_set_bkup(9)netif_is_same_ice(9)ice_lag_config_eswitch(9)ice_netdev_to_lag(9)ice_lag_find_hw_by_lport(9)ice_pkg_has_lport_extract(9)ice_lag_find_primary(9)ice_lag_cfg_dflt_fltr(9)ice_lag_cfg_drop_fltr(9)ice_lag_cfg_pf_fltrs_act_bkup(9)ice_lag_cfg_lp_fltr(9)ice_lag_cfg_pf_fltrs(9)ice_display_lag_info(9)ice_lag_qbuf_recfg(9)ice_lag_get_sched_parent(9)ice_lag_move_vf_node_tc(9)ice_lag_build_netdev_list(9)ice_lag_destroy_netdev_list(9)ice_lag_move_single_vf_nodes(9)ice_lag_move_vf_nodes(9)ice_lag_move_vf_nodes_cfg(9)ice_lag_prepare_vf_reset(9)ice_lag_complete_vf_reset(9)ice_lag_info_event(9)ice_lag_aa_qbuf_recfg(9)ice_lag_aa_move_vf_qs(9)ice_lag_aa_failover(9)ice_lag_reclaim_vf_tc(9)ice_lag_reclaim_vf_nodes(9)ice_lag_link(9)ice_lag_act_bkup_unlink(9)ice_lag_aa_unlink(9)ice_lag_link_unlink(9)ice_lag_set_swid(9)ice_lag_primary_swid(9)ice_lag_add_prune_list(9)ice_lag_del_prune_list(9)ice_lag_init_feature_support_flag(9)ice_lag_changeupper_event(9)ice_lag_monitor_link(9)ice_lag_monitor_act_bkup(9)ice_lag_aa_clear_spoof(9)ice_lag_monitor_act_act(9)ice_lag_monitor_info(9)ice_lag_chk_comp(9)ice_lag_unregister(9)ice_lag_monitor_rdma(9)ice_lag_chk_disabled_bond(9)ice_lag_disable_sriov_bond(9)ice_lag_preset_drop_fltr(9)ice_lag_process_event(9)ice_lag_event_handler(9)ice_register_lag_handler(9)ice_unregister_lag_handler(9)ice_create_lag_recipe(9)ice_lag_move_vf_nodes_tc_sync(9)ice_lag_move_vf_nodes_sync(9)ice_init_lag(9)ice_deinit_lag(9)ice_lag_rebuild(9)ice_lag_is_switchdev_running(9)
π that's the whole page bestie β no hidden options, no extra flags, that's genuinely everything. go forth and filter π
mwah π this lil page lives in ./drivers/net/ethernet/intel/ice, dated October 2026, and it's brought to you by ice_lag_cfg_fltr(9) β say it with your chest π«Ά
π¦ 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