svn commit: r353661 - head/sys/dev/ixl

Eric Joyner erj at FreeBSD.org
Wed Oct 16 18:12:23 UTC 2019


Author: erj
Date: Wed Oct 16 18:12:22 2019
New Revision: 353661
URL: https://svnweb.freebsd.org/changeset/base/353661

Log:
  Fix compile error introduced in r353658
  
  "adapter" doesn't exist in ixl.
  
  Reported by:	O. Hartmann <ohartmann at walstatt.org>

Modified:
  head/sys/dev/ixl/ixl_pf_main.c

Modified: head/sys/dev/ixl/ixl_pf_main.c
==============================================================================
--- head/sys/dev/ixl/ixl_pf_main.c	Wed Oct 16 17:26:24 2019	(r353660)
+++ head/sys/dev/ixl/ixl_pf_main.c	Wed Oct 16 18:12:22 2019	(r353661)
@@ -2683,7 +2683,7 @@ ixl_update_stats_counters(struct ixl_pf *pf)
 	 * during the last interval, so capture that here.
 	 */
 	if (pf->stats.link_xoff_rx != prev_link_xoff_rx)
-		adapter->shared->isc_pause_frames = 1;
+		vsi->shared->isc_pause_frames = 1;
 
 	/* Packet size stats rx */
 	ixl_stat_update48(hw, I40E_GLPRT_PRC64H(hw->port),


More information about the svn-src-head mailing list