From a2fef68982e869fb2e0a21a463c6b46b74b1269b Mon Sep 17 00:00:00 2001 From: Ryan Stone Date: Thu, 11 Sep 2014 14:57:54 -0400 Subject: [PATCH 4/6] Print an error message if a reinit fails on a VF instance --- sys/dev/ixl/if_ixlv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/ixl/if_ixlv.c b/sys/dev/ixl/if_ixlv.c index 396cd0b..388c9e0 100644 --- a/sys/dev/ixl/if_ixlv.c +++ b/sys/dev/ixl/if_ixlv.c @@ -928,8 +928,10 @@ ixlv_init_locked(struct ixlv_sc *sc) (sc->init_state == IXLV_RESET_PENDING)) error = ixlv_reinit_locked(sc); /* Don't bother with init if we failed reinit */ - if (error) + if (error) { + if_printf(ifp, "Reinit failed (err=%d)\n", error); goto init_done; + } if (bcmp(IF_LLADDR(ifp), hw->mac.addr, ETHER_ADDR_LEN) != 0) { error = ixlv_del_mac_filter(sc, hw->mac.addr); -- 1.9.3