From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) by dpdk.org (Postfix) with ESMTP id 816386841 for ; Mon, 11 Sep 2017 16:29:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3802; q=dns/txt; s=iport; t=1505140190; x=1506349790; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=3kA+gz4GnQQ0E+yo3LucTbVkYtb280nToqFY/XfakjY=; b=IiyBU0dj71hW31XiuhD3ViGm4tTAIRKx9M3xrghjUaVTHOzoXyMSz2Ev Cp20Gfm7pfJi90sHoIErxnhqNP1pGiNYllRo9w2A/GzMhi7/tzuGyCurk kBWKU8jFmGGYMxUWhXHoLN5GKh4kQAGhiRu2C02m4n0Mlj3MOy5ail+kh 8=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0DcAgAanbZZ/4UNJK1cGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBg1tkbicHg3CaQYF0ljeCBAojhRsCGoQHVwECAQEBAQECayiFGQE?= =?us-ascii?q?FIwQNRRACAQgYAgImAgICMBUQAgQBDQWKMRCsCYFtOos2AQEBAQEBAQEBAQEBA?= =?us-ascii?q?QEBAQEBAQEBGAWBDoIdggKBUIFjKwuCcoQ/BQESAR8XgnwwgjEFoHQCh1mMdoI?= =?us-ascii?q?ThWeDfoZ5lH4CERkBgTgBV4ECC3cVXAGFBRwZgU52hw2BI4EPAQEB?= X-IronPort-AV: E=Sophos;i="5.42,378,1500940800"; d="scan'208";a="1837685" Received: from alln-core-11.cisco.com ([173.36.13.133]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Sep 2017 14:29:49 +0000 Received: from XCH-RTP-006.cisco.com (xch-rtp-006.cisco.com [64.101.220.146]) by alln-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id v8BETnok028535 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 11 Sep 2017 14:29:49 GMT Received: from xch-rtp-006.cisco.com (64.101.220.146) by XCH-RTP-006.cisco.com (64.101.220.146) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Mon, 11 Sep 2017 10:29:48 -0400 Received: from xch-rtp-006.cisco.com ([64.101.220.146]) by XCH-RTP-006.cisco.com ([64.101.220.146]) with mapi id 15.00.1263.000; Mon, 11 Sep 2017 10:29:48 -0400 From: "Steven Luong (sluong)" To: Maxime Coquelin , "yliu@fridaylinux.org" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/virtio-user: send kick to tx queue to notify backend on initialization Thread-Index: AQHTDDw5cHz/aK+weUuvvUpJKnP8kKJyel+AgD1PtIA= Date: Mon, 11 Sep 2017 14:29:48 +0000 Message-ID: References: <20170801161736.83502-1-sluong@cisco.com> <9eaa32ce-a6b8-e8bf-42ce-ef4cba093189@redhat.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/f.22.0.170515 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.24.16.240] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/virtio-user: send kick to tx queue to notify backend on initialization 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: Mon, 11 Sep 2017 14:29:51 -0000 RGVhciBNYXhpbWUgYW5kIFl1YW5oYW4sDQoNCkRvIHlvdSBoYXZlIGFueSBtb3JlIHF1ZXN0aW9u IG9uIHRoaXMgcGF0Y2g/IEFjY29yZGluZyB0byB0aGUgdGV4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3QgdGhpbmsgaXQgaHVydHMuDQog ICAgICAgIA0KICAgICAgICBTdGV2ZW4sIGRvZXMgaXQgc29sdmUgYSByZWFsIHByb2JsZW0geW91 IGFyZSBmYWNpbmcgd2l0aCB2aXJ0aW8tdXNlcj8NCiAgICAgICAgDQogICAgICAgIFl1YW5oYW4s IHdoYXQncyB5b3VyIG9waW5pb24gb24gdGhpcz8NCiAgICAgICAgDQogICAgICAgIENoZWVycywN CiAgICAgICAgTWF4aW1lDQogICAgICAgIA0KICAgIA0KICAgIA0KDQo=