ENUM IB_T10_DIF_BG_TYPE(9)
π enum ib_t10_dif_bg_type(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one is short and sweet and it's literally just about which flavour of checksum math we're doing for T10-DIF block guards. no cap, tiny page, big vibes π
πΈ NAME πΈ
enum ib_t10_dif_bg_type β the Signature T10-DIF block-guard types π‘οΈ like, the what kind of math is guarding this block enum, iykyk
β¨ SYNOPSIS β¨
enum ib_t10_dif_bg_type {
IB_T10DIF_CRC ,
IB_T10DIF_CSUM
};
she's small, she's iconic, she has a slightly unhinged trailing comma situation and we respect it π
π¦ CONSTANTS π¦
IB_T10DIF_CRCβ this one corresponds to the T10-PI mandated CRC checksum rules π₯ like, the spec says CRC, so we do CRC, periodt. it's giving "rules are rules" energy πIB_T10DIF_CSUMβ and this one corresponds to IP checksum rules π different math, different vibe, still valid, still slaying π«Ά
fr fr bestie, these are just two labels in an enum β you're not calling functions here, you're picking which checksum ruleset you mean. don't overthink her π
π SEE ALSO π
go read the source, she's right there in the kernel file ./include/rdma/signature.h:
enum ib_signature_type(9)struct ib_t10_dif_domain(9)struct ib_sig_domain(9)struct ib_sig_attrs(9)
all the signature-adjacent besties, all in one header, we love a cohesive friend group π
and that's the whole page, babe π§ this lil icon came to you from ./include/rdma, dated October 2026, and it lives at enum ib_t10_dif_bg_type(9) π mwah, go checksum something πβ
π¦ 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