svn commit: r345306 - head/sys/dev/ixgbe
Eric Joyner
erj at FreeBSD.org
Tue Mar 19 18:07:45 UTC 2019
Author: erj
Date: Tue Mar 19 18:07:44 2019
New Revision: 345306
URL: https://svnweb.freebsd.org/changeset/base/345306
Log:
ixv(4): Add missing IFLIB_IS_VF flag in iflib shared ctx
From Krzysztof:
The driver built as KLD cannot be unloaded, if this flag is not set.
Submitted by: Krzysztof Galazka <krzysztof.galazka at intel.com>
Reviewed by: shurd@, erj@
MFC after: 1 week
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D19402
Modified:
head/sys/dev/ixgbe/if_ixv.c
Modified: head/sys/dev/ixgbe/if_ixv.c
==============================================================================
--- head/sys/dev/ixgbe/if_ixv.c Tue Mar 19 17:59:56 2019 (r345305)
+++ head/sys/dev/ixgbe/if_ixv.c Tue Mar 19 18:07:44 2019 (r345306)
@@ -220,7 +220,7 @@ static struct if_shared_ctx ixv_sctx_init = {
.isc_vendor_info = ixv_vendor_info_array,
.isc_driver_version = ixv_driver_version,
.isc_driver = &ixv_if_driver,
- .isc_flags = IFLIB_TSO_INIT_IP,
+ .isc_flags = IFLIB_IS_VF | IFLIB_TSO_INIT_IP,
.isc_nrxd_min = {MIN_RXD},
.isc_ntxd_min = {MIN_TXD},
More information about the svn-src-all
mailing list