Test Rx interrupts

The test requests Rx queue interrupts on device configuration then checks that Rx interrupts are triggered when enabled

  1. Prepare initialized Ethernet device state

  2. Perform device configuration with Rx queue interrupt enabled

  3. Start the device

  4. Ensure that interface is UP on Tester side

  5. Prepare the packet template

    • Enable interrupt on the target Rx queue

    • Bind interrupt caused by the target queue to a per-thread Epoll file descriptor

    • Disable Rx interrupt on the target Rx queue

    • Transmit and sniff a packet

    • Check that the packet is received on the target queue

    • Check that interrupt was caused or not

Parameters:

tmpl

Traffic template