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 <ohartm...@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),
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to