net/enic: extract code for checking link status
authorNelson Escobar <neescoba@cisco.com>
Mon, 19 Sep 2016 18:50:10 +0000 (11:50 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commitcf8d9826b7be31c93b306f588638318c8b39c177
tree7f900c25fc4ca1cbfe92b6766b613d8581295d5f
parent667b8a3bd497d738471d301f5b2f50065f4c8a02
net/enic: extract code for checking link status

Move link check code to a new function so that it can be reused
by the interrupt handler.

Signed-off-by: Nelson Escobar <neescoba@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic.h
drivers/net/enic/enic_ethdev.c
drivers/net/enic/enic_main.c