[dpdk-dev] [PATCH v3] net/mlx5: add power monitoring support

Burakov, Anatoly anatoly.burakov at intel.com
Wed May 5 13:57:01 CEST 2021


On 04-May-21 6:43 PM, Thomas Monjalon wrote:
> 04/05/2021 19:40, Ferruh Yigit:
>> On 4/29/2021 3:55 PM, Alexander Kozyrev wrote:
>>> Support the PMD power management API in MLX5 driver.
>>> The monitor policy of this API puts a CPU core to sleep until
>>> a data in some monitored memory address is changed by the NIC.
>>> Implement the get_monitor_addr function to return an address
>>> of a CQE owner bit to monitor the arrival of a new packet.
>>>
>>> Signed-off-by: Alexander Kozyrev <akozyrev at nvidia.com>
>>
>> Hi David, Anatoly,
>>
>> What to you think adding "Power Monitoring" as a new feature in the NIC feature
>> table? So the drivers supporting it can advertise it.
>> https://doc.dpdk.org/guides/nics/overview.html
>>
>> For it need to,
>> - add "Power Monitoring" to template .ini file,
>> '.doc/guides/nics/features/default.ini'
>> - Document it in the features file, '.doc/guides/nics/features.rst'
>> - Update driver .ini files to advertise the feature, like 'ixgbe.ini'
> 
> +1
> 
> 

It would be good to have discoverability for this feature. Seems like 
having a first non-Intel user is a good excuse to do just that :)

-- 
Thanks,
Anatoly


More information about the dev mailing list