[rds-devel] [PATCH net-next 7/7] selftests/net: add zerocopy support for PF_RDS test case
Sowmini Varadhan
sowmini.varadhan at oracle.com
Sun Jan 28 11:57:26 PST 2018
On (01/28/18 19:39), Willem de Bruijn wrote:
> > But the whole test program is rather simplistic, since it doesnt
> > actually verify the value of the cookies (hopefully me pending
:
> It might be nice to at least increment the variable on each
> successful send. The test is single threaded anyway. And
> then we can test that the returned values are in the defined
> range.
Yeah one thought that went through my head was that since
I now pick the cookes as consecutive numbers (1..N) anyway,
we could do a very simple-minded checksum on recv_completion
notification to check that the sum of all the cookie values
returned is actually N * (N+1)/2 - and flag errors/warnings
if it is not..
this would be a test enhancement I could do later.. first let
me try to avoid having all this complex timer-triggered code.
--Sowmini
More information about the rds-devel
mailing list