clear_sge_ctxt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so this is the clear_sge_ctxt(9) page from the Kernel API Manual, and the function's whole thing is: completely clear an SGE context. that's it, that's the name. slay. ✨

🫢 SYNOPSIS 🫢

int clear_sge_ctxt (struct adapter *adap , unsigned int id , unsigned
int type );

the return type is int, and yes bestie, the args are adap, id, and type. no cap.

πŸŽ€ ARGUMENTS πŸŽ€

  • adap β€” the adapter. literally the adapter.
  • id β€” the context id. the id of the context, iykyk.
  • type β€” the context type. the type of the context.

πŸ”₯ DESCRIPTION πŸ”₯

so clear_sge_ctxt completely clears an SGE context. it's used predominantly at post-reset initialization β€” like that's its main-character moment. πŸ’«

and here's the spicy bit: we don't skip writing to any "sensitive bits" in the contexts the way that t3_sge_write_context does ... πŸ‘€ so yeah, no sensitive-bit-skipping energy here.

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file itself is right here, bestie: ./drivers/net/ethernet/chelsio/cxgb3/t3_hw.c.

the whole squad, fr fr:

xoxo πŸ’‹ β€” source/version line: ./drivers/net/ethernet/chelsio..., dated October 2026. clear_sge_ctxt(9) out. πŸ’…

πŸ“¦ where this page comes from