diff options
author | Rasesh Mody <rmody@brocade.com> | 2012-12-11 07:24:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-11 18:25:48 -0500 |
commit | d3f92aec9549697666f98d195cc9d59add472cfb (patch) | |
tree | 19299b33ccb3e31c6d153292a052d706b24dffde /drivers/net/ethernet/brocade/bna/bna_tx_rx.c | |
parent | 5216562a2ccd037d0eb85a2e8bbfd6315e3f1bb5 (diff) |
bna: TX Intr Coalescing Fix
Change Details:
For Tx IB, IPM was enabled with inter_pkt_timeo of 0. This caused the
Tx IB not to generate interrupt till inter_pkt_count of packets have been
received. Correct definition for BFI_TX_INTERPKT_TIMEO & BFI_TX_INTERPKT_COUNT
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/brocade/bna/bna_tx_rx.c')
-rw-r--r-- | drivers/net/ethernet/brocade/bna/bna_tx_rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/brocade/bna/bna_tx_rx.c b/drivers/net/ethernet/brocade/bna/bna_tx_rx.c index bb5467bd3090..4df6d4b50b45 100644 --- a/drivers/net/ethernet/brocade/bna/bna_tx_rx.c +++ b/drivers/net/ethernet/brocade/bna/bna_tx_rx.c | |||
@@ -3569,7 +3569,7 @@ bna_tx_create(struct bna *bna, struct bnad *bnad, | |||
3569 | if (intr_info->intr_type == BNA_INTR_T_INTX) | 3569 | if (intr_info->intr_type == BNA_INTR_T_INTX) |
3570 | txq->ib.intr_vector = (1 << txq->ib.intr_vector); | 3570 | txq->ib.intr_vector = (1 << txq->ib.intr_vector); |
3571 | txq->ib.coalescing_timeo = tx_cfg->coalescing_timeo; | 3571 | txq->ib.coalescing_timeo = tx_cfg->coalescing_timeo; |
3572 | txq->ib.interpkt_timeo = 0; /* Not used */ | 3572 | txq->ib.interpkt_timeo = BFI_TX_INTERPKT_TIMEO; |
3573 | txq->ib.interpkt_count = BFI_TX_INTERPKT_COUNT; | 3573 | txq->ib.interpkt_count = BFI_TX_INTERPKT_COUNT; |
3574 | 3574 | ||
3575 | /* TCB */ | 3575 | /* TCB */ |