How do I balance bandwidth over several virtual NICs?

Adrian Chadd adrian at freebsd.org
Tue Sep 23 16:00:46 UTC 2014


Ah, this behaviour.

It's called DROP_EN on the intel igb / ixgbe hardware. Grep the
drivers for that particular register bit/setting.

Set that bit for an RX queue and it'll instruct the MAC to drop frames
destined if that RX ring is full to it and keep receiving on the other
rings. Otherwise yes, receiving on that ring with the ring full cuases
the MAC to stop receiving on all rings until that ring has free space.

You flip this on with ixgbe and igb by disabling tx/rx flowcontrol
(sysctl dev.ix|igb.X.fc=0) before configuring the interface.



-a


More information about the freebsd-net mailing list