Permalink
Browse files

reset ift_gen on stop

  • Loading branch information...
Matt Macy
Matt Macy committed Nov 17, 2016
1 parent ee83eb8 commit bcebdde733b4104f437bc935647645901b909aab
Showing with 1 addition and 1 deletion.
  1. +1 −1 sys/net/iflib.c
View
@@ -1963,7 +1963,7 @@ iflib_stop(if_ctx_t ctx)
iflib_txsd_free(ctx, txq, j);
}
txq->ift_processed = txq->ift_cleaned = txq->ift_cidx_processed = 0;
txq->ift_in_use = txq->ift_cidx = txq->ift_pidx = txq->ift_no_desc_avail = 0;
txq->ift_in_use = txq->ift_gen = txq->ift_cidx = txq->ift_pidx = txq->ift_no_desc_avail = 0;
txq->ift_closed = txq->ift_mbuf_defrag = txq->ift_mbuf_defrag_failed = 0;
txq->ift_no_tx_dma_setup = txq->ift_txd_encap_efbig = txq->ift_map_failed = 0;
txq->ift_pullups = 0;

0 comments on commit bcebdde

Please sign in to comment.