rte_gro_param(3)

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

πŸ’– rte_gro_param β€” the struct that sets up your GRO era πŸ’–

okay bestie, listen up, because this one is from the DPDK Library Functions Manual and it's genuinely iconic. the name of the whole thing is rte_gro_param, no cap. it's a struct, and it's the one holding all the deets you need to spin up GRO context objects or to hand rte_gro_reassemble_burst() the parameters you decided on. main character energy fr fr πŸŽ€


✨ SYNOPSIS ✨

#include <rte_gro.h>

πŸ¦‹ Data Fields

  • uint64_t gro_types
  • uint16_t max_flow_num
  • uint16_t max_item_per_flow
  • uint16_t socket_id

🌸 Detailed Description 🌸

so this is the structure used to create GRO context objects, and it's also the structure used to pass application-determined parameters to rte_gro_reassemble_burst(). two jobs, one struct, we love a multi-hyphenate πŸ‘‘

it lives at definition line 49 of the file rte_gro.h. remember that, there's basically a quiz later (there is not a quiz, but still πŸ’…).


🧚 Field Documentation 🧚

πŸ’œ uint64_t gro_types

the GRO types you actually want. that's it, that's the field. your desired GRO types, periodt.

definition line 50 of file rte_gro.h.

πŸ“ uint16_t max_flow_num

the max flow number. the ceiling. the limit. the "no more flows than this, bestie" number.

definition line 52 of file rte_gro.h.

🌈 uint16_t max_item_per_flow

max packet number per flow. per. flow. so like, each individual flow gets this many packets max. not the total, just per flow. important distinction, don't come for me πŸ™ˆ

definition line 54 of file rte_gro.h.

⭐ uint16_t socket_id

the socket index used for allocating GRO-related data structures β€” think reassembly tables and friends. 🫢

heads up: when you use rte_gro_reassemble_burst(), applications don't need to set this value. so if that's your path, you can lowkey just leave it. no stress. 😌

definition line 56 of file rte_gro.h.


πŸ‘‘ Author

generated automatically by Doxygen for DPDK from the source code. yes, a robot wrote it, but a robot with ✨taste✨. we stan an automated author.


and that's the whole vibe check, bestie β€” this page is from DPDK, version 26.03.0, dated to match, and it's a rte_gro_param(3) situation all the way down. go forth and reassemble πŸ¦‹πŸ’–

πŸ“¦ where this page comes from