From owner-freebsd-net@freebsd.org Mon Jan 23 20:09:02 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 8ED64CBE9C7 for ; Mon, 23 Jan 2017 20:09:02 +0000 (UTC) (envelope-from sunxiaoye07@gmail.com) Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001: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 596D2BCE for ; Mon, 23 Jan 2017 20:09:02 +0000 (UTC) (envelope-from sunxiaoye07@gmail.com) Received: by mail-io0-x236.google.com with SMTP id v96so55899880ioi.0 for ; Mon, 23 Jan 2017 12:09:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=6w0xhGBnA1heVstYZ/gM+M2GFzWyywAOUBBUithVI+Q=; b=MTIlNkWAfRYDx92Z8HhqwFe5uSHRiCLiUxfwMJsPQ7gEHR4e2zjRHzOEXdA/kKU+gv Mo2fZgmpQcRA+PYaKrkxCqN5EDr5J25/bLAPKeY9DtQTrjXjDFZeNaIN4ixRY5/l2fsq ZP36UL2IzjsAVxfc7xeFo3yzwBVbszytel0RULAqxFNEAUT+oE4vru3b418zQ8kJGIU5 c7wTiqR5SzeSSzMVhVST7LnzuFo5FJrVlswIz+/CZASinXnb72sRQmLWNUSEERP9M902 7Msul+vZX+uat2SM2zk7tODmuMD1IW2rHAoUuqABlU/DdSHzKzuft923zbGaQ0kSQkbQ jIJg== 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:from:date:message-id:subject :to; bh=6w0xhGBnA1heVstYZ/gM+M2GFzWyywAOUBBUithVI+Q=; b=SHBmw/8n0iQ9RiXTw4YwnKeeobIch55jb60Ifp/Zr3JM9C/nvPdU3TEbs3kSkE98LW 3g2COowjLLAtmaHbYCAavfefd0jSF5Ig8aPgZXvkbR4/UbURe/j60QqET/TjxvKoOGfl lZjPp4Vcj+wP1nw0Ej+RM8xFuB+l6o21sTgi5FdFpeVuTRWGNxG5zD2JfDRmWisEDRsP aH/mKvt6/yklZR57OeMGL4vPmip87d3lGQ3zZMbRUIkRh6sAmIGJukqLj4MaAURo9ZA/ qlT5xde47iic46H5LJDYSWHZxpEHsXjF2syx+YNlyjICp322318vLvdoH3xZN+u4tsnI 0n3A== X-Gm-Message-State: AIkVDXKOyePu3dKXnsqLMsvKkyn/ERhdo177wEceZh4j1y5ZDhO+x+9JGNMvVSwe+gdtTmBizV9wBkpm/cKt3A== X-Received: by 10.107.136.195 with SMTP id s64mr23346752ioi.51.1485202141619; Mon, 23 Jan 2017 12:09:01 -0800 (PST) MIME-Version: 1.0 Sender: sunxiaoye07@gmail.com Received: by 10.64.213.98 with HTTP; Mon, 23 Jan 2017 12:09:01 -0800 (PST) From: Xiaoye Sun Date: Mon, 23 Jan 2017 14:09:01 -0600 X-Google-Sender-Auth: BL0H9Kgq8fR8BMCCole6xxP5Siw Message-ID: Subject: High priority for the tx queue in netmap To: 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: Mon, 23 Jan 2017 20:09:02 -0000 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. I am using Linux 3.16. Thanks! Best, Xiaoye