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
Message-ID: <63bca434-ae3a-8dac-4d9d-fac0ade7be25@huawei.com> (raw)


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?


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:

* 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 \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git