From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by dpdk.org (Postfix) with ESMTP id C70EF231C for ; Tue, 20 May 2014 20:58:02 +0200 (CEST) Received: by mail-lb0-f177.google.com with SMTP id s7so745091lbd.36 for ; Tue, 20 May 2014 11:58:11 -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:date:message-id:subject:from:to :content-type; bh=AqqEtLceq6+ukaPXAWd8nJClJtAj3a6DQy0KrcF7cJ8=; b=GfJnOHUyfzpQxTpEAjYZYF3qN/oU+02b1lxhEcOKkzwY9ICWxRQkvkkKv1AAJ9QX9Y GP30HfPSYCBv/XphTr6lwdR3Z0DwVxMce+s5+mKtwocx+DEYmyikB+vZmiXUHB5TmRV1 VcrL6LkWmpbNTCIzsfy5dqOFL3FLWMXiw/NjXKZnuIFMcTNdZIy+izUf0NAJmWRx4u1b 2x3I1U8jqYPSRg4XrmWcv/yhA04BR9VLdkOyRhA5DWSXL+zEfbNG1ylMCX0705tjJLQH ps2cfW/njWzXMi0RVXtOwjQc+XYTEycvRWsuAzNin1zqukoX0mm99kLbU1kjDdaUwmfh Db1g== X-Gm-Message-State: ALoCoQkLlOcTl2I1kIGY6yw13SlJFM2XcdRCHZL+qeoSWQa9PkUCUmsCfLDVELzlv1EiW5IVeu8V MIME-Version: 1.0 X-Received: by 10.152.29.168 with SMTP id l8mr33846434lah.35.1400612291524; Tue, 20 May 2014 11:58:11 -0700 (PDT) Received: by 10.114.80.202 with HTTP; Tue, 20 May 2014 11:58:11 -0700 (PDT) Date: Tue, 20 May 2014 15:58:11 -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: [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: Tue, 20 May 2014 18:58:03 -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