ice_netdev_to_lag(9)
π ice_netdev_to_lag β the manual page bestie (section 9, Kernel API Manual, if you were wondering π)
okay so picture this: you're in the kernel API manual, section 9, and you've stumbled onto ice_netdev_to_lag(9). welcome, bestie, you're gonna slay this π«Ά
β¨ NAME β¨
ice_netdev_to_lag β literally just returns a pointer to the associated lag struct, from the netdev π that's it. that's the whole gig. no cap.
πΈ SYNOPSIS πΈ
struct ice_lag * ice_netdev_to_lag (struct net_device *netdev );
the way this signature is so clean. struct ice_lag * in, struct net_device *netdev your one and only argument, and it hands you back a lag pointer. iconic.
π¦ ARGUMENTS π¦
netdevβ pointer to thenet_devicestruct you want to query π this is the thing you're asking about. you give it the netdev, it gives you the lag. simple as that, fr fr.
π₯ SEE ALSO π₯
okay this is the part where I need you to brace yourself, because the list is LONG and it ATE π but every single one of these is real and you're gonna want them:
Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.cβ yes, that's the actual file, go read it, I believe in you πice_lag_set_primary(9)ice_lag_set_bkup(9)netif_is_same_ice(9)ice_lag_config_eswitch(9)ice_lag_find_hw_by_lport(9)ice_pkg_has_lport_extract(9)ice_lag_find_primary(9)ice_lag_cfg_fltr(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)
likeβ¦ sixty-two cross-references. the way this function has more friends than I do ππ but honestly? main character energy. go read the whole neighborhood, iykyk π
that's the whole page bestie, you're officially an ice_lag girlie now β¨
π lil sign-off: this came out of the kernel tree at./drivers/net/ethernet/intel/ice, dated October 2026, and it'sice_netdev_to_lag(9)in the Kernel API Manual β go forth and query those netdevs, queen πππΈ
π¦ 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