From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jay Rolette Subject: Re: random pkt generator PMD Date: Wed, 15 Jun 2016 07:33:51 -0500 Message-ID: References: <5761235C.2090906@sts.kz> <576145FB.2000902@sts.kz> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: DPDK To: Yerden Zhumabekov Return-path: Received: from mail-vk0-f50.google.com (mail-vk0-f50.google.com [209.85.213.50]) by dpdk.org (Postfix) with ESMTP id D8542C5F0 for ; Wed, 15 Jun 2016 14:33:51 +0200 (CEST) Received: by mail-vk0-f50.google.com with SMTP id t129so27257367vka.1 for ; Wed, 15 Jun 2016 05:33:51 -0700 (PDT) In-Reply-To: <576145FB.2000902@sts.kz> 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" On Wed, Jun 15, 2016 at 7:11 AM, Yerden Zhumabekov wrote: > > > On 15.06.2016 17:50, Jay Rolette wrote: > >> On Wed, Jun 15, 2016 at 4:43 AM, Yerden Zhumabekov >> wrote: >> >> Hello everybody, >>> >>> DPDK already got a number of PMDs for various eth devices, it even has >>> PMD >>> emulations for backends such as pcap, sw rings etc. >>> >>> I've been thinking about the idea of having PMD which would generate >>> mbufs >>> on the fly in some randomized fashion. This would serve goals like, for >>> example: >>> >>> 1) running tests for applications with network processing capabilities >>> without additional software packet generators; >>> 2) making performance measurements with no hw inteference; >>> 3) ability to run without root privileges, --no-pci, --no-huge, for CI >>> build, so on. >>> >>> Maybe there's no such need, and these goals may be achieved by other >>> means >>> and this idea is flawed? Any thoughts? >>> >>> Are you thinking of something along the lines of what BreakingPoint (now >> part of Ixia) does, but as an open source software tool? >> >> > More dreaming than thinking though :) Live flows generation, malware, > attacks simulation etc is way out of scope of PMD dev, I guess. > Having a DPDK-based open-source BreakingPoint app would be a _fantastic_ tool for the security community, but yes, it doesn't really make sense to put any of that logic in the PMD itself. Were you more after the capabilities from that sort of tool or the experience of writing a PMD?