From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Fedin Subject: Re: [PATCH v2 0/5] add dpdk packet capture support for tcpdump Date: Thu, 18 Feb 2016 17:08:16 +0300 Message-ID: <014201d16a55$d05e4b20$711ae160$@samsung.com> References: <1455289045-25915-1-git-send-email-reshma.pattan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: 'Reshma Pattan' , dev@dpdk.org Return-path: Received: from mailout3.w1.samsung.com (mailout3.w1.samsung.com [210.118.77.13]) by dpdk.org (Postfix) with ESMTP id A7A61C3A6 for ; Thu, 18 Feb 2016 15:08:18 +0100 (CET) Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O2Q00IM5XXTO1A0@mailout3.w1.samsung.com> for dev@dpdk.org; Thu, 18 Feb 2016 14:08:17 +0000 (GMT) In-reply-to: <1455289045-25915-1-git-send-email-reshma.pattan@intel.com> Content-language: ru 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" Hello! With the aforementioned fix (disabling src_ip_filter if zero) i've got the patch series working. Now i have some more notes on usability: > 2)Start proc_info(runs as secondary process by default)application with new parameters for > tcpdump. > ex: sudo ./build/app/proc_info/dpdk_proc_info -c 0x4 -n 2 -- -p 0x3 --tcpdump '(0,0)(1,0)' -- > src-ip-filter="2.2.2.2" 1. Perhaps, ability to separate queues is useful for something. But not always. For example, what if i want to capture all the traffic which passes through some interface (common use case)? For example, with OpenVSwitch i can have 9 queues on my networking card. So, i have to enumerate all of them: (0,0)(0,1)(0,2)... It's insane and inconvenient with many queues. What if you could have shorthand notation, like (0) or (0,*) for this? 2. What if i don't want separate RX and TX streams either? It only prevents me from seeing the complete picture. 3. vhostuser ports are missing. Perhaps not really related to this patchset, i just don't know how much code "server" part of vhostuser shares with normal PMDs, but anyway, ability to dump them too would be nice to have. Not directly related, but could we have some interface to tcpdump or wireshark? Would be good to have ability to dump packets in real time. Kind regards, Pavel Fedin Senior Engineer Samsung Electronics Research center Russia