Setting Tx coalescing parameters

Check that Tx interrupt coalescing parameters are applied on a tested interface.

  1. Check that Tx interrupt coalescing settings are supported.

  2. Save current values of coalescing parameters changed by profile.

  3. Disable adaptive Tx coalescing before changing Tx parameters.

  4. If profile == TEST_PROFILE_INVALID :

    • Set Tx time and frame limits to zero

  5. Set Tx interrupt coalescing parameters from profile.

  6. Read back Tx coalescing parameters and check they were applied.

Denis Pryazhennikov denis.pryazhennikov@oktetlabs.ru

Parameters:

env

Testing environment:

profile

Tx coalescing settings profile:

  • disabled : no coalescing (0 usecs, 1 frame)

  • time_only : coalesce by time only

  • frames_only : coalesce by frame count only

  • time_frames : coalesce by both time and frame count

  • irq : set both IRQ time and frame count limits

  • irq_usecs : set IRQ time limit only

  • irq_frames : set IRQ frame count limit only

  • adaptive : enable adaptive Tx coalescing

  • adaptive_low_time : adaptive with low time limit

  • adaptive_low_frames : adaptive with low frame count limit

  • adaptive_high_time : adaptive with high time limit

  • adaptive_high_frames : adaptive with high frame count limit

  • adaptive_rate : adaptive with packet rate thresholds

  • invalid : both Tx time and frame limits set to zero

per_queue

Whether to set per-queue coalescing