i40e_test_staterr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the i40e_test_staterr(9) page β€” part of the Kernel API Manual β€” and it's lowkey a tiny baddie for Rx descriptor bit testing. πŸ¦‹

✨ NAME ✨

i40e_test_staterr β€” tests bits in Rx descriptor status and error fields. periodt. πŸ’…

🌸 SYNOPSIS 🌸

bool i40e_test_staterr (union i40e_rx_desc *rx_desc , const u64
       stat_err_bits );

πŸŽ€ ARGUMENTS πŸŽ€

  • rx_desc β€” pointer to receive descriptor (in le64 format). It's giving "hand me the descriptor" energy.
  • stat_err_bits β€” value to mask. The masky bit value, iykyk.

πŸ’– DESCRIPTION πŸ’–

Okay so this function does some fast chicanery β€” literally the source says "fast chicanery" β€” to return the value of the mask, which is really only used for boolean tests. The status_error_len doesn't need to be shifted because it begins at offset zero. No cap, that's the whole tea. πŸ“

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/intel/i40e/i40e_txrx.h, plus these besties:


mwah πŸ’‹ source/version: ./drivers/net/ethernet/intel/i40e, date: October 2026 β€” i40e_test_staterr(9) out. slay. ✨🫢

πŸ“¦ where this page comes from