t4_set_rxmode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… t4_set_rxmode(9) β€” like, the Kernel API Manual page, bestie

okay so picture this: you're in the kernel docs, section 9, and this little icon is called t4_set_rxmode. That's the whole vibe. Let's get into it 🫢


✨ NAME ✨

t4_set_rxmode β€” set Rx properties of a virtual interface

like, it literally sets the receive-side properties on a virtual interface. that's the job. no cap. πŸŽ€


🌸 SYNOPSIS 🌸

int t4_set_rxmode (struct adapter *adap , unsigned int mbox , unsigned
int viid , unsigned int viid_mirror , int mtu , int promisc , int
all_multi , int bcast , int vlanex , bool sleep_ok );

she returns an int, she takes ten args, she's that girl πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

so here's the cast of characters, and yes every single one matters:

  • adap β€” the adapter πŸ’– like, the actual NIC situation.
  • mbox β€” mailbox to use for the FW command. that's where you slide the message in.
  • viid β€” the VI id. iconic little identifier, runs the whole plot.
  • viid_mirror β€” the mirror VI id πŸ‘€ (mirror, mirror).
  • mtu β€” the new MTU, or -1. yep, -1 is a legit value here, not a typo.
  • promisc β€” 1 to enable promiscuous mode, 0 to disable it, -1 no change. main character energy, it's a tri-state ✨
  • all_multi β€” 1 to enable all-multi mode, 0 to disable it, -1 no change.
  • bcast β€” 1 to enable broadcast Rx, 0 to disable it, -1 no change. πŸ“£
  • vlanex β€” 1 to enable HW VLAN extraction, 0 to disable it, -1 no change.
  • sleep_ok β€” if true we may sleep while awaiting command completion 😴 literally the permission slip to nap mid-command.
lowkey the pattern here is very cute: for promisc, all_multi, bcast and vlanex, -1 means "leave it alone, bestie, no change." you don't have to touch everything 🧚

⭐ DESCRIPTION ⭐

Sets Rx properties of a virtual interface.

that's it. that's the whole description. she's short, she's confident, she ate πŸ”₯


🌈 SEE ALSO 🌈

okay gird your loins, this list is long and I'm not skipping a single one because that would be a crime 🫠 first the kernel file:

like… she knows everyone. iykyk πŸ‘‘


and that's the page!! source is ./drivers/net/ethernet/chelsio..., dated October 2026, and the whole thing is filed under t4_set_rxmode(9). mwah, go set some Rx properties bestie πŸ’‹πŸŽ€πŸ’œ

πŸ“¦ where this page comes from