Re: [dpdk-dev] [BUG] failsafe depending on return value from PMD link_update function.

2018-01-16 Thread Gaƫtan Rivet
Hi Stephen, On Tue, Jan 16, 2018 at 10:29:06AM -0800, Stephen Hemminger wrote: > While doing link status refactoring, I noticed that the eth_dev_link_update > function > return value is unused by common code (in rte_eth_dev_link_get); but is being > expected > by failsafe driver. > > The return

[dpdk-dev] [BUG] failsafe depending on return value from PMD link_update function.

2018-01-16 Thread Stephen Hemminger
While doing link status refactoring, I noticed that the eth_dev_link_update function return value is unused by common code (in rte_eth_dev_link_get); but is being expected by failsafe driver. The return values are not consistent across drivers, and link update function is only valid if device i