ENUM IB_T10_DIF_BG_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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