[dpdk-dev] [PATCH v11 02/24] ethdev: format a link status text
Ferruh Yigit
ferruh.yigit at intel.com
Fri Sep 18 19:24:34 CEST 2020
On 9/15/2020 9:44 PM, Morten Brørup wrote:
>> From: Ivan Dyukov [mailto:i.dyukov at samsung.com]
>> Sent: Tuesday, September 15, 2020 9:07 PM
>>
>> There is new link_speed value introduced. It's INT_MAX value which
>> means that speed is unknown. To simplify processing of the value
>> in application, new function is added which convert link_speed to
>> string. Also dpdk examples have many duplicated code which format
>> entire link status structure to text.
>>
>> This commit adds two functions:
>> * rte_eth_link_speed_to_str - format link_speed to string
>> * rte_eth_link_to_str - convert link status structure to string
>>
>> Signed-off-by: Ivan Dyukov <i.dyukov at samsung.com>
>
> Great work, Ivan!
>
+1
> Acked-by: Morten Brørup <mb at smartsharesystems.com>
>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
More information about the dev
mailing list