Check that the driver still works fine after

headroom changes.

Check that the driver still works fine after headroom changes triggered by usage together with VxLAN tunnel in the bridge.

  1. Configure serial parser to check for driver logs on IUT.

  2. Enable all flags in msglvl for IUT interface.

  3. Create TAP interface on IUT.

  4. Create VxLAN interface on IUT.

    • Allocate a pair of IP addresses for VxLAN tunnel.

    • Create new VxLAN tunnel interface on IUT.

  5. Start new VxLAN interface on IUT.

  6. Create new bridge with 2 interfaces on IUT.

    • Create new bridge on IUT.

    • Up new bridge interface on IUT.

    • Add IUT interface to the bridge.

    • Add VxLAN interface to the bridge to trigger Rx headroom changes on already added IUT interface.

  7. If if_down_up is TRUE, set the IUT interface DOWN and UP.

  8. Create a CSAP on IUT to capture packets sent to iut_addr.

  9. Create a CSAP on Tester to send packets to iut_addr.

  10. Send a packet from Tester and check that it is received successfully on IUT interface.

  11. Check that driver printed some logs about headroom.

Parameters:

env

Testing environment.