Many drivers are all doing copy/paste of the same code to atomically
update the link status. Reduce duplication, and allow for future
changes by having common function for this.
Signed-off-by: Stephen Hemminger
---
lib/librte_ether/rte_ethdev.c | 22 +++
lib/librte_ether/rte_ethdev.h
From: Stephen Hemminger
Many drivers are all doing copy/paste of the same code to atomically
update the link status. Reduce duplication, and allow for future
changes by having common function for this.
Signed-off-by: Stephen Hemminger
---
lib/librte_ether/rte_ethdev.c | 36 ++
2 matches
Mail list logo