From 1e866bb85ba511f59e3877e8ee5ede4edb7aae30 Mon Sep 17 00:00:00 2001 From: Luiz Otavio O Souza Date: Thu, 25 Feb 2016 15:43:12 -0600 Subject: Fix the build... again... ixgbe_start_locked() is only available when IXGBE_LEGACY_TX is defined. --- sys/dev/ixgbe/if_ixv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/ixgbe/if_ixv.c b/sys/dev/ixgbe/if_ixv.c index f47cf60..914f742 100644 --- a/sys/dev/ixgbe/if_ixv.c +++ b/sys/dev/ixgbe/if_ixv.c @@ -871,10 +871,13 @@ ixv_msix_que(void *arg) ** has anything queued the task gets ** scheduled to handle it. */ +#ifdef IXGBE_LEGACY_TX if (!IFQ_DRV_IS_EMPTY(&adapter->ifp->if_snd)) ixgbe_start_locked(txr, ifp); +#else if (!drbr_empty(adapter->ifp, txr->br)) ixgbe_mq_start_locked(ifp, txr); +#endif IXGBE_TX_UNLOCK(txr); /* Do AIM now? */ -- cgit v1.1