i40e_test_staterr(9)
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:
i40e_intrl_usec_to_reg(9)i40e_txd_use_count(9)i40e_get_head(9)i40e_xmit_descriptor_count(9)i40e_maybe_stop_tx(9)i40e_chk_linearize(9)txring_txq(9)
mwah π source/version: ./drivers/net/ethernet/intel/i40e, date: October 2026 β i40e_test_staterr(9) out. slay. β¨π«Ά
π¦ 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