Set DROP_EN on each RX queue if transmit flow-control is disabled.
authoradrian <adrian@FreeBSD.org>
Mon, 15 Sep 2014 19:53:49 +0000 (19:53 +0000)
committeradrian <adrian@FreeBSD.org>
Mon, 15 Sep 2014 19:53:49 +0000 (19:53 +0000)
commit9075b01582b8e56072007abf528cba73f34ececa
tree8dc081247c0b118c912c314ee75ce91f1c9a3340
parent764d4fbb381bee09996d59488bdeeaa17af050ea
Set DROP_EN on each RX queue if transmit flow-control is disabled.

This allows the NIC to drop frames on the receive queue and not
cause the MAC to block on receiving to _any_ queue.

Tested:

igb0@pci0:5:0:0:        class=0x020000 card=0x152115d9 chip=0x15218086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'I350 Gigabit Network Connection'
    class      = network
    subclass   = ethernet

Discussed with: Eric Joyner <eric.joyner@intel.com>

MFC after: 1 week
Sponsored by: Norse Corp, Inc.
sys/dev/e1000/if_igb.c