[PATCH v3] gro : improve GRO performance based on hash table
Stephen Hemminger
stephen at networkplumber.org
Sat Dec 27 19:12:17 CET 2025
On Sat, 27 Dec 2025 23:12:21 +0530
Kumara Parameshwaran <kumaraparamesh92 at gmail.com> wrote:
> +static void fill_payload(char *payload, size_t len, uint8_t *ref)
> +{
> + for (size_t i = 0; i < len; i++) {
> + uint8_t val = rand() % 256;
This is a test, so security doesn't matter but DPDK has a better random number
generator than rand(). You could use rte_rand_max(UINT8_MAX) here.
More information about the dev
mailing list