File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ Testing
256
256
=======
257
257
258
258
More realistic example code can be found in the kernel source under
259
- ``tools/testing/selftests/net/ncdevmem.c ``
259
+ ``tools/testing/selftests/drivers/ net/hw /ncdevmem.c ``
260
260
261
261
ncdevmem is a devmem TCP netcat. It works very similarly to netcat, but
262
262
receives data directly into a udmabuf.
@@ -268,8 +268,7 @@ ncdevmem has a validation mode as well that expects a repeating pattern of
268
268
incoming data and validates it as such. For example, you can launch
269
269
ncdevmem on the server by::
270
270
271
- ncdevmem -s <server IP> -c <client IP> -f eth1 -d 3 -n 0000:06:00.0 -l \
272
- -p 5201 -v 7
271
+ ncdevmem -s <server IP> -c <client IP> -f <ifname> -l -p 5201 -v 7
273
272
274
273
On client side, use regular netcat to send TX data to ncdevmem process
275
274
on the server::
You can’t perform that action at this time.
0 commit comments