From owner-freebsd-net@freebsd.org Tue Jan 24 07:17:37 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 D9938CBF5AA for ; Tue, 24 Jan 2017 07:17:37 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: from mail-vk0-x234.google.com (mail-vk0-x234.google.com [IPv6:2607:f8b0:400c:c05::234]) (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 93FC06C0 for ; Tue, 24 Jan 2017 07:17:37 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: by mail-vk0-x234.google.com with SMTP id x75so106462851vke.2 for ; Mon, 23 Jan 2017 23:17:37 -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=bluPNxkojiTZUR2GjkSIQNDWVZiuB1P8EwpwzTBo4L0=; b=FvSIPnd+HylDzfKJJvNzLnZuwCzORNOjX0gKohI1mesmNAQdRRQzn7Mjt1TEEP2c5P ZenrNLxcoGD/ujskqekdhumPdPCzgEBkVtogu1zAcu8epznXkovHJoC5Ude58heLJyPr j53OuY56m/3juPOag5tkw8XO4EfNGInuRpZSSTeLB+HYfiVQrh3Q3mJUH05jDoDqU8ZH kpXEQjD04MuevkBvhtnUtxY6Q96uUMIOcW4AQYnS2XCIwGYKdsypIfJEV89NVhJWPPyq Tbx9iYMAkI5zRODJhI09tcWYwbNXu33dyymkPg8L6Tu5CzmQtE8Uour0S7pNEssADE0f 199w== 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=bluPNxkojiTZUR2GjkSIQNDWVZiuB1P8EwpwzTBo4L0=; b=CgyHdV9qy73lPzp4x/k/N9drbWBnH+PwJXTjGu2npeQ3SCWXeNHIYdJpOOpbIJXx/T o45hM0LGTV2sKIQ/ojw21XrbHSztNYBDV+/tPJMTS0rc/yYPQmq9atP9utj+UEmkOsaT WOZKD2q5wrhg4MdOFEUOkW/LQwwM96iyNKd5J1gE3FvpjmngW8OPk62kx9qQbiYoJz8p 8qHRqEADP5yPkC8OxjDhFgCffAF684mCRFDpwXRE8zks0FfwU5wVSWc8V4B+GIO+dqWB ZfhZsj9zP/q6PqE5a0/DXGRB6Gh5+FWEaoy/ud0vL3dL2FUYuZuva6uv0PLxIE+iw6O3 FQ7A== X-Gm-Message-State: AIkVDXJZ+kPyXhpcvI6LOWmiR1Jo7AiVqz/ZCyulg9JKZoBeeL659h2iUZFXScrbaGb2v3rxavZOYxz5Bvs4Zw== X-Received: by 10.31.14.142 with SMTP id 136mr15590846vko.56.1485242255709; Mon, 23 Jan 2017 23:17:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.2.10 with HTTP; Mon, 23 Jan 2017 23:17:35 -0800 (PST) In-Reply-To: References: From: Sepherosa Ziehau Date: Tue, 24 Jan 2017 15:17:35 +0800 Message-ID: Subject: Re: High priority for the tx queue in netmap To: Xiaoye Sun Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 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 07:17:37 -0000 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