diff options
author | Luiz Otavio O Souza <luiz@netgate.com> | 2016-02-25 15:43:12 -0600 |
---|---|---|
committer | Luiz Otavio O Souza <luiz@netgate.com> | 2016-02-25 15:44:01 -0600 |
commit | 1e866bb85ba511f59e3877e8ee5ede4edb7aae30 (patch) | |
tree | 822b7efedebf5c5708756e91c722bdb3f6bff9d9 /sys/dev | |
parent | 688c4468121e29d145ce14d2cde0ffabedb95ae6 (diff) | |
download | FreeBSD-src-1e866bb85ba511f59e3877e8ee5ede4edb7aae30.zip FreeBSD-src-1e866bb85ba511f59e3877e8ee5ede4edb7aae30.tar.gz |
Fix the build... again...
ixgbe_start_locked() is only available when IXGBE_LEGACY_TX is defined.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ixgbe/if_ixv.c | 3 |
1 files changed, 3 insertions, 0 deletions
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? */ |