ice_lag_set_swid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to the ice_lag_set_swid(9) page from the Kernel API Manual πŸ’– This one is literally here to set the SWID on secondary interface. That’s the whole assignment. Slay. πŸ’…


🌸 SYNOPSIS 🌸

void ice_lag_set_swid (u16 primary_swid , struct ice_lag *local_lag ,
bool link );

πŸŽ€ ARGUMENTS πŸŽ€

  • primary_swid β€” the primary interface's SWID. That’s the ID bestie.
  • local_lag β€” the local interfaces LAG struct. Yes, the LAG struct. 🫢
  • link β€” is this a linking activity? That’s the vibe check right there.

πŸ’… DESCRIPTION πŸ’…

So here’s the tea: if link is false, then primary_swid should be expected to not be valid. Like, don’t expect it to be valid, okay? 😭

Also, real talk: this function should never be called in interrupt context. Never ever. No cap. 🚫✨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/net/ethernet/intel/ice/ice_lag.c

Here’s the exact related-page squad, no missing links, no cap:

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

okay that’s the whole page, bestie 🫢 source/version: ./drivers/net/ethernet/intel/ice β€” date: October 2026. xoxo, kernel bestie πŸ’–βœ¨

πŸ“¦ where this page comes from