Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 2010 09:11:28 -0700
From:      Navdeep Parhar <nparhar@gmail.com>
To:        Bill Desjardins <bill@ethernext.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: [cxgb] Chelsio T304 quad gig pcie adapter TSO disabled
Message-ID:  <20101011161128.GA6026@itx>
In-Reply-To: <AANLkTikxaf9Sv=NtJ8YDQ-c82vP67YR-pNBVN%2BfFtrpF@mail.gmail.com>
References:  <AANLkTikxaf9Sv=NtJ8YDQ-c82vP67YR-pNBVN%2BfFtrpF@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 11, 2010 at 12:56:55AM -0400, Bill Desjardins wrote:
> Hi All,
> 
> I have a couple Chelsio T304 quad gigabit nics that are going into
> iscsi servers. I got these for the TOE capabilities, but I found in
> the cxgb driver code that it is explicitly disabled for > 2 port nics
> (line 1036 : /usr/src/sys/dev/cxgb/cxgb_main.c) . The current cxgb
> driver is based on the chelsio 7.8.0 firmware (11/25/09), but chelsio
> is up to 7.11.0 (07/20/10). I had updated the firmware using cxgbtool
> to 7.11, but received complaints from the driver to 'upgrade' to
> 7.8.0, which I did.
> 
> my question is, is if the cxgb driver is being worked on to update to
> latest chelsio firmware and/or fix TSO for the quad port cards? I
> don't have the programming skill's to assist with that side of things,
> but I can easily provide a remote spare machine with a serial console
> for development and testing if its helpful.

Hello Bill,

TSO is not supported on the T304 (not even with the 7.11.0 firmware).
This is a 4 x gigabit card and you'll be able to max it out in either
direction without TSO.


> cxgbc0: Insufficient clusters and/or jumbo buffers.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^????

^^ this indicates you need to bump up the number of clusters and
jumbos.  Do so in /boot/loader.conf if you load if_cxgb early, or in
/etc/sysctl.conf if you load it after the system has booted up:

/boot/loader.conf:
kern.ipc.nmbclusters=262144

/etc/sysctl.conf:
kern.ipc.nmbclusters=262144
kern.ipc.nmbjumbo9=262144
kern.ipc.nmbjumbo16=262144

Regards,
Navdeep



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