From owner-freebsd-net@FreeBSD.ORG Mon Mar 17 20:38:33 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF02C911 for ; Mon, 17 Mar 2014 20:38:32 +0000 (UTC) Received: from mail-ve0-x229.google.com (mail-ve0-x229.google.com [IPv6:2607:f8b0:400c:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9A4BE7A9 for ; Mon, 17 Mar 2014 20:38:32 +0000 (UTC) Received: by mail-ve0-f169.google.com with SMTP id pa12so6124412veb.14 for ; Mon, 17 Mar 2014 13:38:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lrGKmUNELlUnqN8q1KZLQ3xB30T+oOFHj/IgRadI7jU=; b=xUBmhVmqDS8x31cnRAMYOlyV/PNJDUIkt7XJJdYDWpeO1a0R1pvVgPiRHKeXDMsOyk tI62bmGKSeXJ/lgHM5koY5f7+RmaywA96LVY+h/yzNRTRQIm35ZNrE6kKrN76/aN0LPD BpckXXt9cpL2jDVhqlG/y8GxffA5Wf+Jql2qylwWUVMSllY3VvXKGG2FKN7FdGKPNTHj eJbC6voJlKPJwEpN+MYlLdCYx+e0477i1uu/+hGTmknplPXLI+ASQ2ZfuqGw0aTV+7NM QZuHSZvbgw80tECyMzz2IW4QP764dvTzlh9dz6Ko946842OzvmC/mSpD5Bo5OnlXfele mEQA== MIME-Version: 1.0 X-Received: by 10.58.238.35 with SMTP id vh3mr20941138vec.16.1395088711704; Mon, 17 Mar 2014 13:38:31 -0700 (PDT) Received: by 10.221.11.135 with HTTP; Mon, 17 Mar 2014 13:38:31 -0700 (PDT) In-Reply-To: References: Date: Mon, 17 Mar 2014 13:38:31 -0700 Message-ID: Subject: Re: Intel 10 gig cards mtu 9000 From: Jack Vogel To: Wayne Hotmail Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Mar 2014 20:38:33 -0000 There's only one reason RX structures fail, and that's insufficient mbuf pool. You will find the driver probably uses the 9K mbuf pool in that driver, so look at how many queues it wants to set up, how big your ring is, and do the math. Jack On Mon, Mar 17, 2014 at 6:34 AM, Wayne Hotmail wrote: > I am unable to add 2 Intel 10 gig nics to my Freebsd 9.1 at 9000 MTU. I > tried to add them last night and was only able to set only a max of 4000 > MTU. I get an error telling me kernel: ix1: Could not setup receive > structures and the interface will not pass traffic. > > I found these changes on the Intel readme but this did solve my issue. > kern.ipc.nmbclusters=262144 > kern.ipc.nmbjumbop=262144 > > There seems to be some calculation that needs to be done with multiple > CPUs. I am running 12 cpus what tweak do I need to make so I can run my > MTUs at 9000 on my 1 NIC with no vlans and 1 NIC with 3 vlans on it. > > Wayne > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >