Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 09:00:44 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Elof Ofel <elofu17@hotmail.com>, "Alexander V. Chernikov" <melifaro@freebsd.org>
Subject:   Re: How do I balance bandwidth over several virtual NICs?
Message-ID:  <CAJ-VmokS=A3TFb4K_dyvXBYuFoa94cBMXezVJ7MkttPe9mK-1w@mail.gmail.com>
In-Reply-To: <20140923154610.GD84074@onelab2.iet.unipi.it>
References:  <DUB125-W13FDC584F5DF9881CF5FDEBCB30@phx.gbl> <CA%2BP_MZGA_uz_H_QsB%2BdgXEgbXNCjv7w-OToKby=ww%2BvKgnU4_Q@mail.gmail.com> <DUB125-W851F972702452D9809C8E5BCB30@phx.gbl> <CAJ-Vmo=NGGkOkPWQKZ=3gA3vYYyM2kcjd3m85ymdJY3q4ixxLw@mail.gmail.com> <5421310C.5010406@FreeBSD.org> <CAJ-VmomamPVwja2Tgfi46EBu8E5Hohr6FcshsOkDeycEvGV51Q@mail.gmail.com> <CA%2BhQ2%2BhU6XwaeyqdcseL9uusmKfyG4Ko7TwvsZwU=r1cUyCw1w@mail.gmail.com> <54218EF4.6090102@FreeBSD.org> <20140923154610.GD84074@onelab2.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokS=A3TFb4K_dyvXBYuFoa94cBMXezVJ7MkttPe9mK-1w>