From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 5CB0A1B1AB for ; Wed, 11 Oct 2017 03:32:06 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Oct 2017 18:32:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,359,1503385200"; d="scan'208";a="137260248" Received: from unknown (HELO [10.241.225.83]) ([10.241.225.83]) by orsmga004.jf.intel.com with ESMTP; 10 Oct 2017 18:32:05 -0700 To: Yongseok Koh , =?UTF-8?Q?N=c3=a9lio_Laranjeiro?= Cc: "dev@dpdk.org" , Ori Kam , Adrien Mazarguil References: <1503318941-42015-1-git-send-email-orika@mellanox.com> From: Ferruh Yigit Message-ID: Date: Wed, 11 Oct 2017 02:32:05 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: flow counter support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 01:32:06 -0000 On 10/10/2017 5:10 PM, Yongseok Koh wrote: >> On Oct 10, 2017, at 7:22 AM, Nelio Laranjeiro wrote: >> >> From: Ori Kam >> >> Example for setting rule for counting packets with dest >> ip = 192.168.3.1 in testpmd: >> >> testpmd: flow create 0 ingress pattern eth / ipv4 dst is 192.168.3.1 >> / end actions queue index 0 / count / end >> >> Reading the number of packets and bytes for the rule: >> >> testpmd: flow query 0 0 count >> >> Note: This feature is only supported starting Mellanox OFED 4.2 >> >> Signed-off-by: Ori Kam >> Signed-off-by: Nelio Laranjeiro > Acked-by: Yongseok Koh Applied to dpdk-next-net/master, thanks.