ice_aq_start_stop_dcbx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_aq_start_stop_dcbx(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” this one's about ice_aq_start_stop_dcbx, and it's literally the on/off switch for the DCBX service in FW. no cap. let's get into it πŸŽ€


✨ NAME ✨

ice_aq_start_stop_dcbx β€” Start/Stop DCBX service in FW πŸ”₯


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_aq_start_stop_dcbx (struct ice_hw *hw , bool start_dcbx_agent ,
       bool *dcbx_agent_status , struct ice_sq_cd *cd );

like, that's the whole signature. four things go in, an int comes out. main character energy fr fr πŸ‘‘


🌸 ARGUMENTS 🌸

  • hw β€” pointer to the HW struct. the hardware baddie herself πŸ’–
  • start_dcbx_agent β€” True if the DCBX Agent needs to be started, False if the DCBX Agent needs to be stopped. yes it's doing double duty, she's versatile like that πŸ’…
  • dcbx_agent_status β€” FW indicates back the DCBX agent status here: True if the DCBX Agent is active, False if the DCBX Agent is stopped. it's giving "receipts" 🧾✨
  • cd β€” pointer to command details structure, or NULL. literally optional, we love a flexible king 🫢

🌈 DESCRIPTION 🌈

Start/Stop the embedded dcbx Agent. simple as that, iconically so.

⚠️ okay so this part matters, don't skip it bestie: in case this wrapper function returns 0, the caller will need to check if FW returns back the same value as stated in dcbx_agent_status, and react accordingly. so 0 is not "we're done", 0 is "go look at dcbx_agent_status and then react". no cap, read it twice. 😭

and the command code is (0x0A09) β€” that's the magic number, iykyk πŸ”’


πŸŽ€ SEE ALSO πŸŽ€

Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb.c β€” go read the source, she's right there πŸ’œ

and the whole friend group, in this exact order:

like, that's the entire squad. every single one. obsessed πŸ’–


and that's the page, bestie 🫢 sourced straight from ./drivers/net/ethernet/intel/ice, dated October 2026, and it's ice_aq_start_stop_dcbx(9) all the way down. slay, go start (or stop) that DCBX agent. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from