From patchwork Mon Jun 20 10:04:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 70424 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1429339qgy; Mon, 20 Jun 2016 03:04:25 -0700 (PDT) X-Received: by 10.200.45.89 with SMTP id o25mr19384734qta.22.1466417065904; Mon, 20 Jun 2016 03:04:25 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id z194si20157211qka.165.2016.06.20.03.04.25; Mon, 20 Jun 2016 03:04:25 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 30FEB6744B; Mon, 20 Jun 2016 10:04:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 6DCA266770; Mon, 20 Jun 2016 10:04:19 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id AD62C6743D; Mon, 20 Jun 2016 10:04:17 +0000 (UTC) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by lists.linaro.org (Postfix) with ESMTPS id 53A92650B5 for ; Mon, 20 Jun 2016 10:04:16 +0000 (UTC) Received: by mail-lf0-f44.google.com with SMTP id f6so34360356lfg.0 for ; Mon, 20 Jun 2016 03:04:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9uoGuckOzQiFsdXxz4J1rjVsmXMrRfhQ0dA18IgF0N0=; b=B3sXs18RJPozuxUZVDlRxEpFek/VS6XwePXw15JMhXVEPEow6sqj2Z24WQp7JjK+4i vqJH2qHwBwY5LO9s79bB5GEE8CBf5LGJajyqNy+wyoD14ltSGufv/18Q3yVpgdyzjScF jCqq85GNYcsNC7U3yMLI2gantBo6pcvpNk3bzKrBt7RaPXx1ZBNZV3eAlNXwzu6432KH KXK2KOx8pne1sYJRxlvy0c6gyo02aClUqTDwbMFjIaS2gVE3v0450pD+PZs+Esu8EeSG ll9A4GOHJOpIJZWl4u4HvWhJH0vXdd+cTIgNfXi+oTqsStjQyZkuujrdawxkPrbGNLgx FxOw== X-Gm-Message-State: ALyK8tILyZG5emAxD156uGQav/uxyH6eGmRNkj05bsz80qgflm9QcNwpHBRS9TwxaAwFUhTFMsg= X-Received: by 10.25.83.80 with SMTP id h77mr508909lfb.83.1466417054822; Mon, 20 Jun 2016 03:04:14 -0700 (PDT) Received: from maxim-Aspire-VN7-791.d-systems.local ([185.75.190.112]) by smtp.gmail.com with ESMTPSA id f66sm4665145lji.13.2016.06.20.03.04.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Jun 2016 03:04:14 -0700 (PDT) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Mon, 20 Jun 2016 13:04:09 +0300 Message-Id: <1466417049-12442-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.7.1.250.gff4ea60 X-Topics: patch Subject: [lng-odp] [PATCH] example: packet use vlan tagged pcap X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Use vlan tagged traffic for example validation test to add code coverage for pkt_mmap_vlan_insert() internal function. Signed-off-by: Maxim Uvarov --- example/packet/Makefile.am | 2 +- example/packet/pktio_run.sh | 2 +- example/packet/udp64.pcap | Bin 7624 -> 0 bytes example/packet/vlan.pcap | Bin 0 -> 9728 bytes 4 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 example/packet/udp64.pcap create mode 100644 example/packet/vlan.pcap diff --git a/example/packet/udp64.pcap b/example/packet/udp64.pcap deleted file mode 100644 index 45f9d6e6341a331125e1e3e49ab8ad1e71b20712..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7624 zcmca|c+)~A1{MYw_+QV!zzF1AIDRVZQX4OW4Ui4OOdthJV3Lu8!IgnQ52VaNFl`SP zPy-M%&2gOL#31#rG%+bTB{eNQBQq;ICpRy@ps;AvtkLiqO%tPeXtbOdEel8Mj?wyY zv^_D}W*Ti5GK{vPNBat+eXG&_<7gilID#ikyh3QAN~9xK+}$ z4T)^-QnlAgC4W>Yk*X>mRlo92km}Nw!c|oiNTn)LBLcyK0BKSYLZiA0xI}f|@6FEc z&CT8}Zu4i?dS2hYnK$pf`MuxF&iVB}9(>lN6zOYfipb#)S3BqRK6jeva#{)P%KZ4H z2`Z!uf1f`})Rm#nP-l2Nx8d?iyv8ohr8v56pV)=ly+yzZvNmzS?$(tvQ({ zN`3H(bKv=xSCLCcs6x0O=6jaXv{mjz%{=NyEc#gk|LwB0u=KHqz1)uIAM9Usn@mg_ zk2Z3jR&?;MUcTp8vTSb+>k8B@8d$;SEO~No<@;@ZpT?k%M|X%lk9|?s`aqYWyx8+Z z0ekoid$_k!Cq3-uoBL#iIo(6N4XHj>S(MG zeb3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