Re: [dpdk-dev] [PATCH v11 02/24] ethdev: format a link status text

2020-09-18 Thread Ferruh Yigit
On 9/15/2020 9:44 PM, Morten Brørup wrote: From: Ivan Dyukov [mailto:i.dyu...@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

Re: [dpdk-dev] [PATCH v11 02/24] ethdev: format a link status text

2020-09-15 Thread Morten Brørup
> From: Ivan Dyukov [mailto:i.dyu...@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 t

[dpdk-dev] [PATCH v11 02/24] ethdev: format a link status text

2020-09-15 Thread Ivan Dyukov
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 tex