ice_dcb_ena_dis_vsi(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ice_dcb_ena_dis_vsi(9) β€” the Kernel API Manual glow-up πŸŽ€

okay so bestie, welcome to the Kernel API Manual entry for ice_dcb_ena_dis_vsi(9) β€” yes the whole thing lives in section 9 and yes it's a helper function and yes it's lowkey iconic for what it does. buckle up πŸ¦‹


✨ NAME ✨

ice_dcb_ena_dis_vsi β€” disables certain VSIs for DCB config/reconfig, and (spoiler) brings 'em right back up πŸ’…


🌸 SYNOPSIS 🌸

void ice_dcb_ena_dis_vsi (struct ice_pf *pf , bool ena , bool locked );

it returns void, bestie. it gives nothing back because it's too busy doing the work πŸ’€


🫢 ARGUMENTS 🫢

  • pf β€” pointer to the PF instance. like, the whole personality of the operation lives here ✨
  • ena β€” true to enable VSIs, false to disable. yes it's literally just the on/off switch of your dreams πŸŽ€
  • locked β€” true if the caller holds the RTNL lock, false otherwise. know your locking status before you walk in, iykyk πŸ”₯

🧚 DESCRIPTION 🧚

so here's the vibe check: before a new DCB configuration can be applied, VSIs of type PF, SWITCHDEV and CHNL need to be brought down. like, they gotta sit down and chill for a sec 🌈

then, following completion of DCB configuration, the VSIs that were downed need to be brought up again. no cap, they get resurrected πŸ”₯

and this helper function? it does both. one function, two jobs, main character energy fr fr πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

like, that's the whole friend group right there 😭 obsessed 🫢


and that's the page!! mwah πŸ’‹ this beauty ships from ./drivers/net/ethernet/intel/ice, dated October 2026, and it's filed under ice_dcb_ena_dis_vsi(9) β€” go forth and configure your DCB, bestie, you've got this πŸ“πŸ’–βœ¨

πŸ“¦ where this page comes from