Re: [dpdk-dev] [PATCH] ethdev: fix link autonegotiation value

2018-01-10 Thread Ferruh Yigit
On 1/5/2018 8:47 PM, Stephen Hemminger wrote: > On Fri, 5 Jan 2018 18:38:55 +0100 > Thomas Monjalon wrote: > >> There are 3 kind of link data in ethdev: >> - capabilities (rte_eth_dev_info) >> - configuration (rte_eth_conf) >> - status (rte_eth_link) >> >> A bit-field is used for

Re: [dpdk-dev] [PATCH] ethdev: fix link autonegotiation value

2018-01-08 Thread Thomas Monjalon
08/01/2018 13:31, Ferruh Yigit: > On 1/5/2018 5:38 PM, Thomas Monjalon wrote: > > There are 3 kind of link data in ethdev: > > - capabilities (rte_eth_dev_info) > > - configuration (rte_eth_conf) > > - status (rte_eth_link) > > > > A bit-field is used for capabilities (rte_eth_dev_info

Re: [dpdk-dev] [PATCH] ethdev: fix link autonegotiation value

2018-01-08 Thread Ferruh Yigit
On 1/5/2018 5:38 PM, Thomas Monjalon wrote: > There are 3 kind of link data in ethdev: > - capabilities (rte_eth_dev_info) > - configuration (rte_eth_conf) > - status (rte_eth_link) > > A bit-field is used for capabilities (rte_eth_dev_info.speed_capa) and > configuration (rte_et

Re: [dpdk-dev] [PATCH] ethdev: fix link autonegotiation value

2018-01-05 Thread Stephen Hemminger
On Fri, 5 Jan 2018 18:38:55 +0100 Thomas Monjalon wrote: > There are 3 kind of link data in ethdev: > - capabilities (rte_eth_dev_info) > - configuration (rte_eth_conf) > - status (rte_eth_link) > > A bit-field is used for capabilities (rte_eth_dev_info.speed_capa) and > confi

[dpdk-dev] [PATCH] ethdev: fix link autonegotiation value

2018-01-05 Thread Thomas Monjalon
There are 3 kind of link data in ethdev: - capabilities (rte_eth_dev_info) - configuration (rte_eth_conf) - status (rte_eth_link) A bit-field is used for capabilities (rte_eth_dev_info.speed_capa) and configuration (rte_eth_conf.link_speeds). Bits are defined in ETH_LINK_SP