From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by dpdk.org (Postfix) with ESMTP id A0DA6C352 for ; Tue, 28 Jul 2015 14:05:53 +0200 (CEST) Received: by wibxm9 with SMTP id xm9so157363400wib.1 for ; Tue, 28 Jul 2015 05:05:53 -0700 (PDT) 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:content-type; bh=yLOLH8JqaONJ734diWmqkHk3HUOQ1td6Rp4BJkEP1gM=; b=mwgbTi43dNP1/7FGdAX7X1glUZbRw4a80KSbNPR3CcTsgc/NaUyff1VIt3/BNBSAE8 HUGYN2w7A12RTvlZuQSp8SMQQNIDbDRRLrzLZPkTmbAteeO5HE5Drv49KwUbknGNhOnk rnV953YOZquigsDCavejnrWr248Jr85K+mtLEHYH4dLqTA2yvxgeek6zkyk2u6HXsboW FBkDEOpSiXB5ZptkE9BU4Z5jU0ox0vd5zFxMPwEHTNxuv4YWkSIn2HUjPL592dK6+TVt 7hgSSphlhOl+YXyauZSHDEz04bLRdbq4DXd9SQMRGYuPMiTzgBM0Cmo15qfxBYCqdXou uG9w== X-Gm-Message-State: ALoCoQn72g+z7HyCdxCkbfhSl0uR4Aecie/HohStU+HGYA9CDi0y04lkzAw4gnBcx2F9BZ2BXJ3A MIME-Version: 1.0 X-Received: by 10.180.9.168 with SMTP id a8mr6176410wib.77.1438085153444; Tue, 28 Jul 2015 05:05:53 -0700 (PDT) Received: by 10.194.171.99 with HTTP; Tue, 28 Jul 2015 05:05:53 -0700 (PDT) In-Reply-To: References: Date: Tue, 28 Jul 2015 07:05:53 -0500 Message-ID: From: Jay Rolette To: "EaseTheWorld Mr." Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: DPDK Subject: Re: [dpdk-dev] KNI example with pcap file 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: Tue, 28 Jul 2015 12:05:53 -0000 Maybe I just haven't had enough caffeine this morning yet, but why would you add IP reassembly to KNI? If packets are going through KNI, they already have IP reassembly via the normal Linux networking stack... Jay On Mon, Jul 27, 2015 at 8:55 PM, EaseTheWorld Mr. wrote: > Hello. I'm a DPDK newbie, playing with KNI. > > I have a packet analysis application like tshark, > which receives packets from network interface or pcap file. > > My plan with KNI is > 1) Performance improvement without modifying my program > 2) Add ip_reassembly, acl to kni example. > (rte_eth_rx_burst -> ip_reassembly, acl -> rte_kni_tx_burst) > > If input is network interface, I think the plan is fine. > but if input is pcap file, is it possible? > Should I use vdev or something? >