DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [RFC] some questions for speed_capa usage
@ 2021-01-18 10:27 oulijun
  2021-01-18 11:23 ` Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: oulijun @ 2021-01-18 10:27 UTC (permalink / raw)
  To: dev; +Cc: linuxarm, lihuisong (C)

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-23  9:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-18 10:27 [dpdk-dev] [RFC] some questions for speed_capa usage oulijun
2021-01-18 11:23 ` Ferruh Yigit
2021-01-23  9:06   ` oulijun

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).