From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f46.google.com (mail-vk0-f46.google.com [209.85.213.46]) by dpdk.org (Postfix) with ESMTP id B4DD0902 for ; Tue, 2 Feb 2016 22:09:11 +0100 (CET) Received: by mail-vk0-f46.google.com with SMTP id e64so746395vkg.0 for ; Tue, 02 Feb 2016 13:09:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=VFjMCebrBUOMpLlFeYFvm8/oBrdXPwwvFqMn/WS+8Ac=; b=h77wFkOtbnUe/iVpVLuK4Kqol/gsmxF6g9jLzqrR4jUDxnvUxMMl6YnuAR2LlemgmM sEzoY4WLV8OYnRs+EwMxRdM0zgME0Bnf70d4MI/iF94xESsNPZ1czv+plkqr1xPzxaxb EiKeDzdYRx4ELCuQ/SrLye2/6W+rJTFeudn8OFL5QrlIL0SxV8IBU+UNPKg6J/qgq3pS hRsuHgh3w5qgcsgUNFngHWDpCl+hBViEUz3hBIg2pI220dd+2Q48jC+l+ZmO5FtTOsyt 3Cz3jd6pC0q61U6fdfzuc63HQjVU26i7akrL1vmb/h/7YaddpBlBARYQ7+tecTg201Gj +v0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=VFjMCebrBUOMpLlFeYFvm8/oBrdXPwwvFqMn/WS+8Ac=; b=Mp0vC4YPVZq4zSHKKo7yzEIu3O/pjvv1OOKHwxcub0SBWEoN3FgEV92yaIn9PwcWxl TTAcNnPhxkqltZQkFkCYldYVf4yrTdCW/CxI4WFFvps8lI67KSHV+yGU4yemOyAMjbZ0 keJaG4optBfM5mq4Tx8MMLIn4ISr34GMp0d42v4B17fH3aJPoNp5eFb8qh9t1ml4IzsK zraoFfQk5CepeC6u+uHwHCiTy+9CgFUA+aXdBftRgk9DpqwtdRbApm6jiCd4xhtLyLee J3QyCKoLp0rw8MDGR79YJ9ZDl4dGdf5IJ5+Y4AH+WtTDxdzeXyBFqmnglfHmzXTnUlQ9 Xwsg== X-Gm-Message-State: AG10YOQRJ6kjqED7Sd2k32Zo7SVj/HvkMs8P15Euoy9Y8tyaYrEIS7hnRokl8l1o2Er5bB2g1Kz2vXYTm2VPTg== MIME-Version: 1.0 X-Received: by 10.31.1.6 with SMTP id 6mr14941264vkb.139.1454447351004; Tue, 02 Feb 2016 13:09:11 -0800 (PST) Received: by 10.103.70.215 with HTTP; Tue, 2 Feb 2016 13:09:10 -0800 (PST) Date: Tue, 2 Feb 2016 13:09:10 -0800 Message-ID: From: sreenaath vasudevan To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] DPDK-QoS - link sharing across classes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 21:09:11 -0000 Hi I currently have QoS implemented in hardware and I am thinking of using DPDK's QoS feature to move it to software. Currently in the hardware,Based on the 4 class per pipe and 4 queues per class limitation, I was thinking of using 4 classes in DPDK-QoS and spread out the 8 h/w queues across the 4 classes. Let me explain with an example. Currently, this is how the h/w queue is represented Q0 - 10% b/w Q1- 10% b/w Q2- 15% b/w Q3 - 15% b/w Q4 - 15% b/w Q5 - 15% b/w Q6 - 10% b/w Q7 - 10% b/w Translating the above config to DPDK-QoS, based on my application need, Q0 and Q1 can be logically grouped under class0 with upper b/w = 20%; Q2, Q3, Q4, Q5 can be logically grouped under class2 with upper b/w = 60%; Q6 and Q7 can be logically grouped under class 3 with super b/w = 20%. However, in the h/w, link sharing is available across all the 8 queues. DPDK materials say link sharing "typically" is enabled for last class, in this case class2. However, I also want class 1 or class 0 to use the remaining bandwidth when class2 does not have any traffic and so on. Can this be done in DPDK ? Do we have a concept of min and max b/w guarantee at the class level in DPDK-QoS ? Thanks ! -- regards sreenaath