cxgb4_write_rss(9)
π cxgb4_write_rss(9) β like, the RSS table glow-up for one specific port π
okay so bestie, welcome to the Kernel API Manual, and today's main character is cxgb4_write_rss π this one's short and sweet, so no excuses β let's get into it β¨
β¨ NAME β¨
cxgb4_write_rss β writes the RSS table for a given port π
that's it, that's the gig.
π¦ SYNOPSIS π¦
int cxgb4_write_rss (const struct port_info *pi , const u16 *queues );
πΈ ARGUMENTS πΈ
piβ the port π«Ά like, the actualstruct port_infoyou're doing this for.queuesβ array of queue indices for RSS π this is theconst u16 *situation right here.
β DESCRIPTION β
So what it does: it sets up the portion of the HW RSS table for the port's VI (yes, that's the virtual interface, iykyk) so packets get distributed to the Rx queues in queues π« lowkey iconic behaviour tbh.
π¨ okay but serious moment: it should never be called before setting up sge eth rx queues. Like, do not. Not me warning you twice. Get those queues set up first, periodt π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.cπ cxgb4_change_mac(9)setup_rss(9)setup_sge_queues(9)cxgb4_set_rspq_intr_params(9)cxgb4_create_server(9)cxgb4_best_mtu(9)cxgb4_best_aligned_mtu(9)cxgb4_port_chan(9)cxgb4_port_e2cchan(9)cxgb4_port_viid(9)cxgb4_port_idx(9)cxgb_up(9)
and that's the whole vibe check bestie π§π this page came from the Kernel API Manual, sourced from ./drivers/net/ethernet/chelsio..., dated October 2026 β go forth and set up your Rx queues first, mwah ππ
π¦ 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