DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Questions about reporting auto-negotiation capability
@ 2021-03-29  4:02 Huisong Li
  2021-03-29  7:03 ` Thomas Monjalon
  2021-03-29  7:28 ` [dpdk-dev] [PATCH] drivers/net: remove useless autoneg capability Thomas Monjalon
  0 siblings, 2 replies; 9+ messages in thread
From: Huisong Li @ 2021-03-29  4:02 UTC (permalink / raw)
  To: dev, ferruh.yigit, thomas

Hi, all

         'speed_capa' in struct rte_eth_dev_info is defined as follows:

uint32_t speed_capa;  /**< Supported speeds bitmap (ETH_LINK_SPEED_). */


       Most PMD drivers use this field to report the speeds capability 
supported by the device to the upper-layer app.

But it seems that few NICs report their auto-negotiation capability 
through this field. If NIC also uses it to report

their auto-negotiation capability through this field, and should set it 
to ETH_LINK_SPEED_AUTONEG(0) based on

the definition of ETH_LINK_SPEED_xxx. In this case, it conflicts the 
report of the speeds capability .


I don't know how to correctly report the auto-negotiation capability of 
the device. Thanks for your reply.




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

end of thread, other threads:[~2021-04-01 13:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-29  4:02 [dpdk-dev] Questions about reporting auto-negotiation capability Huisong Li
2021-03-29  7:03 ` Thomas Monjalon
2021-03-29  7:19   ` Thomas Monjalon
2021-03-29 11:44     ` Huisong Li
2021-03-29 12:05       ` Thomas Monjalon
2021-03-29 14:18     ` Ajit Khaparde
2021-03-29  7:28 ` [dpdk-dev] [PATCH] drivers/net: remove useless autoneg capability Thomas Monjalon
2021-03-29 14:12   ` Ajit Khaparde
2021-04-01 13:26     ` Ferruh Yigit

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