From owner-freebsd-net@freebsd.org Tue Jan 24 10:46:54 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 62FCECBF235 for ; Tue, 24 Jan 2017 10:46:54 +0000 (UTC) (envelope-from sunxiaoye07@gmail.com) Received: from mail-it0-f53.google.com (mail-it0-f53.google.com [209.85.214.53]) (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 3C0CE11BB for ; Tue, 24 Jan 2017 10:46:53 +0000 (UTC) (envelope-from sunxiaoye07@gmail.com) Received: by mail-it0-f53.google.com with SMTP id c7so82854109itd.1 for ; Tue, 24 Jan 2017 02:46:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fh8wPts6vK/BT6KQgVfhBt0GC2OXG8AlirCBbG2O7C0=; b=R6bSPGNcg3A883ZbIMRBBRjg/5NPGFK/b7EtZNPpAITUbFj4pe3CqI60HKrcJqBM+P lE5rh+D+85X7Rq3pBG+2pKp+IMp/dNlHbajhRV1MaTMcQEBpNSJdTBOIl7yXCkMrb+B7 fqfk0t2LbJa+KnlWh+vYNNKjerIwea3Q+6imd+u+X0EAzXyB4epGNDX4B6HyNNliTwi7 uWZarvLWzWQO9VXs3s+PVOwXm5j1VcLjkRAzBoVWBXHmB2Ig9VevzjcykO2zmiwPD3fv IgkVPqZoGiVH1EvCydYfXrTEIcX95Hw2W+i9Ff7A6CfPCYe0slqEVFGAfQDRLebYgb3I fsew== X-Gm-Message-State: AIkVDXL81HwtatpuZYvl9SmUgO1RuQhcPOkU7TIjHL6HJy6OTbjOJAziarnBzmYzmvPB8YKDQp6dJ0NpqzL18A== X-Received: by 10.36.254.66 with SMTP id w63mr18730668ith.28.1485241216638; Mon, 23 Jan 2017 23:00:16 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Xiaoye Sun Date: Tue, 24 Jan 2017 07:00:06 +0000 Message-ID: Subject: Re: High priority for the tx queue in netmap To: Sepherosa Ziehau Cc: 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 10:46:54 -0000 I'm using the typical intel 10 Gbps nic. Does ethtool have related configuration command? On Tue, Jan 24, 2017 at 12:57 AM Sepherosa Ziehau wrote: > On Tue, Jan 24, 2017 at 4:09 AM, Xiaoye Sun wrote: > > > Hi, > > > > > > In my application, there are multiple tx queues in the OS, and the netmap > > > program uses one tx queue. I wondering if I can give the netmap tx queue > > > higher priority so that the NIC always sends the packets from this queue > if > > > netmap put any packet to it. > > > > You need to check your NIC chip vendor for this. > > > > Thanks, > > sephe > > > >