rte_ib_bth(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ¦‹ 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