]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge similar fixes from 223198 from igb to ixgbe:
authorjhb <jhb@FreeBSD.org>
Wed, 26 Sep 2012 18:11:43 +0000 (18:11 +0000)
committerjhb <jhb@FreeBSD.org>
Wed, 26 Sep 2012 18:11:43 +0000 (18:11 +0000)
commit085c4798a8326c7cdf744bd626bec7ccc28b8588
treeaa7b1bca87c2e1fc7f133dcb22223b170d48508f
parentbb8696a82ce80cc52516313a1c9221c8a31b3425
Merge similar fixes from 223198 from igb to ixgbe:
- Use a dedicated task to handle deferred transmits from the if_transmit
  method instead of reusing the existing per-queue interrupt task.
  Reusing the per-queue interrupt task could result in both an interrupt
  thread and the taskqueue thread trying to handle received packets on a
  single queue resulting in out-of-order packet processing and lock
  contention.
- Don't define ixgbe_start() at all where if_transmit is used.

Tested by: Vijay Singh
Reviewed by: jfv
MFC after: 2 weeks
sys/dev/e1000/if_igb.h
sys/dev/ixgbe/ixgbe.c
sys/dev/ixgbe/ixgbe.h