.. index:: pair: group; Unloading driver when data flows .. _doxid-group__stress-driver__unload__traffic: Unloading driver when data flows ================================ .. toctree:: :hidden: group_stress-driver_unload_traffic-run.rst 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 `__ .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - env - Testing environment: * :ref:`env.peer2peer ` * :ref:`env.peer2peer_ipv6 ` * - send_time - How long to send/receive data, in seconds. * - unload_once - If ``TRUE``, unload and reload the driver once, if ``FALSE`` - do it many times in a loop until **send_time** expires. * - conns_num - How many connections should send and receive data. | :ref:`driver_unload_traffic`