Author: davidcs
Date: Thu Oct  5 19:03:50 2017
New Revision: 324333
URL: https://svnweb.freebsd.org/changeset/base/324333

Log:
  MFC r324065
  Tx Ring Shadow Consumer Index Register needs to be cleared prior
  to passing it's physical address to the FW during Tx Create Context.

Modified:
  stable/9/sys/dev/qlxgbe/ql_hw.c
Directory Properties:
  stable/9/   (props changed)
  stable/9/sys/   (props changed)

Modified: stable/9/sys/dev/qlxgbe/ql_hw.c
==============================================================================
--- stable/9/sys/dev/qlxgbe/ql_hw.c     Thu Oct  5 19:01:47 2017        
(r324332)
+++ stable/9/sys/dev/qlxgbe/ql_hw.c     Thu Oct  5 19:03:50 2017        
(r324333)
@@ -3248,6 +3248,7 @@ qla_init_xmt_cntxt_i(qla_host_t *ha, uint32_t txr_idx)
 
        hw_tx_cntxt->txr_free = NUM_TX_DESCRIPTORS;
        hw_tx_cntxt->txr_next = hw_tx_cntxt->txr_comp = 0;
+       *hw_tx_cntxt->tx_cons = 0;
 
         if (qla_mbx_cmd(ha, (uint32_t *)tcntxt,
                (sizeof (q80_rq_tx_cntxt_t) >> 2),
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to