From owner-freebsd-net@freebsd.org Tue Jan 24 08:23:17 2017 Return-Path: Delivered-To: freebsd-net@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 9E0CFCBFEFB for ; Tue, 24 Jan 2017 08:23:17 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x236.google.com (mail-oi0-x236.google.com [IPv6:2607:f8b0:4003:c06::236]) (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 61B82E5F for ; Tue, 24 Jan 2017 08:23:17 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x236.google.com with SMTP id w204so94972003oiw.0 for ; Tue, 24 Jan 2017 00:23:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=cdrdmn7rZ5cMvBLSlkPgcACb9HkBxwLROC6KqpgobO0=; b=vYYO/zW4VkNWzrcoNaGLZYJkJlU6L0jbG2ueujmzYQpDUAHZY1Krs6UK3FROktgvFD QSzQTRFiL/jbYdJ99ngkc3GtkhAOsg6FfZcaD5ONL/a7Yu4btj8XmYvynObGVtY0iDVn /KMCGsQWKAiL974lJnzUeKpD93Q1aUmTJabocW+SxAYLevvCeslO2d5IsYNes29TZu2h 8Y4NibB5IbIfuSp/gdA4FlY1AWdQlWzdoTshpCa12TGo1RzH7BKfr9CnAh0tDnIKXSgL lTgd2ApjFoDVxYne1U+4jYguUEpv8ONFKAHM4pZi/nxAXgb/3VlFKUo4bjSl9tDITNbn Aguw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cdrdmn7rZ5cMvBLSlkPgcACb9HkBxwLROC6KqpgobO0=; b=qo7JRg2yE22O8fy9ZCiqlevDQDm1Ssn6ZxK1nDbRkL9yHsPdjWDw/W785fnxaDy8Vv bS8Lhz4dVjZRaWTtPTGhwCdDya7+t9vnWDxCKJfiuqrTdtaYS/lC4nCsp+FwV0BQ9kNh nmprRXEhjabYHwMxAXmCGpOHaY9R9Kp7tzS2l9Z7VCMsZFMKWu3M/jy2/xq9BG/VeXX7 Csbeg/QQhdi7UxxWg8JclwSMh/0yJT/oVcbqCsnLc/FeilpKJnObO3Vbb0WJvGg6KBDL U/KAktsBUE5SblIbPJ8Aamd3L140d2AF9VzcrT9zBhR59RwLYOfvux6qB2WrA/4x1R9w kgmg== X-Gm-Message-State: AIkVDXJFWHXjoVpDISCFtu+nkDsXvS7qcmpkTyuupJzKK+14xPTOXyLyJEey0ROmZDY/QZtXJJC5iQz5S9XQIw== X-Received: by 10.202.95.5 with SMTP id t5mr14984338oib.103.1485246196819; Tue, 24 Jan 2017 00:23:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.6.166 with HTTP; Tue, 24 Jan 2017 00:23:16 -0800 (PST) In-Reply-To: References: From: Vincenzo Maffione Date: Tue, 24 Jan 2017 09:23:16 +0100 Message-ID: Subject: Re: High priority for the tx queue in netmap To: Sepherosa Ziehau Cc: Xiaoye Sun , FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2017 08:23:17 -0000 Hi, I think with ethtool on Linux you can play at least with the weight to give to each TX queue for the round-robin algorithm. Of course not all the cards implement this. I think Intel 10Gbit cards support it. Cheers, VIncenzo 2017-01-24 8:17 GMT+01:00 Sepherosa Ziehau : > On Tue, Jan 24, 2017 at 3:00 PM, Xiaoye Sun wrote: > > I'm using the typical intel 10 Gbps nic. > > Does ethtool have related configuration command? > > You can check Intel's spec on their website for the chip you use. > They have very good documentation. IIRC, the default behavior is to > round-robin TX queue on packet boundary (after TSO segementation). > > Don't know about Linux driver's state, but you have the detailed > document, you can always change the code as you like for your own > stuffs. > > Thanks, > sephe > > -- > Tomorrow Will Never Die > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- Vincenzo Maffione