separated_cpu device parameter

Check that separated_cpu device parameter can be retrieved and changed via devlink API.

Scenarios: X3-DLV005, X3-DLV007.

  1. If if_down is TRUE, set IUT interface down.

  2. Check that separated_cpu parameter value can be retrieved for the IUT interface.

  3. Set dist_layout parameter to 1, so that receive queue has separated layout. Only then separated_cpu parameter is meaningful, it determines to which CPU receive queue events processing is assigned.

  4. Check that separated_cpu parameter can be changed.

Dmitry Izbitsky Dmitry.Izbitsky@oktetlabs.ru

Parameters:

env

Testing environment:

if_down

If TRUE, set IUT interface down before checking the parameter