rte_gro_param(3)
π 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_typesuint16_t max_flow_numuint16_t max_item_per_flowuint16_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
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms