rte_bitmap(3)

πŸ’– rte_bitmap πŸ’–

okay bestie, welcome to the manual page for rte_bitmap(3) β€” that's a Library Functions Manual situation, and it's lowkey iconic. this is the bitmask data structure from the one and only DPDK, and we're gonna go through every single field like it's a group chat drama recap. no cap, nothing gets skipped. 🫢


🌸 NAME 🌸

rte_bitmap β€” the bitmap data structure, and honestly? she's giving organized. πŸ’…


✨ SYNOPSIS ✨

include her or you can't use her, periodt:

#include <rte_bitmap.h>

πŸŽ€ Data Fields πŸŽ€

here's the whole cast, no one's getting cut from the show πŸ’–:

  • uint64_t * array1
  • uint64_t * array2
  • uint32_t array1_size
  • uint32_t array2_size
  • uint32_t index1
  • uint32_t offset1
  • uint32_t index2
  • uint32_t go2

πŸ¦‹ Detailed Description πŸ¦‹

so. Bitmap data structure. that's the whole vibe. ✨

she lives at Definition at line 61 of file rte_bitmap.h. β€” that's her address, don't lose it 🏠


πŸ‘‘ Field Documentation πŸ‘‘

okay now the main characters, one by one, with their exact line numbers because we respect the source code in this house πŸ’œ

πŸ’« uint64_t* array1

Bitmap array1 β€” the first array, holding the bits.

Definition at line 63 of file rte_bitmap.h.

πŸ’« uint64_t* array2

Bitmap array2 β€” the second array, also holding the bits. two arrays, main character energy.

Definition at line 64 of file rte_bitmap.h.

πŸ’« uint32_t array1_size

Number of 64-bit slabs in array1 that are actually used β€” note the "actually", bestie, this is the used count, not the capacity.

Definition at line 65 of file rte_bitmap.h.

πŸ’« uint32_t array2_size

Number of 64-bit slabs in array2 β€” just the count. that's it. slay.

Definition at line 66 of file rte_bitmap.h.

πŸ’« uint32_t index1

Bitmap scan: Index of current array1 slab β€” we're mid-scan and this is where we're at in array1.

Definition at line 69 of file rte_bitmap.h.

πŸ’« uint32_t offset1

Bitmap scan: Offset of current bit within current array1 slab β€” not which slab, but where inside the slab. the little details matter πŸŽ€

Definition at line 70 of file rte_bitmap.h.

πŸ’« uint32_t index2

Bitmap scan: Index of current array2 slab β€” same situation as index1 but for array2, because symmetry is the moment.

Definition at line 71 of file rte_bitmap.h.

πŸ’« uint32_t go2

Bitmap scan: Go/stop condition for current array2 cache line β€” literally the "should we keep going or nah" flag for the cache line currently in play. vibe check, but in code form. 🚦

Definition at line 72 of file rte_bitmap.h.


πŸ™ˆ Author πŸ™ˆ

Generated automatically by Doxygen for DPDK from the source code. β€” the docs wrote themselves, we just added the glitter ✨


and that's the whole page, bestie!! you now know rte_bitmap(3) better than you know your own sleep schedule. this was DPDK Version 25.11.3, so keep that in your notes app πŸ“ β€” mwah, go forth and bitmask responsibly πŸ’–πŸŒˆβ­

πŸ“¦ where this page comes from