Tx Ring Shadow Consumer Index Register needs to be cleared prior

to passing it's physical address to the FW during Tx Create Context.

MFC after:3 days
This commit is contained in:
David C Somayajulu 2017-09-27 17:46:11 +00:00
parent 72530f91cf
commit c06073f5dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324065

View File

@ -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),