From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by dpdk.org (Postfix) with ESMTP id 21B0530D for ; Tue, 27 May 2014 15:32:51 +0200 (CEST) Received: by mail-lb0-f182.google.com with SMTP id z11so5025371lbi.13 for ; Tue, 27 May 2014 06:33:02 -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=RkZ7WBjvvV6vytdilXecleEPgJ9GLHAmN75rJg89j3M=; b=k1AZrdZr224HXwio9ow8oBUmoUuUxWkJSgKm3GebgRYGYKtctedrNU918JiBOiCKmC iF0QBuuf3iIF26WrA1BUKA4Y48EPgmRGLfCC+TaDzRyB9gCQM+I6Sn59wevgAnS+7rSx 7UtWZNtW4dTzP/DN01DtdmyAXBzXuk7xpeN+kPSuOz39RKkmVDue3MjAjFvj45dnAi9p MM1aVsOsvfwPkKl0Zu4N5Ewxm+fq4BTCAjaIf5E6Ob+7tdkJTK4yGPZdeU2f6qCh0U6q lOxl/kxiPxOaLOykSMBDVvfY2zKSYHgJPCwpp5j+3O/roIGN7xn9hsfbR1N/2VllykOZ Bpkw== X-Gm-Message-State: ALoCoQlMTW9r08FfgdGvi8BD2m4F2T7Cm2oJ/BYVftjx5z+X+uq6Vg3eCYTzduG9jbE2q1bIY0LW MIME-Version: 1.0 X-Received: by 10.112.64.33 with SMTP id l1mr2261882lbs.79.1401197582471; Tue, 27 May 2014 06:33:02 -0700 (PDT) Received: by 10.152.36.169 with HTTP; Tue, 27 May 2014 06:33:02 -0700 (PDT) Date: Tue, 27 May 2014 10:33:02 -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] Please any one who can help me with librte_sched 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, 27 May 2014 13:32:52 -0000 Hello , this is my third mail , the previous mails have not been answered yet. I justo need someone explains to me how the librte_sched framework behaves in a specific situation. I have a managment application , this connects with a ring with the tx core, when a user applies some configuration of the bandwith mangement , the tx core read the message in the ring parse the configuration in a rte_port_params struct , subport_params and pipe_params, then creates a new rte_sched from scratch , and then changes the pointer of the current rte_sched_port currently doing scheduling and then the code execurte rte_sched_port_free() for the unreference (reference by temporal pointer) rte_sched_port . This is the only way i found for applying dinamic configuration or changes to the qos framework. So, with this, what happens with the packets attached to the old rte_sched_port while is deleted? are those lost packets inside the rte_sched_port generates memory leaks? how can i recover this packets _ just dequeing from the port scheduler? Where the port scheduler indicates empty packets in the queu state? Is there a better way to achieve this kind of behaviour? i just need to update the rte_sched_port configuration dinamically, and i want to change the current pipe configuration and sub port configuration also. Regards .