rte_ib_bth(3)
π¦ rte_ib_bth β the InfiniBand Base Transport Header, bestie edition π¦
Okay so this is rte_ib_bth, a page from the DPDK Library Functions Manual (third section, iykyk), and it's literally just a struct breakdown for the InfiniBand Base Transport Header. It's giving very "here's the receipt for your packet header" energy, and honestly? We stan a documented bitfield. π
β¨ NAME β¨
rte_ib_bth β that's the whole name, no cap, that's it.
β¨ SYNOPSIS β¨
#include <rte_ib.h>
π Data Fields
Here's the whole glow-up of fields, in order, exactly as they sit in the struct:
uint8_t opcode
uint8_t tver:4
uint8_t padcnt:2
uint8_t m:1
uint8_t se:1
rte_be16_t pkey
uint8_t rsvd0:6
uint8_t b:1
uint8_t f:1
uint8_t dst_qp [3]
uint8_t rsvd1:7
uint8_t a:1
uint8_t psn [3]
Look at those bitfields, bestie. :4, :2, :1, :1 β she's packed, she's efficient, she's main character energy for sure. π
πΈ Detailed Description πΈ
This is the InfiniBand Base Transport Header according to IB Specification Vol 1-Release-1.4. That's the vibe check: it's a header, it's base, it transports.
Definition at line 25 of file rte_ib.h. β¨ (yes the line numbers are load-bearing, don't @ me)
π Field Documentation π
π uint8_t opcode
Opcode.
Definition at line 26 of file rte_ib.h.
π uint8_t tver
Transport Header Version.
Definition at line 28 of file rte_ib.h.
π uint8_t padcnt
Pad Count.
Definition at line 29 of file rte_ib.h.
π uint8_t m
MigReq.
Definition at line 30 of file rte_ib.h.
π uint8_t se
Solicited Event.
Definition at line 31 of file rte_ib.h.
π©· rte_be16_t pkey
Partition key.
Definition at line 38 of file rte_ib.h.
π uint8_t rsvd0
Reserved. (Not for you, bestie β hands off. π«Ά)
Definition at line 40 of file rte_ib.h.
π uint8_t b
BECN.
Definition at line 41 of file rte_ib.h.
π uint8_t f
FECN.
Definition at line 42 of file rte_ib.h.
π§ uint8_t dst_qp[3]
Destination QP
Definition at line 48 of file rte_ib.h.
π uint8_t rsvd1
Reserved. (Again β reserved. Leave her alone, she's booked and busy. π)
Definition at line 50 of file rte_ib.h.
π©· uint8_t a
Acknowledge Request.
Definition at line 51 of file rte_ib.h.
π§ uint8_t psn[3]
Packet Sequence Number
Definition at line 56 of file rte_ib.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. Not me writing it by hand, the robots ate and left no crumbs. π€β¨
And that's the page, bestie! π Little sign-off from the footer so nothing gets lost: this is DPDK, Version 26.03.0, dated rte_ib_bth(3) β go forth and parse those headers, fr fr. π¦π
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms