DPDK patches and discussions
 help / color / mirror / Atom feed
From: oulijun <oulijun@huawei.com>
To: dev <dev@dpdk.org>
Cc: <linuxarm@openeuler.org>, "lihuisong (C)" <lihuisong@huawei.com>
Subject: [dpdk-dev] [RFC] some questions for speed_capa usage
Date: Mon, 18 Jan 2021 18:27:08 +0800	[thread overview]
Message-ID: <63bca434-ae3a-8dac-4d9d-fac0ade7be25@huawei.com> (raw)

Hi,


The 'speed_capa' will be reported in rte_eth_dev_info_get API. How 
should users use the field?

1) The driver reports only the capabilities supported by the NIC, and 
users only obtain the capabilities.
Maybe, there is a case that a rate bit in 'speed_capa' is not supported 
by the current transmission medium,
such as, copper cable optical modules and optical interface modules.

2) The field is used only to inform users of the speed_capa supported by 
the current transmission medium.
And users set the fixed speed or auto-negotiation by using 'link_speeds' 
according to the field.

According to the existing implementations of all drivers, it seems that 
both of the above behaviors exist.

How should we report and use it?


Thanks

Lijun Ou


             reply	other threads:[~2021-01-18 10:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-18 10:27 oulijun [this message]
2021-01-18 11:23 ` Ferruh Yigit
2021-01-23  9:06   ` oulijun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=63bca434-ae3a-8dac-4d9d-fac0ade7be25@huawei.com \
    --to=oulijun@huawei.com \
    --cc=dev@dpdk.org \
    --cc=lihuisong@huawei.com \
    --cc=linuxarm@openeuler.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).