ice_dcb_need_recfg(9)
π
ice_dcb_need_recfg β a Kernel API Manual moment (that's the ice_dcb_need_recfg(9) manual page bestie, we're in the kernel API docs today β¨)
Okay so picture this: you're deep in the ice driver, you've got a board private struct in one hand and two DCB configs in the other, and you just need to know β does this thing need a reconfig or not? That's literally the whole job of this function. She's a little bool-returning icon and she ate. π
β¨ NAME β¨
ice_dcb_need_recfg β check if DCB needs reconfig. That's it. That's the vibe check. π¦
πΈ SYNOPSIS πΈ
bool ice_dcb_need_recfg (struct ice_pf *pf , struct ice_dcbx_cfg
*old_cfg , struct ice_dcbx_cfg *new_cfg );
Like, she takes three pointers and hands you back a bool. No cap. π
π ARGUMENTS π
pfβ the board private structure, aka the main character of this whole driver situation πold_cfgβ the current DCB config, the "before" pic πΈnew_cfgβ the new DCB config, the glow-up we're comparing against β¨
π₯ SEE ALSO π₯
First up, the kernel file she lives in β go say hi, she's literally right there:
./drivers/net/ethernet/intel/ice/ice_dcb_lib.c
And then the whole friend group, because nobody in this driver does anything alone π«Ά:
ice_dcb_get_ena_tc(9)ice_is_pfc_causing_hung_q(9)ice_dcb_get_mode(9)ice_dcb_get_num_tc(9)ice_get_first_droptc(9)ice_vsi_set_dcb_tc_cfg(9)ice_dcb_get_tc(9)ice_vsi_cfg_dcb_rings(9)ice_dcb_ena_dis_vsi(9)ice_dcb_bwchk(9)ice_pf_dcb_cfg(9)ice_cfg_etsrec_defaults(9)ice_dcb_rebuild(9)ice_dcb_init_cfg(9)ice_dcb_sw_dflt_cfg(9)ice_dcb_tc_contig(9)ice_dcb_noncontig_cfg(9)ice_pf_dcb_recfg(9)ice_init_pf_dcb(9)ice_update_dcb_stats(9)ice_tx_prepare_vlan_flags_dcb(9)ice_setup_dcb_qos_info(9)ice_dcb_is_mib_change_pending(9)ice_dcb_process_lldp_set_mib_change(9)
That's twenty-four besties, count 'em. Go read all of them, iykyk ππ
Friendly reminder bestie: this page came from ./drivers/net/ethernet/intel/ice β October 2026, kernel API manual energy only. Take care of her, she's doing her best out here. πβππ§
π¦ 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