i40e_dcbnl_get_pg_tc_cfg_rx(9)
π i40e_dcbnl_get_pg_tc_cfg_rx(9) π
okay so bestie, welcome to the Kernel API Manual β yes, this is that i40e_dcbnl_get_pg_tc_cfg_rx(9) page, the one you were looking for. pull up a chair, we're getting into CEE PG Rx config and honestly? it's giving niche-but-iconic. π¦
β¨ NAME β¨
i40e_dcbnl_get_pg_tc_cfg_rx β Get CEE PG Rx config. that's the whole vibe. πΈ
π SYNOPSIS π
void i40e_dcbnl_get_pg_tc_cfg_rx (struct net_device *netdev , int prio ,
u8 *prio_type , u8 *pgid , u8 *bw_pct , u8 *up_map );
yep, that's a void function, no return value to obsess over. it just hands you stuff through the pointers. slay. π
π«Ά ARGUMENTS π«Ά
netdevβ the correspondingnetdev. like, the network device in question, bestie. that's the one. π§prioβ the corresponding user priority. anint, right there in the middle of the signature.prio_typeβ the traffic priority type.u8 *, so it's a pointer, and you're getting the type out of it.pgidβ the PG ID. yes, the Priority Group ID, no cap. πbw_pctβ the BW percentage for the corresponding BWG. bandwidth percentage, for the BWG. iykyk.up_mapβ prio mapped to corresponding TC. so the user priority β traffic class mapping, lowkey the whole point.
π DESCRIPTION π
Get Rx PG settings for CEE mode, periodt. β¨
here's the cute part: the UP2TC map is applied in the same manner for Tx and Rx β it's symmetrical, bestie, like matching outfits β so this function just returns the TC information for the given priority accordingly. it's giving "one map, two directions, mutual main character energy." π
ngl this one is a getter, so it's filling in the values your pointers point at. no surprises, no drama. π
π¦ SEE ALSO π¦
Kernel file ./drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c β that's where the source lives, go say hi. π
and the whole friend group, in order, no one left out:
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_bwg_cfg_rx(9)i40e_dcbnl_set_pfc_cfg(9)i40e_dcbnl_get_pfc_cfg(9)i40e_dcbnl_cee_set_all(9)i40e_dcbnl_get_cap(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 the page, bestie β¨
signing off from ./drivers/net/ethernet/intel/i40e, dated October 2026, still i40e_dcbnl_get_pg_tc_cfg_rx(9) and still absolutely ate. πππ₯
π¦ 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