From c660dfe6488aedea20b144a9497956cc29954b06 Mon Sep 17 00:00:00 2001 From: Jan Tluka Date: Wed, 20 Mar 2024 11:24:01 +0100 Subject: [PATCH] Recipes/ENRT/CommonHWSubConfigMixin: replace coalescing mixin The CoalescingHWConfigMixin is only capable of disabling adaptive TX/RX setting. Typically the user disables adaptive coalescing and configures specific values of rx/tx-usecs and others. Not setting these would result in non-deterministic behaviour of the setup. The MultiCoalescingHWConfigMixin is capable of setting any coalescing options, so using it instead of CoalescingHWConfigMixin makes sense. Signed-off-by: Jan Tluka --- lnst/Recipes/ENRT/ConfigMixins/CommonHWSubConfigMixin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lnst/Recipes/ENRT/ConfigMixins/CommonHWSubConfigMixin.py b/lnst/Recipes/ENRT/ConfigMixins/CommonHWSubConfigMixin.py index cea7148a2..73482e908 100644 --- a/lnst/Recipes/ENRT/ConfigMixins/CommonHWSubConfigMixin.py +++ b/lnst/Recipes/ENRT/ConfigMixins/CommonHWSubConfigMixin.py @@ -4,8 +4,8 @@ from lnst.Recipes.ENRT.ConfigMixins.DevInterruptHWConfigMixin import ( DevInterruptHWConfigMixin, ) -from lnst.Recipes.ENRT.ConfigMixins.CoalescingHWConfigMixin import ( - CoalescingHWConfigMixin, +from lnst.Recipes.ENRT.ConfigMixins.MultiCoalescingHWConfigMixin import ( + MultiCoalescingHWConfigMixin, ) from lnst.Recipes.ENRT.ConfigMixins.MTUHWConfigMixin import MTUHWConfigMixin from lnst.Recipes.ENRT.ConfigMixins.PauseFramesHWConfigMixin import ( @@ -17,7 +17,7 @@ class CommonHWSubConfigMixin( PauseFramesHWConfigMixin, ParallelStreamQDiscHWConfigMixin, DevInterruptHWConfigMixin, - CoalescingHWConfigMixin, + MultiCoalescingHWConfigMixin, MTUHWConfigMixin, ): """