rte_cryptodev_config(3)

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

πŸ’– rte_cryptodev_config πŸ’–

okay so bestie, gather round, because today we're talking about rte_cryptodev_config β€” this is the DPDK library function page (like, Library Functions Manual energy, iykyk) and it's genuinely just a struct doc, but we're gonna make it cute anyway 🫢


✨ NAME ✨

rte_cryptodev_config β€” the crypto device configuration structure. that's it, that's the whole name section, she's short and iconic πŸ’…


🌸 SYNOPSIS 🌸

#include <rte_cryptodev.h>

πŸŽ€ Data Fields πŸŽ€

like, here's the whole vibe of the struct, all three fields, no cap:

int socket_id
uint16_t nb_queue_pairs
uint64_t ff_disable

πŸ¦‹ Detailed Description πŸ¦‹

so rte_cryptodev_config is literally the Crypto device configuration structure. that's the whole assignment, bestie, and she ate πŸ’€βœ¨

ngl, the official definition lives at line 804 of rte_cryptodev.h β€” go look, she's really there πŸ‘‘

πŸ“ Field Documentation πŸ“

πŸ’œ int socket_id

the socket to allocate resources on. that's it. that's the field's whole personality 🌈

definition? line 805 of rte_cryptodev.h, periodt.

🧚 uint16_t nb_queue_pairs

number of queue pairs to configure on the device. so like, how many QPs you're setting up, and you'd better mean it πŸ‘€

definition at line 806 of rte_cryptodev.h πŸ’–

πŸ”₯ uint64_t ff_disable

feature flags to be disabled. and listen β€” only the following features are allowed to be disabled, so don't go getting creative, the list is the list:

  • RTE_CRYPTODEV_FF_SYMMETRIC_CRYPTO
  • RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO
  • RTE_CRYTPODEV_FF_SECURITY
πŸ™ˆ okay bestie yes, that last one is spelled RTE_CRYTPODEV_FF_SECURITY β€” with the CRYTPO and all. that is exactly how it appears in the source, so we're keeping it character for character, no "fixing" her, she's perfect as she is πŸ’€ (this is a "copy it verbatim or your build cries" situation, fr fr)

definition at line 808 of rte_cryptodev.h ⭐


πŸ‘‘ Author πŸ‘‘

generated automatically by Doxygen for DPDK from the source code. so like, no human author to thank, the robots did this one πŸ€–βœ¨ slay I guess


and that's the page!! this gem is from DPDK, Version 26.03.0, manual page rte_cryptodev_config(3) β€” go forth and configure your crypto devices responsibly, bestie πŸ’œπŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from