i40e_dcbnl_get_cap(9)
π i40e_dcbnl_get_cap(9) β the Kernel API Manual glow-up
okay so bestie, welcome to the Kernel API Manual entry for i40e_dcbnl_get_cap(9). yes the page name is literally the function name, we love a self-titled moment. it's giving main character energy fr fr π
β¨ NAME β¨
i40e_dcbnl_get_cap β get the DCBX capabilities of the adapter. that's it, that's the whole vibe check π
π¦ SYNOPSIS π¦
u8 i40e_dcbnl_get_cap (struct net_device *netdev , int capid , u8 *cap
);
like, look at that signature. she's short, she's sweet, she returns a u8. iconic π
πΈ ARGUMENTS πΈ
netdevβ the corresponding netdev, aka the network device we're talking about. your girl needs to know which adapter bestie πcapidβ the capability type. the what of it all. which capability are we asking about rn π§capβ the capability value. this is where the answer goes π«Ά
β DESCRIPTION β
so basically: return the capability value for a given capability type. lowkey the simplest thing ever β you hand it a capid, it hands you back the value in cap, no cap πβ¨
π SEE ALSO π
the kernel file lives at ./drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c β go read her, she ate π₯
and the whole friend group, all the sibling functions, in no particular order because we don't rank our friends:
i40e_get_pfc_delay(9)i40e_dcbnl_ieee_getets(9)i40e_dcbnl_ieee_getpfc(9)i40e_dcbnl_ieee_setets(9)i40e_dcbnl_ieee_setpfc(9)i40e_dcbnl_ieee_setapp(9)i40e_dcbnl_ieee_delapp(9)i40e_dcbnl_getstate(9)i40e_dcbnl_setstate(9)i40e_dcbnl_set_pg_tc_cfg_tx(9)i40e_dcbnl_set_pg_bwg_cfg_tx(9)i40e_dcbnl_set_pg_tc_cfg_rx(9)i40e_dcbnl_set_pg_bwg_cfg_rx(9)i40e_dcbnl_get_pg_tc_cfg_tx(9)i40e_dcbnl_get_pg_bwg_cfg_tx(9)i40e_dcbnl_get_pg_tc_cfg_rx(9)i40e_dcbnl_get_pg_bwg_cfg_rx(9)i40e_dcbnl_set_pfc_cfg(9)i40e_dcbnl_get_pfc_cfg(9)i40e_dcbnl_cee_set_all(9)i40e_dcbnl_getnumtcs(9)i40e_dcbnl_setnumtcs(9)i40e_dcbnl_getpfcstate(9)i40e_dcbnl_setpfcstate(9)i40e_dcbnl_getapp(9)i40e_dcbnl_setdcbx(9)i40e_dcbnl_getdcbx(9)i40e_dcbnl_get_perm_hw_addr(9)i40e_dcbnl_set_all(9)i40e_dcbnl_vsi_del_app(9)i40e_dcbnl_del_app(9)i40e_dcbnl_find_app(9)i40e_dcbnl_flush_apps(9)i40e_dcbnl_setup(9)
that's a whole group chat worth of functions, and yes you should probably know all of them β¨
π the sign-off π
this masterpiece comes from the source tree ./drivers/net/ethernet/intel/i40e, dated October 2026, and it's filed under i40e_dcbnl_get_cap(9) in the Kernel API Manual. bye bestie, go read the source, ily ππ¦π
π¦ 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