Skip to content

Commit

Permalink
Move the KTR for the update of ddp_active_id on each completion under
Browse files Browse the repository at this point in the history
VERBOSE_TRACES.

Sponsored by:	Chelsio Communications
  • Loading branch information
bsdjhb committed May 20, 2016
1 parent 8b9acc6 commit 5a01e6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/dev/cxgbe/tom/t4_ddp.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,10 @@ complete_ddp_buffer(struct toepcb *toep, struct ddp_buffer *db,
toep->ddp_active_id = -1;
} else
toep->ddp_active_id ^= 1;
#ifdef VERBOSE_TRACES
CTR2(KTR_CXGBE, "%s: ddp_active_id = %d", __func__,
toep->ddp_active_id);
#endif
} else {
KASSERT(toep->ddp_active_count != 0 &&
toep->ddp_active_id != -1,
Expand Down

0 comments on commit 5a01e6e

Please sign in to comment.