> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit
> Sent: Friday, June 5, 2020 1:45 PM
>
> On 5/27/2020 8:45 AM, Morten Brørup wrote:
> >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ivan Dyukov
> >> Sent: Tuesday, May 26, 2020 9:10 PM
> >>
> >> This commit add function
On 5/27/2020 8:45 AM, Morten Brørup wrote:
>> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ivan Dyukov
>> Sent: Tuesday, May 26, 2020 9:10 PM
>>
>> This commit add function which treat link status structure
>> and format it to text representation.
>>
>> Signed-off-by: Ivan Dyukov
>> ---
>>
On Wed, 27 May 2020 09:45:49 +0200
Morten Brørup wrote:
> void rte_eth_link_prepare_text(char *str, const struct rte_eth_link *const
> link)
> {
> if (link.link_status == ETH_LINK_DOWN) {
> str += sprintf(str, "Link down");
> } else {
> str += sprintf(str, "Link up at ");
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ivan Dyukov
> Sent: Tuesday, May 26, 2020 9:10 PM
>
> This commit add function which treat link status structure
> and format it to text representation.
>
> Signed-off-by: Ivan Dyukov
> ---
> lib/librte_ethdev/rte_ethdev.c | 39
4 matches
Mail list logo