From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infinite-io.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=lUx08S4g1ZglybN30CzlbjTL+qvWlYFlIRUyXrGV3Ms=; b=nE3WOBgaXoDtATO85PKfVBuKH935LzlAnup2yk5Rk+IKBW71JOv810qfsezzZPyyP5 S8DEY9JbOUv69jUBkpecxdO5KfBqbYbmvCry0dnhIDM7v+CWGSAgNpW/8IvKZIKgMb6t KvUA/sevMwsi6VXgxeYNg2X02ON309v9e74HMtc9lE5LEMKdsSQb3ebdKnvqvYVZ9yh7 gjgj8SJrTKH+POzUdNizrJtUAWF0P02MgdKWhIWIBNGux23OyrZrGLwbjYEG8/wkdEBh Pe6JQZYdYkKMhbdhx4DEDQrvwgJfRb9gBIoEexhuyaQklM8PL8saV/RhLV4gHNOhcWqS 5E/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=lUx08S4g1ZglybN30CzlbjTL+qvWlYFlIRUyXrGV3Ms=; b=Sbmbk6FTdZYvohRZgSuSMKMysWhNSsTOuFGWedkJBl5WpFfQdXeBiVPOCrTOrFh0u5 GD3TvB4omq9cBk1mEaMWsWCouc+7OxW9r9Y+0X1SkmSQ0AOict+1Ft+21+mYYGJRMsYs DfIUBsPBIvvMpj/SzFYVeZbbnHUy623K1inxt7Yg28Hw3Eg381LdipZwujR5MryDHToC d57eAiIKYE3PONzMneNbWbn5VQELKaAkPlS77NMwcszjs1tZHw9N0UdWGJMOgROZipMr 8kwon6k1HNccx4N0TBqcnqV6Q3+c3QU3KdimZOtCj7fua9c9Yv2mH3OOQdHoAenotaEf nBdA== X-Gm-Message-State: ALyK8tJdiAwo9bWQRguQODYXdiQmxP8pytcNbbXAJjzCfhZ/xwHZJHoXwD1FfLpKaYkI5oq+8NojFDmM8yp8EQ== MIME-Version: 1.0 X-Received: by 10.159.36.84 with SMTP id 78mr8918761uaq.106.1465994031300; Wed, 15 Jun 2016 05:33:51 -0700 (PDT) Received: by 10.103.4.195 with HTTP; Wed, 15 Jun 2016 05:33:51 -0700 (PDT) In-Reply-To: <576145FB.2000902@sts.kz> References: <5761235C.2090906@sts.kz> <576145FB.2000902@sts.kz> Date: Wed, 15 Jun 2016 07:33:51 -0500 Message-ID: From: Jay Rolette To: Yerden Zhumabekov Cc: DPDK Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] random pkt generator PMD 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: Wed, 15 Jun 2016 12:33:52 -0000 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?