Re: [dpdk-dev] [PATCH v9 02/24] ethdev: add a link status text representation

2020-08-11 Thread Ivan Dyukov
11.08.2020 18:47, Stephen Hemminger пишет: > On Tue, 11 Aug 2020 11:52:21 +0300 > Ivan Dyukov wrote: > >> Link status structure keeps complicated values which are hard to >> represent to end user. e.g. link_speed has INT_MAX value which >> means that speed is unknown, link_duplex equal to 0 means

Re: [dpdk-dev] [PATCH v9 02/24] ethdev: add a link status text representation

2020-08-11 Thread Stephen Hemminger
On Tue, 11 Aug 2020 11:52:21 +0300 Ivan Dyukov wrote: > Link status structure keeps complicated values which are hard to > represent to end user. e.g. link_speed has INT_MAX value which > means that speed is unknown, link_duplex equal to 0 means > 'half-duplex' etc. To simplify processing of the

Re: [dpdk-dev] [PATCH v9 02/24] ethdev: add a link status text representation

2020-08-11 Thread Ivan Dyukov
11.08.2020 15:53, Gaëtan Rivet пишет: > On 11/08/20 15:48 +0300, Ivan Dyukov wrote: >> 11.08.2020 14:02, Gaëtan Rivet пишет: >>> On 11/08/20 11:52 +0300, Ivan Dyukov wrote: Link status structure keeps complicated values which are hard to represent to end user. e.g. link_speed has INT_MAX

Re: [dpdk-dev] [PATCH v9 02/24] ethdev: add a link status text representation

2020-08-11 Thread Gaëtan Rivet
On 11/08/20 15:48 +0300, Ivan Dyukov wrote: > 11.08.2020 14:02, Gaëtan Rivet пишет: > > On 11/08/20 11:52 +0300, Ivan Dyukov wrote: > >> Link status structure keeps complicated values which are hard to > >> represent to end user. e.g. link_speed has INT_MAX value which > >> means that speed is unkn

Re: [dpdk-dev] [PATCH v9 02/24] ethdev: add a link status text representation

2020-08-11 Thread Ivan Dyukov
11.08.2020 14:02, Gaëtan Rivet пишет: > On 11/08/20 11:52 +0300, Ivan Dyukov wrote: >> Link status structure keeps complicated values which are hard to >> represent to end user. e.g. link_speed has INT_MAX value which >> means that speed is unknown, link_duplex equal to 0 means >> 'half-duplex' etc

Re: [dpdk-dev] [PATCH v9 02/24] ethdev: add a link status text representation

2020-08-11 Thread Gaëtan Rivet
On 11/08/20 11:52 +0300, Ivan Dyukov wrote: > Link status structure keeps complicated values which are hard to > represent to end user. e.g. link_speed has INT_MAX value which > means that speed is unknown, link_duplex equal to 0 means > 'half-duplex' etc. To simplify processing of the values > in

[dpdk-dev] [PATCH v9 02/24] ethdev: add a link status text representation

2020-08-11 Thread Ivan Dyukov
Link status structure keeps complicated values which are hard to represent to end user. e.g. link_speed has INT_MAX value which means that speed is unknown, link_duplex equal to 0 means 'half-duplex' etc. To simplify processing of the values in application, new dpdk function is introduced. This co