DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [BUG] failsafe depending on return value from PMD link_update function.
@ 2018-01-16 18:29 Stephen Hemminger
  2018-01-16 22:48 ` Gaëtan Rivet
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2018-01-16 18:29 UTC (permalink / raw)
  To: gaetan.rivet; +Cc: dev

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 is not using LSC.  Therefore, the failsafe PMD should not be calling
device internal functions directly and expecting a valid return value.

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

end of thread, other threads:[~2018-01-16 22:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-16 18:29 [dpdk-dev] [BUG] failsafe depending on return value from PMD link_update function Stephen Hemminger
2018-01-16 22:48 ` Gaëtan Rivet

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