[dpdk-dev] Questions about reporting auto-negotiation capability

2021-03-28 Thread Huisong Li
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

Re: [dpdk-dev] Questions about reporting auto-negotiation capability

2021-03-29 Thread Thomas Monjalon
29/03/2021 06:02, Huisong Li: > 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 devic

Re: [dpdk-dev] Questions about reporting auto-negotiation capability

2021-03-29 Thread Thomas Monjalon
29/03/2021 09:03, Thomas Monjalon: > 29/03/2021 06:02, Huisong Li: > > '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

Re: [dpdk-dev] Questions about reporting auto-negotiation capability

2021-03-29 Thread Huisong Li
在 2021/3/29 15:19, Thomas Monjalon 写道: 29/03/2021 09:03, Thomas Monjalon: 29/03/2021 06:02, Huisong Li: '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

Re: [dpdk-dev] Questions about reporting auto-negotiation capability

2021-03-29 Thread Thomas Monjalon
29/03/2021 13:44, Huisong Li: > > 在 2021/3/29 15:19, Thomas Monjalon 写道: > > 29/03/2021 09:03, Thomas Monjalon: > >> 29/03/2021 06:02, Huisong Li: > >>> 'speed_capa' in struct rte_eth_dev_info is defined as follows: > >>> > >>> uint32_t speed_capa; /**< Supported speeds bitmap (ETH_LINK

Re: [dpdk-dev] Questions about reporting auto-negotiation capability

2021-03-29 Thread Ajit Khaparde
On Mon, Mar 29, 2021 at 12:19 AM Thomas Monjalon wrote: > > 29/03/2021 09:03, Thomas Monjalon: > > 29/03/2021 06:02, Huisong Li: > > > 'speed_capa' in struct rte_eth_dev_info is defined as follows: > > > > > > uint32_t speed_capa; /**< Supported speeds bitmap (ETH_LINK_SPEED_). */ > > >