rte_cryptodev_info(3)

πŸ’– rte_cryptodev_info(3) πŸ’–

okay so bestie, welcome to the Library Functions Manual ✨ this one's a struct, she's a whole vibe, and she's lowkey carrying all the tea about your crypto device. come sit with me 🫢


🌸 NAME 🌸

rte_cryptodev_info β€” bestie, that's literally her whole name, she's the crypto device information struct and she's iconic for it πŸ’…


✨ SYNOPSIS ✨

first things first, you gotta invite her in:

#include <rte_cryptodev.h>

πŸŽ€ Data Fields πŸŽ€

here's the whole squad, no cap:

const char * driver_name
uint8_t driver_id
struct rte_device * device
uint64_t feature_flags
const struct rte_cryptodev_capabilities * capabilities
unsigned max_nb_queue_pairs
uint16_t min_mbuf_headroom_req
uint16_t min_mbuf_tailroom_req

(psst β€” <rainbow>max_nb_sessions</rainbow> is in the field docs down there too even though she ghosted the data fields list. we don't make the rules, we just report them πŸ™ˆ)


πŸ’œ Detailed Description πŸ’œ

Crypto device information β€” that's the whole assignment, that's the whole girl. she holds the info you need to know about a crypto device.

πŸ“ Definition at line 605 of file rte_cryptodev.h.

πŸ¦‹ Field Documentation πŸ¦‹

not me documenting every single field because every single field deserves it ✨

🌟 const char* driver_name

Driver name.

πŸ“ Definition at line 606 of file rte_cryptodev.h.

🌟 uint8_t driver_id

Driver identifier

πŸ“ Definition at line 607 of file rte_cryptodev.h.

🌟 struct rte_device* device

Generic device information.

πŸ“ Definition at line 608 of file rte_cryptodev.h.

🌟 uint64_t feature_flags

Feature flags exposes HW/SW features for the given device

πŸ“ Definition at line 610 of file rte_cryptodev.h.

🌟 const struct rte_cryptodev_capabilities* capabilities

Array of devices supported capabilities

πŸ“ Definition at line 613 of file rte_cryptodev.h.

🌟 unsigned max_nb_queue_pairs

Maximum number of queues pairs supported by device.

πŸ“ Definition at line 616 of file rte_cryptodev.h.

🌟 uint16_t min_mbuf_headroom_req

Minimum mbuf headroom required by device

πŸ“ Definition at line 619 of file rte_cryptodev.h.

🌟 uint16_t min_mbuf_tailroom_req

Minimum mbuf tailroom required by device

πŸ“ Definition at line 622 of file rte_cryptodev.h.

🌟 unsigned max_nb_sessions

Maximum number of sessions supported by device. If 0, the device does not have any limitation in number of sessions that can be used.

✨ iykyk, 0 here means "no limit bestie, go wild" πŸ’… πŸ“ Definition at line 626 of file rte_cryptodev.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. (she was built different, literally by a doc generator 🫢)


okay that's the whole page, and before you go: this lil masterpiece is from DPDK, Version 25.11.3, filed under rte_cryptodev_info(3) β€” and if you scroll real slow to the bottom it says DPDK on the left, Version 25.11.3 in the middle, and rte_cryptodev_info(3) on the right. slay. periodt. now go read your device info babes πŸŒˆπŸ’–

πŸ“¦ where this page comes from