On Wed, 24 Apr 2024 21:10:55 +0800 Heng Qi wrote: > >> This doesn't work because the first level of sub-nesting of > >> ETHTOOL_A_COALESCE_RX_CQE_PROFILE is ETHTOOL_A_PROFILE_IRQ_MODERATION. > > So declare a policy for IRQ_MODERATION which has one entry -> nested > > profile policy? > > Still doesn't work because one profile corresponds to 5 IRQ_MODERATION > sub-nests.
I don't get it. Can you show the code you used and the failure / error you get? > In the same example, strset also uses NLA_NESTED. Likely just because it's older code.