From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B8758A0546; Thu, 27 May 2021 07:10:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 32C9440150; Thu, 27 May 2021 07:10:37 +0200 (CEST) Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) by mails.dpdk.org (Postfix) with ESMTP id 2629C40143 for ; Thu, 27 May 2021 07:10:36 +0200 (CEST) Received: by mail-lj1-f173.google.com with SMTP id p20so4625288ljj.8 for ; Wed, 26 May 2021 22:10:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=9WTZH9smV2vVZpd7ffl/Q/qA4zH2QPoDQlG6xhQKdpU=; b=QqYo7j1S2Mc7IvXv6/13pkqcFDbCK0oQFlzeLHFOHtbfxkroe0HemLOvyzJ/k621TG waOXJSm0twrKJ4ykhKrlci8mlMxVWSLCAUV7/o1ZaGM+iBei/zK3I8QOE2aTL7ETpbVU TGYu9YI6gQXiSDXQbR0inKz736shEiBU8hV+KVO9wwevxLeh8TIOmqTJiPNyNHY/O9fL 1r25sizH8BTEVu5y+r67KxTEUSTWdtEI7ruNVx3kCv6kKKFHya0vCev/d2WAs8buHVgj UtguohuPan4JHx8VPIXKtJddYspXfY6kt8+De9WepupS7ClnW6vVFnN9u5oX8IWz3E15 hmXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=9WTZH9smV2vVZpd7ffl/Q/qA4zH2QPoDQlG6xhQKdpU=; b=AHDcNrsMc67gMdiNRQHVqXrMNo6w89cfG1wJm/bVQvB8TcRaq/YjuY0UbjJTDMol8+ WJ1oCeDoQWroHZsOr7YH+6h+AmQyk+vJu4oBchckKBVSYY8PhHQWc51HhRYQ7e8+aws9 5cuLStVQZJqV8fs3Kb1fok2C5PFm0qao9chp+p5AUrG1EBTthZlghH5sSe4Fwqz++Q5K Lnyfwm4Wq5jnILgXmaEuzjsr2XwJTYO3gxBT5BNcR2n5Cmot+KvLes7SerG+qj269/Gg vcabZGlL43qqsQSyp1m4oo+qS7GTlVdddUIRl0SL/cwhGTeU9+PScEf9TL4B+aWx1p/7 rNxA== X-Gm-Message-State: AOAM530RzfVk2fVVQPQRfUhJyqr91O7JpCyy+7xheio1SrvI5fMJ+X1k SwfnPj270wSKpQKv03gsqe7g4IRhSc73vhcrOHa3sU68Xgmrmg== X-Google-Smtp-Source: ABdhPJxeStLSNHNLStGYGF++MFmhrgE66d9s2QJPtOEHRWndOI8fHCeTBIMtXzNhcK/L3e5hJIzsAZ+7b4HywE+uUb8= X-Received: by 2002:a2e:9759:: with SMTP id f25mr1145626ljj.304.1622092235355; Wed, 26 May 2021 22:10:35 -0700 (PDT) MIME-Version: 1.0 From: Sagar A Date: Wed, 26 May 2021 22:10:23 -0700 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-dev] Traffic policing with similar APIs as tc X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hello, I am working on a dataplane which uses DPDK. We want to implement bandwidth fairness, and have implemented the token bucket algorithm. I wanted to use traffic control (tc), but it is a Linux utility. We wanted to know if there is any existing work on traffic policing in DPDK which works similar to "tc" that we can leverage instead of writing from scratch. Thank you!