From owner-svn-src-all@freebsd.org Mon Feb 6 18:08:04 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30407CD3E5E; Mon, 6 Feb 2017 18:08:04 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-yb0-x243.google.com (mail-yb0-x243.google.com [IPv6:2607:f8b0:4002:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E3EF01669; Mon, 6 Feb 2017 18:08:03 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by mail-yb0-x243.google.com with SMTP id j82so3844458ybg.2; Mon, 06 Feb 2017 10:08:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=U+/BTIQY/LGghXYRDnuVxv/Sjuh9tBpGxqzp0QHDa9A=; b=RPBfGLjSkmqYREE7t7qTdn5bCc4UIszVwqnKciTTyQkTp4BDI/0HwSoK3TrJrxRcLg XVuret5DlmUB1gXOu+tCcqsbjuQKSMsaK9EPYLKm3OE/MFGxo4tAfOP9UlcxSfQdHBmd WTziXFVakx4tCyFOmn8xiM3qatR73gOpzw43JoIcDVb+7tC35GQ3tapVdk1LHbTHiAXe ZrrjEDnjrGfalTgHszbrL5an6OWtm2ysKl2Nc6UJ6UOL9CeDsTOSrxfby7FKeT4+OJJ+ BOyRD+SZ7/3ayW8WmKnTIw5HATEm6Hj1RQrgAf3HyyCEg0hicFmGVBzErn4aD2N2PwB+ /w8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=U+/BTIQY/LGghXYRDnuVxv/Sjuh9tBpGxqzp0QHDa9A=; b=ixCuY1S0i6wb1gHnn68PJO1DoD6Keo/73XgypqjDndG1zRJh1R9RDMyFvZGnwnhmQ1 lciOqnKxOWmf/ZZSkb/N/wi77ku2liD4jVzDQz8A1G6pysv1NwGkmWLVXBR/ud/cxTEf NpfYew1kcuh16kcO9aS5kW7EpXUli6TbvDTVHITIeyYrJ3ctdSyAQjMwzAboWOm3HuHj s6ldZrd9M7eI1Gk0D8GLT0R2E2xft27am8492ElnZHxBfKSnrAzG9ykF54fYYT6Ra8nh 2lPlSj1Aedv7NK6x3fivTaDDlXKY7Z+fiHWIgG+AhhVLcalI6nxEOSe7oL6edz8sMgjB pxwA== X-Gm-Message-State: AMke39kHpiAxxbBSXmMk38wxckQnVTkET5SB7R1NSnoO8qj8WI4lH0FW1j1xPWQeqm09eJI1+9vcCS1HXHES5A== X-Received: by 10.37.101.215 with SMTP id z206mr8033057ybb.5.1486404483115; Mon, 06 Feb 2017 10:08:03 -0800 (PST) MIME-Version: 1.0 Sender: nparhar@gmail.com Received: by 10.13.227.194 with HTTP; Mon, 6 Feb 2017 10:08:02 -0800 (PST) In-Reply-To: <20170206094739.GC5366@zxy.spb.ru> References: <201702060519.v165JU1e078891@repo.freebsd.org> <20170206094739.GC5366@zxy.spb.ru> From: Navdeep Parhar Date: Mon, 6 Feb 2017 10:08:02 -0800 X-Google-Sender-Auth: VSO15czrbICV_dz3flHCBGfbuc4 Message-ID: Subject: Re: svn commit: r313318 - in head: share/man/man4 sys/dev/cxgbe To: Slawa Olhovchenkov Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2017 18:08:04 -0000 On Mon, Feb 6, 2017 at 1:47 AM, Slawa Olhovchenkov wrote: > On Mon, Feb 06, 2017 at 05:19:30AM +0000, Navdeep Parhar wrote: > >> Author: np >> Date: Mon Feb 6 05:19:29 2017 >> New Revision: 313318 >> URL: https://svnweb.freebsd.org/changeset/base/313318 >> >> Log: >> cxgbe(4): Allow tunables that control the number of queues to be set to >> '-n' to tell the driver to create _up to_ 'n' queues if enough cores are >> available. For example, setting hw.cxgbe.nrxq10g="-32" will result in >> 16 queues if the system has 16 cores, 32 if it has 32. >> >> There is no change in the default number of queues of any type. > > Just for my info: how many queues supported by different hardware (T4/T5/T6)? Each of them supports 1K+ interrupt capable rx queues. But the practical limit comes from the number of MSI-X vectors for PCIe PF4 of the card. With 128 interrupts max (most common) you have enough to run a 4 port card with 16 queues each. A 2 port could have 32 queues each. All this assumes that you set number of queues to some power of 2. If not then you could go higher than these values. Regards, Navdeep