svn commit: r324325 - stable/11/sys/dev/qlxgbe
David C Somayajulu
davidcs at FreeBSD.org
Thu Oct 5 18:38:43 UTC 2017
Author: davidcs
Date: Thu Oct 5 18:38:42 2017
New Revision: 324325
URL: https://svnweb.freebsd.org/changeset/base/324325
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/11/sys/dev/qlxgbe/ql_hw.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/qlxgbe/ql_hw.c
==============================================================================
--- stable/11/sys/dev/qlxgbe/ql_hw.c Thu Oct 5 18:33:56 2017 (r324324)
+++ stable/11/sys/dev/qlxgbe/ql_hw.c Thu Oct 5 18:38:42 2017 (r324325)
@@ -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),
More information about the svn-src-stable-11
mailing list