From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7417AA04B1; Wed, 30 Sep 2020 07:50:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7A37F1DA99; Wed, 30 Sep 2020 07:50:01 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id AF5B81DABF for ; Wed, 30 Sep 2020 07:49:58 +0200 (CEST) IronPort-SDR: k6S2sMAVbZ2Wiy63yagWbR1alK7M1oBr4Jefl7UrQqBHfeHpDWn1Umed4QrWenwVrQLipwn/kv x0nsxJokMH9w== X-IronPort-AV: E=McAfee;i="6000,8403,9759"; a="180524863" X-IronPort-AV: E=Sophos;i="5.77,321,1596524400"; d="scan'208";a="180524863" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2020 22:49:56 -0700 IronPort-SDR: jiNX+RMw6BZ2U+789NZikewjfwzrp/CSH8+Y2sVEZocQf9Tn1LNJ5WgYkSAe+jWqnjR9M3mF0G nVKbo11lvjUg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,321,1596524400"; d="scan'208";a="338948575" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga004.fm.intel.com with ESMTP; 29 Sep 2020 22:49:56 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 29 Sep 2020 22:49:56 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 29 Sep 2020 22:49:55 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 29 Sep 2020 22:49:55 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.58) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 29 Sep 2020 22:49:50 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hw8rr1tFGyHn7vd4kAp1meU7PjfVO8ZuPtuq0k5sXXIv2eR1vFvhvTIjIvjK5pCXhFlY4143EIRIzi5r4kf5b7JYS0xS7CNwkEGiR2e+KHCqDW/6NdKCWejwbVYxqV473dKon7z0oT3uSNMx4MlY9yFus2Q2QpaYwqedDOJzS74T5RV7HXdUo8VMtApOUED9+ufCtxEDCwO+lcHrHWCiEyTij3dTQ2NRWpjUycAPlkTP0ZzIAKSn+1MDT+82xUZAKrbZ+M7Dy7SWJr7S4P/mg5CqsSVVZIOctQTVq3Q+PXIk2ua2MNWTKgHlgc8iqIfo6WvU4QT2cn0e3ibhTU0c+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jYYKT2Rlb2BdAH0eDzgaV20lWqV2vBVS2q1Um17wF0A=; b=PvEYvLy6aiLZAJC3arugrXs3YKwi/txbvCg8OTJlObRqQfBd49mcwGuUeIL/xLNydktC3pMl81b3/hNRXJU/gM2h8DEaSZlTn8pIc9G1WEqTqA7BrpAuJCzu9DZ67NSaH5JufwGCWllYs34k4PZQv92lVaYQdVQOdokyhFh/asRGsRN69bNktrWZZECxGYgSlZ0OR4arv9q4elSOoWuNRoMSAeaai+VaNaBTjKZRlNg4Gr3emGX8ETjIThUmUYjynZa4o2Lgy0rM96G6zm4ZaQZ5jZwc2t+yNJuYLMac2UeOVa8rEfvUdse3QUCgLRPZboyK8eo4e9dphgj6g+GIhg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jYYKT2Rlb2BdAH0eDzgaV20lWqV2vBVS2q1Um17wF0A=; b=gvaTCtamlr5g9GRcW8yY0aGq7VJFPtHtZzQpEPJBW61s5hKC6KDYDWjIuqn3c2IyPKIbplT9VsKVR/xSnG5XaoEut14dpn7qEtw+C4u7sphofQl5MI+dorTT8O60K0c3oJuUdDUb0ogXfJBqSAg/JwGbjyVVZ81qhx8xG2DanKE= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3885.namprd11.prod.outlook.com (2603:10b6:208:151::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.22; Wed, 30 Sep 2020 05:49:49 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::1dc7:9f52:91c1:52da]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::1dc7:9f52:91c1:52da%3]) with mapi id 15.20.3412.029; Wed, 30 Sep 2020 05:49:49 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "Fu, Patrick" , "amorenoz@redhat.com" Thread-Topic: [PATCH v3 5/8] net/virtio: check protocol feature in user backend Thread-Index: AQHWlnu/H4oIPz76FUKE31fsc/ZHdqmArZnw Date: Wed, 30 Sep 2020 05:49:48 +0000 Message-ID: References: <20200929161404.124580-1-maxime.coquelin@redhat.com> <20200929161404.124580-6-maxime.coquelin@redhat.com> In-Reply-To: <20200929161404.124580-6-maxime.coquelin@redhat.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.38] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3d4cace6-db7c-4c0f-6a2b-08d86504a4b3 x-ms-traffictypediagnostic: MN2PR11MB3885: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:79; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bFgwSCBtcLTlq0uE9Fk6+nDh0SfMcOstvdu8xwAzouWjrj8OHU7lXpRbkJW8+4Bq69fd1mKNwoZDuBjkZGoWEVLqw1PoYiPCFgihyjlYsN5ZzKN/i+eSqAuSXt0OREjCvMD8fnOp3ogoMgKVzioBft33sYmUsDCYbWmIpcAEIzZeE+eNElSGE5vf10MXiubrGPBl4zHKq4SYO6sNCMwe1QjVMgnaH93nDKvecCOi4y4j7lEA4kFBQBMQRV8JjprobFY3SN+ioz48PrM9sO+I5imi3TXVU0vCUUyijEOFbsc3vrIbs/j6ZPKSZMK5IwDqgbkR1PyH7Bbk33BDWQo8qn7nxD1JpVPRZlCxd/ZUUHb1ayIlf7rB5zvNTw8F7QI8 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(136003)(376002)(396003)(39860400002)(33656002)(316002)(186003)(110136005)(8936002)(6506007)(52536014)(478600001)(53546011)(7696005)(66946007)(26005)(76116006)(5660300002)(55016002)(9686003)(8676002)(2906002)(83380400001)(71200400001)(86362001)(66476007)(64756008)(66446008)(66556008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: bwm1oYhK8W9aHBJnwuLN1vvmvZhbR5oMD15bQ/gxK2PGDKJYtGW7Fqozli2zIhRzw9sB68Ui4IRyTUjT3s59kfwVaE7xjggKbdFnpleqeb6RAIHryaBB1Wwd7jNGsvISzafX8ftGaT/o7PTWkGo3mbdVrx2vautff2cjAJIWmSoWFpLEhhsdLNp56cr16w5w8XBX6ZCGaEuSL9YzZmtIUGjU8lV7rdi83PBGJWtTldRtWmg3HCvvfQLNeg2YJz7wVSWLsV5ufdmpCMdzso5xhYHWdQOeUn0K+FKiSjQGvFtaZphDVIvV84soJ+yx9xevE1krU77n+GPvYfqswu2GBY6FBB2FN85H6fFHRiJrNOvs90SoQDaaVN7X4J+LXJ/L/nI+3viRSPzzAtvNtiwyyZM8MOU09XqJPhMGWH1xp2p5Ih6gXzOGxmIswTbBUIiZO4XA9qpDhlAISfc2GPiFQZtwxRw7Hlg6wm8w+5Ni7f2AXfqTJ9eR/xiTfKPZ163lXa1o0RvztZvW7yvqz6GPGtnSLC4PdIwNkCNNH897puISp+BXX7Sk6tjVN5rQp6+05APpia8vC7mXUXANhuZ5WBAMQ6kHEEw77HCWohCesYTCTpqVSMCr0lO1h3QK2ruQWE/kvNrt6s/bSTNUjGaAtw== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3d4cace6-db7c-4c0f-6a2b-08d86504a4b3 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Sep 2020 05:49:48.9281 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4Pk3oILFsI3boZZZfBcKsdrUi43g5hRvK8OVwAQXU4rX1spAfTe0r6zbbhaTbQZcIqp79WCSkzGlGkS0Ed1ElQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3885 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 5/8] net/virtio: check protocol feature in user backend 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYXhpbWUgQ29xdWVsaW4gPG1h eGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiBTZW50OiBXZWRuZXNkYXksIFNlcHRlbWJlciAz MCwgMjAyMCAxMjoxNCBBTQ0KPiBUbzogZGV2QGRwZGsub3JnOyBYaWEsIENoZW5ibyA8Y2hlbmJv LnhpYUBpbnRlbC5jb20+OyBGdSwgUGF0cmljaw0KPiA8cGF0cmljay5mdUBpbnRlbC5jb20+OyBh bW9yZW5vekByZWRoYXQuY29tDQo+IENjOiBNYXhpbWUgQ29xdWVsaW4gPG1heGltZS5jb3F1ZWxp bkByZWRoYXQuY29tPg0KPiBTdWJqZWN0OiBbUEFUQ0ggdjMgNS84XSBuZXQvdmlydGlvOiBjaGVj ayBwcm90b2NvbCBmZWF0dXJlIGluIHVzZXIgYmFja2VuZA0KPiANCj4gV2hlbiBzZW5kaW5nIHNl dCBzdGF0dXMgbWVzc2FnZSwgbW92ZSBwcm90b2NvbCBmZWF0dXJlIGNoZWNrDQo+IHRvIHZob3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