Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2013 12:42:58 -0000
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "Teske, Devin" <Devin.Teske@fisglobal.com>, "Daniel Braniss" <danny@cs.huji.ac.il>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ix? / Intel(R) PRO/10GbE
Message-ID:  <24F4479BCA224E028317665EE052273F@multiplay.co.uk>
References:  <E1U5Hg8-0007wo-5r@kabab.cs.huji.ac.il> <13CA24D6AB415D428143D44749F57D7201EA7586@ltcfiswmsgmb21>, <E1U5WmA-000Or3-TL@kabab.cs.huji.ac.il> <13CA24D6AB415D428143D44749F57D7201EA7B3E@ltcfiswmsgmb21>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message ----- 
From: "Teske, Devin"

> On Tue, 12 Feb 2013, Daniel Braniss wrote:
>
>> > On Tue, 12 Feb 2013, Daniel Braniss wrote:
>> >
>> > > I finally got a 10G card that is recognized by FreeBSD (9.1-stable):
>> > > ...
>> > > ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 2.4.8> port
>> > > 0xecc0-0xecdf mem 0xd9e80000-0xd9efffff,0xd9ff8000-0xd9ffbfff irq 40 at d=evice
>> > > 0.0 on pci4
>> > > ix0: Using MSIX interrupts with 9 vectors
>> > > ix0: RX Descriptors exceed system mbuf max, using default instead!
>> >
>> > From reading sys/dev/ixgbe/README:
>> >
>> > echo "kern.ipc.nmbclusters=262144" >> /etc/sysctl.conf
>> > echo "kern.ipc.nmbjumbop=262144" >> /etc/sysctl.conf
>> > reboot
>>
>> but this only works if the driver is loaded after
>> the sysctl is executed!
>> it's better to put it in /boot/loader.conf
>
> Not necessarily, it depends when the driver grabs the mbufs. In the case of the igb/ixgb/ixgbe drivers, this happens when the 
> interface is brought up (not when the driver is loaded, nor when the driver probes/attaches a PHY). In other words, you don't 
> have to worry about mbuf exhaustion until you say "ifconfig ix0 up" (in the case of ixgbe, bringing up even a single interface 
> is enough through the default mbufs and require more).
>
> Since sysctl.conf is processed before the network is brought up, putting the parameters in sysctl.conf will be perfectly 
> suitable for most needs (unless for some strange reason you need to "up" an interface before sysctl.conf is processed).

That wasn't the case for ix for 8.3, not sure if its changed recently but
without setting it in loader.conf the interface would error.

    Regards
    Steve 


================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster@multiplay.co.uk.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24F4479BCA224E028317665EE052273F>