On Tue, 11 Aug 2020 11:52:21 +0300 Ivan Dyukov <i.dyu...@samsung.com> 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 application, new dpdk function is introduced. > > This commit adds function which treat link status structure > and format it to text representation. User may create custom > link status string using format string. If format string is NULL, > the function construct standard link status string. > > Signed-off-by: Ivan Dyukov <i.dyu...@samsung.com> Why pander to driver specific link messages? This should come from core code in one format for all drivers.