.. index:: pair: group; Unloading driver .. _doxid-group__stress-driver__unload: Unloading driver ================ .. toctree:: :hidden: group_stress-driver_unload-run.rst Check that unloading network driver works fine. Scenarios: X3-ST02, X3-STR01, X3-STR04, X3-STR05. #. Do in a loop **iters** times: * Set IUT interface UP and/or DOWN as requested by **if_status** parameter. * Sleep for a short random period of time after bringing interface UP (and before bringing it DOWN again if it is required) if this is not the first iteration of the loop. * Unload the network driver on IUT. * Check that it is really unloaded. * Load the network driver on IUT. * Check that it is really loaded. Dmitry Izbitsky `Dmitry.Izbitsky@oktetlabs.ru `__ .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - env - Testing environment: * :ref:`env.peer2peer ` * - if_status - Interface status before unloading the driver: * ``down`` * ``up`` * ``up_down`` (first set it UP, then DOWN) * - iters - How many times to unload/load the driver. | :ref:`driver_unload`