1 The utcli (unit test client) and utsrv (unit test server) are very simple
2 unit test tools, for sending and receiving single get's/put's of a specific
3 size, using the LNET API set.
9 --------------------------------------------------------------------------------
10 Example Test #1 - small get operation
12 1) Setup server for listening
13 uml2 $ insmod utsvr.ko
15 2) Do the get operation NID must be specified but all other are default
16 paramters which causes a 300 byte get op
17 uml1 $ insmod utcli.ko nid=192.168.2.2@tcp
19 3) Unload the utsvr because currently it only supports a single operation
20 buffers are not reposted after they are consumed
21 *** FIX THIS LIMITATION ***
24 --------------------------------------------------------------------------------
25 Example Test #2 - small put operation
26 (The setup and cleanup of the server are left out, because they are the
29 1) The adition of the "put=1" paramter causes a put rather than a get. The
30 default size of 300 is still used.
31 uml1 $ insmod utcli.ko nid=192.168.2.2@tcp put=1
33 --------------------------------------------------------------------------------
34 Example Test #3 - large get operation
36 1) Setup server for listening. The size must be specified on the server or else
37 the default of 300 bytes will be used.
38 uml2 $ insmod utsvr.ko pkt_size=5000
40 2) Do the large get operation pkt_size=5000. put=0 is a get operation,
41 it is equivlenet to just not having that parameter.
42 uml1 $ insmod utcli.ko nid=192.168.2.2@tcp put=0 pkt_size=5000