From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) by dpdk.org (Postfix) with ESMTP id 302F568B0 for ; Thu, 22 May 2014 00:55:07 +0200 (CEST) Received: by mail-la0-f52.google.com with SMTP id gl10so2081221lab.39 for ; Wed, 21 May 2014 15:55:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=bCjDsGppOdeJO7nCYRf03VvlHQIZLDiatsxiFCAHYpI=; b=bqdcKzY0q3lbLruTpyzWAH6FW031K/dZuHGAxekJU4fL/cCfAaePuuomjEBvto9zBJ nhK7MFLsqFL3d7PJSzoZEiBiWd/v6LM7QMkpCruH5sd8wcDnyIE0FePjevmwhw47UNpm ksrIJqZd+EpPe9sgF49f24DSJ9GjVTqoKXauo4rwhrfsBmD4qy+adbdKyVhYgBArg3nS 7+MVWFsEU9iddqmocdRmY21102nM13mO8qsXF4yOtrcMtMiKEZm8TVUYLViwBsVJ1Ty1 UaZc2NZAEs8Rj43FEsIFOg9p8OHefyI3SJhPN2wSySSAYBGTI4EPE0iUg/ROOU2pK9fE E+1Q== X-Gm-Message-State: ALoCoQkC2s8I0F/XP7JjgHT3KyjLR5+d4RvrtlanL5Fu2h5NijCikyTIsBpLizSZ0UYHiqKT91tu MIME-Version: 1.0 X-Received: by 10.112.135.106 with SMTP id pr10mr37793544lbb.24.1400712916068; Wed, 21 May 2014 15:55:16 -0700 (PDT) Received: by 10.114.80.202 with HTTP; Wed, 21 May 2014 15:55:16 -0700 (PDT) In-Reply-To: References: Date: Wed, 21 May 2014 19:55:16 -0300 Message-ID: From: Ariel Rodriguez To: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Qos scheduler question. 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: Wed, 21 May 2014 22:55:07 -0000 Hi , we re implementing bandwith controller per user with the dpdk qos scheduler framework. I want to know if the framework support dynamic changes in the rte_sched_port structure. For example, we want to give the possibility to change the configuration of the different bucket rates int the port. We have a managment tool thats allow to change the configuration of the subport , ports, and pipe. We group a set of subscribers in a pipe. When the subscriber login in the system, the data of the login specify the subport and pipe where the subscriber will be bounded. What we want is give the customer the ability to change that login information based on their bussiness logic. So , Can we change the rte_sched_port configuration when a user apllies new configuration to the system? . I found a solution where we just create a parallel structure from scratch , and then notifies to the logical core assigned to the bandwith managment via rte_ring, when the notification is process , that core just change the reference of the rte_sched_port and frees the old one. i imagine if the old structure has packets on his queues , this packets are lost, and probably leaked. if there a way to achieve this, or the framework just support a static configuration On Tue, May 20, 2014 at 3:58 PM, Ariel Rodriguez wrote: > Hi , we re implementing bandwith controller per user with the dpdk qos > scheduler framework. > > I want to know if the framework support dynamic changes in the > rte_sched_port structure. > For example, we want to give the possibility to change the configuration > of the different bucket rates int the port. We have a managment tool thats > allow to change the configuration of the subport , ports, and pipe. We > group a set of subscribers in a pipe. When the subscriber login in the > system, the data of the login specify the subport and pipe where the > subscriber will be bounded. What we want is give the customer the ability > to change that login information based on their bussiness logic. > So , Can we change the rte_sched_port configuration when a user apllies > new configuration to the system? . I found a solution where we just create > a parallel structure from scratch , and then notifies to the logical core > assigned to the bandwith managment via rte_ring, when the notification > is process , that core just change the reference of the rte_sched_port and > frees the old one. i imagine if the old structure has packets on his queues > , this packets are lost, and probably leaked. if there a way to achieve > this, or the framework just support a static configuration >