idpf_set_rx_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– idpf_set_rx_mode πŸ’–

okay so bestie, welcome to the Kernel API Manual page for idpf_set_rx_mode β€” yes, the title is right there and we are getting into it. This is the NDO callback to set the netdev filters, and honestly it's giving β€œsmall function, big responsibility.” 🫢


πŸ’… NAME πŸ’…

idpf_set_rx_mode β€” the NDO callback to set the netdev filters. That's the assignment, no cap. ✨

✨ SYNOPSIS ✨

void idpf_set_rx_mode (struct net_device *netdev );

πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” the network interface device structure. That's the netdev bestie this callback is working with. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the part where you need to lock in: before it calls our .set_rx_mode, the stack grabs the addr_list_lock spinlock. We cannot sleep in this context. Like, literally cannot. No napping, no snoozing, no β€œjust five more minutes” β€” this context is a no-sleep zone. πŸ˜­πŸ’€

🌸 SEE ALSO 🌸

bestie, the SEE ALSO section is huge and I respect it. First up, the kernel file:

  • Kernel file: ./drivers/net/ethernet/intel/idpf/idpf_lib.c

Then the whole function squad, in the order they showed up:


This page's source/version stamp says ./drivers/net/ethernet/intel/idpf, and the date is October 2026 β€” periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from