From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=QMTd4q/s8VC2NDs9l5wVL1xBUhL3204hFPg4cpNwwv4=; b=plFfaZgfHGDpib7xFgdbkq7A2vzMcEcmOHhN+m/6d9hjzBrIGCcZn8cpysDCTa0OnS a1ffwFLZL9eZrKasPOcMZBUL/Btx+ZqSXGyqacZ7tLuB2tDjtkhjImf0X/kXPF9mQXjd TU7fscXeTkaG4DMBc0tHlMfIAAaXMfIoVDkIU2vCuWEXtMyLJRuqJgqHyg1MaZ4MRmIL 9fL+wFWCAypKgrm+wU4rQcCKgx25RNPUEfUBm6JnkM3uIYVe4moCttRxo3mupfHBj1og r01f3FW/s+sYnUL4eoxdUiOavVQOq1lMs8BMG1gHG+NEfSxmVsMKIOYe5JR3vMj2igjg S3FQ== X-Received: by 10.68.241.103 with SMTP id wh7mr49077080pbc.88.1439246198678; 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) Message-ID: <55C927DF.801@gmail.com> Date: Mon, 10 Aug 2015 15:38:23 -0700 From: Masoud Moshref Javadi User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: dev@dpdk.org Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] How to do packet mirroring 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: Mon, 10 Aug 2015 22:36:40 -0000 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