On Sat, 27 Dec 2025 23:12:21 +0530
Kumara Parameshwaran <[email protected]> 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.

Reply via email to