Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2019 18:07:44 +0000 (UTC)
From:      Eric Joyner <erj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r345306 - head/sys/dev/ixgbe
Message-ID:  <201903191807.x2JI7ikY075953@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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},



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903191807.x2JI7ikY075953>