[RFC] ethdev: introduce ethdev dump API
Min Hu (Connor)
humin29 at huawei.com
Wed Jan 12 03:41:03 CET 2022
Hi, Thomas,
fixed in v2, thanks.
在 2022/1/11 20:48, Thomas Monjalon 写道:
> Please use --cc-cmd devtools/get-maintainer.sh so all maintainers are Cc'ed.
>
> 11/01/2022 12:54, Min Hu (Connor):
>> --- a/doc/guides/rel_notes/release_22_03.rst
>> +++ b/doc/guides/rel_notes/release_22_03.rst
>> @@ -55,6 +55,12 @@ New Features
>> Also, make sure to start the actual text at the margin.
>> =======================================================
>>
>> + * **Added the ethdev dump API, for query private info of ethdev.**
>> +
>> + Added the ethdev dump API which provides functions for query private info
>> + from device. There exists many private properties in different PMD
>> + drivers. The information of these properties is important for debug. As
>> + the information is private, the new API is introduced.
>>
>
> A blank line is missing.
> Also please check the comment above asking to start the actual text at the margin.
>
> [...]
>> +typedef int (*eth_dev_dump_t)(struct rte_eth_dev *dev, FILE *file);
>
> There is a dump function for rte_flow: rte_flow_dev_dump().
> This one should have a clear scope: private device infos?
>
>
>
> .
>
More information about the dev
mailing list