From mboxrd@z Thu Jan 1 00:00:00 1970 From: Masoud Moshref Javadi Subject: How to do packet mirroring Date: Mon, 10 Aug 2015 15:38:23 -0700 Message-ID: <55C927DF.801@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: dev@dpdk.org Return-path: Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by dpdk.org (Postfix) with ESMTP id 7CB4BCE7 for ; Tue, 11 Aug 2015 00:36:39 +0200 (CEST) Received: by pawu10 with SMTP id u10so149165947paw.1 for ; Mon, 10 Aug 2015 15:36:38 -0700 (PDT) Received: from [204.57.7.4] ([204.57.7.4]) by smtp.googlemail.com with ESMTPSA id sp1sm21273122pab.4.2015.08.10.15.36.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Aug 2015 15:36:37 -0700 (PDT) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi I want to know how the pool mirroring works in dpdk. Can I only mirror to another physical port or I can make NIC mirror packets to an application running on the server? What I want is to just monitor every packet received or sent from the NIC. I wanted to test the feature using testpmd using set port 0 mirror-rule 0 pool-mirror 0x8 dst-pool 1 on but it says "ixgbe_vmdq_mode_check(): VMDq must be enabled for this setting" I'm using 82599 10G NIC with two ports on DPDK 2.0 Thanks