Re: [PATCH] app/testpmd: expand noisy neighbour forward mode support

2023-01-25 Thread Stephen Hemminger
On Wed, 25 Jan 2023 17:45:31 -0500 Mike Pattrick wrote: > + > +static uint64_t rnd(void) > +{ > + RTE_PER_LCORE(seed) = 1103515245U * RTE_PER_LCORE(seed) + 12345U; > + > + return RTE_PER_LCORE(seed); > +} > + Strong NAK don't add another random generator.

Re: [PATCH] app/testpmd: expand noisy neighbour forward mode support

2023-01-25 Thread Stephen Hemminger
On Wed, 25 Jan 2023 17:45:31 -0500 Mike Pattrick wrote: > + if (unlikely(nb_rx == 0)) { > + // May still need to flush some packet DPDK style is to only use C style comments

[PATCH] app/testpmd: expand noisy neighbour forward mode support

2023-01-25 Thread Mike Pattrick
Previously the noisy neighbour vnf simulation would only operate in io mode, forwarding packets as is. However, this limited the usefulness of noisy neighbour simulation. This feature has now been expanded into all forwarding modes except for ieee1588, where it isn't relevant; and iofwd, which wou