]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r271645 - Set DROP_EN on each RX queue if transmit flow-control is disabled.
authoradrian <adrian@FreeBSD.org>
Sat, 11 Oct 2014 22:12:24 +0000 (22:12 +0000)
committeradrian <adrian@FreeBSD.org>
Sat, 11 Oct 2014 22:12:24 +0000 (22:12 +0000)
commit5995ee9a987472a09da2186b9ef8efe23d83907d
treeb98958f6b121cedbaa6dea108bd4fae90245afda
parentd090f32bd0e9bd880feb7298f5513d9a884d24c6
MFC r271645 - 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