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 BEC21A0548; Tue, 20 Apr 2021 19:14:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A692741735; Tue, 20 Apr 2021 19:14:41 +0200 (CEST) Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) by mails.dpdk.org (Postfix) with ESMTP id 4ADC541439 for ; Tue, 20 Apr 2021 19:14:40 +0200 (CEST) Received: by mail-qt1-f172.google.com with SMTP id o21so1116027qtp.7 for ; Tue, 20 Apr 2021 10:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nHYn77DNsXhkpa76MrBA0qjkgAUTQTcg8Lw1IPNb24U=; b=bdLlEsBmuAQoxsEFzD6+kSBDzKWrDdHlWsmDiMJ97S3AXMLIXHgjOUHnRG9HA83mke hPW5aEMTZvBJ269atNOkgUcH/AmpYGf+V7Br97lNTICvrXQ6uptxHrBdFSOCq0aJSeOr RMBtevPaC4ZHCH9cHPIY2zpsDy8lIb9/V3QKk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nHYn77DNsXhkpa76MrBA0qjkgAUTQTcg8Lw1IPNb24U=; b=AH/Px3YzkfOYzRl00Kxrvi7u1LdmdJB/jWUJ9b13T+Rc01rRVum9NfP1mNQYvpQLDs zKH4Vbt6YgzknfWKVkVWDoNx+KaJWh+PM4ZCxwV2PtzLd0vVRVpcPrnK0YEmo2hmn39M E/YX2IwXnbawIRj9/ti41RaefymScXll9U4PoBWXcTBMDUpisUK6cpoidRJoLdDWSzl/ tR1RNGwKAKiLEktrb9iexLQvrD3lQ6c6EleTkzDAkC1t5N8g3fnLaAKnT+eC8edk5gM6 smsRLuqGbQquUVZOeaZdpuZL4YTTQMoaF8lZFzQ5JJCZMcXfOsRDODH3g8BsAxplG7Lu VbaQ== X-Gm-Message-State: AOAM530TLMClva5JQku3wIhNGqsX3oM/AQHrSxi5Ax4+JlX9LkRD6k6G nEnxeOHaVFRcZZX2Nr3+cyyd0c1w7Oz7vxBO8eT3tw== X-Google-Smtp-Source: ABdhPJyNbb1KEKP1ysXJEEhGnIKq4uJ7awuX7JYF4r43J4jVofUWkkNdHfBr6N7shQUm1UWUkxgv3otH8PVzhx+MzR8= X-Received: by 2002:ac8:5e0b:: with SMTP id h11mr18129907qtx.194.1618938879586; Tue, 20 Apr 2021 10:14:39 -0700 (PDT) MIME-Version: 1.0 References: <1618848506-37569-1-git-send-email-jiaweiw@nvidia.com> <1618927490-229267-1-git-send-email-jiaweiw@nvidia.com> <1618927490-229267-3-git-send-email-jiaweiw@nvidia.com> In-Reply-To: <1618927490-229267-3-git-send-email-jiaweiw@nvidia.com> From: Ajit Khaparde Date: Tue, 20 Apr 2021 10:14:23 -0700 Message-ID: To: Jiawei Wang Cc: matan@nvidia.com, orika@nvidia.com, viacheslavo@nvidia.com, shahafs@nvidia.com, ferruh.yigit@intel.com, Xiaoyun Li , dev@dpdk.org, thomas@monjalon.net, rasland@nvidia.com, roniba@nvidia.com, asafp@nvidia.com, Haifei Luo Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000d9ee0705c06a941f" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v10 2/2] app/testpmd: support policy actions per color 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" --000000000000d9ee0705c06a941f Content-Type: text/plain; charset="UTF-8" On Tue, Apr 20, 2021 at 7:05 AM Jiawei Wang wrote: > > From: Haifei Luo > > Add the create/del policy CLIs to support actions per color. > The CLIs are: > Create: add port meter policy (port_id) (policy_id) g_actions (actions) > y_actions (actions) r_actions (actions) > Delete: del port meter policy (port_id) (policy_id) > > Examples: > testpmd> add port meter policy 0 1 g_actions rss / end y_actions end > r_actions drop / end > testpmd> del port meter policy 0 1 > > Signed-off-by: Haifei Luo > Acked-by: Matan Azrad Acked-by: Ajit Khaparde --000000000000d9ee0705c06a941f--