Unloading driver when data flows
Check that unloading network driver works fine when data is received and transmitted over an interface.
Scenarios: X3-SYS09, X3-STR13.
Create conns_num pairs of connected UDP sockets on IUT and Tester. Fork additional RPC servers to send data simultaneously in both directions over them.
Save configuration backup.
Start sending and receiving data simultaneously in both directions over each connected socket pair. This should continue until send_time expires.
If unload_once is
TRUE
, do the following steps once. Otherwise do them until send_time expires.Unload the tested driver module.
Wait for a while.
Reload the tested driver module.
Restore configuration from the backup so that addresses assigned to the IUT interface are restored.
Wait for a while.
Wait until sending and receiving data over sockets terminates, check that no unexpected errors occurred.
Check that data can be sent from IUT to Tester and vice versa and received by peer.
Dmitry Izbitsky Dmitry.Izbitsky@oktetlabs.ru
Parameters:
env |
Testing environment: |
send_time |
How long to send/receive data, in seconds. |
unload_once |
If |
conns_num |
How many connections should send and receive data. |