txgbe_atr_co...perfect_hash(9)
β¨ NAME β¨
okay bestie, welcome to the txgbe_atr_co...perfect_hash(9) page from the Kernel API Manual π this one is literally the txgbe_atr_compute_perfect_hash function, and its whole job is computing the perfect filter hash. slay.
π SYNOPSIS π
void txgbe_atr_compute_perfect_hash (union txgbe_atr_input *input ,
union txgbe_atr_input *input_mask );
π ARGUMENTS π
inputβ the input bitstream to compute the hash on β¨input_maskβ the mask for the input bitstream π
π¦ DESCRIPTION π¦
okay so this function is giving two main purposes, fr fr.
- It applies the
input_maskto theatr_input, which results in a cleaned upatr_inputdata stream π - It computes the hash and stores it in the
bkt_hashfield at the end of the input byte stream. This way it will be available for future use without needing to recompute the hash π
like, it's literally setting future-you up so you don't have to redo the hash math. iconic behaviour.
π SEE ALSO π
peep the kernel file here: ./drivers/net/ethernet/wangxun/txgbe/txgbe_fdir.c π¦
also check out these besties:
txgbe_atr_compute_sig_hash(9)txgbe_fdir_add_signature_filter(9)txgbe_fdir_enable(9)txgbe_init_fdir_signature(9)txgbe_init_fdir_perfect(9)
mwah π source/version: ./drivers/net/ethernet/wangxun...; date: October 2026; page: txgbe_atr_co...perfect_hash(9). no cap, that's the whole vibe π
π¦ 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