DevInterruptHWConfigMixin

class lnst.Recipes.ENRT.ConfigMixins.DevInterruptHWConfigMixin.DevInterruptHWConfigMixin

Bases: BaseHWConfigMixin

This class is an extension to the BaseEnrtRecipe class that enables the CPU affinity (CPU pinning) of the test device IRQs. The test devices are defined by dev_interrupt_hw_config_dev_list property.

Note

Note that this Mixin also stops the irqbalance service.

Parameters:

dev_intr_cpu – (optional test parameter) CPU ids to which the device IRQs should be pinned

property dev_interrupt_hw_config_dev_list

The value of this property is a list of devices for which the IRQ CPU affinity should be configured. It has to be defined by a derived class.