Enabling MSI-X on -CURRENT for New Network Driver

Sepherosa Ziehau sepherosa at gmail.com
Thu Jul 17 03:47:07 UTC 2008


On Thu, Jul 17, 2008 at 11:15 AM, Bruce Evans <brde at optusnet.com.au> wrote:
> On Wed, 16 Jul 2008, David Christensen wrote:
>
>> I'm working on adding MSI-X support for a new network driver
>> and having some difficulty in actually getting an interrupt.
>> Does this look right?
>
> I don't know, but on FreeBSD cluster machines running RELENG_8 bce
> generates too many interrupts -- approx. 46000/second to deliver

On dfly, I set the bce_rx_quick_cons_trip to 24 and bce_rx_ticks to
125, else live lock (>40000/sec) is promised when sinking packets
@800kpps.  I think bce uses the same coal logic as bge, so
bce_rx_quick_cons_trip probably could be set to a larger value like
128; didn't have time to test 128 yet.

Best Regards,
sephe

-- 
Live Free or Die


More information about the freebsd-net mailing list