From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 219D71B00C for ; Sun, 7 Jan 2018 03:37:12 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jan 2018 18:37:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,324,1511856000"; d="scan'208";a="18848724" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga004.fm.intel.com with ESMTP; 06 Jan 2018 18:37:11 -0800 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sat, 6 Jan 2018 18:37:10 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sat, 6 Jan 2018 18:37:10 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.152]) with mapi id 14.03.0319.002; Sun, 7 Jan 2018 10:37:08 +0800 From: "Wang, Xiao W" To: "Bie, Tiwei" CC: "dev@dpdk.org" , "yliu@fridaylinux.org" , "stephen@networkplumber.org" Thread-Topic: [PATCH v5 2/3] net/virtio: add packet injection method Thread-Index: AQHThfzW/KjzQ9CITkCeW6j/taH4N6NlDC2AgAKmovA= Date: Sun, 7 Jan 2018 02:37:07 +0000 Message-ID: References: <1515081578-30649-3-git-send-email-xiao.w.wang@intel.com> <1515170817-136539-1-git-send-email-xiao.w.wang@intel.com> <1515170817-136539-3-git-send-email-xiao.w.wang@intel.com> <20180105180055.iqqd4km2m33jbuwc@debian-xvivbkq.sh.intel.com> In-Reply-To: <20180105180055.iqqd4km2m33jbuwc@debian-xvivbkq.sh.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDVjMTFkMDQtOGM1YS00NjlkLTljYjMtZDk5ZWFmOWEyY2M2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJHWGh4XC9mdXNMMjB6OHdEYkFYZ3h1Vko0U1ZYS1wvXC8rZGZFVXJWN2ZRaW9DQ1J4ellzRm1KaXhcL1h6RjhcLytMeHUifQ== dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5 2/3] net/virtio: add packet injection method X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 02:37:13 -0000 SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQmllLCBUaXdlaQ0K PiBTZW50OiBTYXR1cmRheSwgSmFudWFyeSA2LCAyMDE4IDI6MDEgQU0NCj4gVG86IFdhbmcsIFhp YW8gVyA8eGlhby53LndhbmdAaW50ZWwuY29tPg0KPiBDYzogZGV2QGRwZGsub3JnOyB5bGl1QG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