From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 23B14A0032; Fri, 24 Jun 2022 09:48:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1562340E2D; Fri, 24 Jun 2022 09:48:30 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 2296C40A82 for ; Fri, 24 Jun 2022 09:48:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656056908; x=1687592908; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=BzyGfDuyh1ihj3YtRhAdGP8dPKp99tfhbA9fGUIh/kI=; b=dQilbifrvYobWwXNw4RgU82G6DoffZZw533hvIAsyzJhVXTC3SiwqyRL SB5kp13ovC1ck6YFCgWN20w/EX5jmfGSBvyGb81rR4YZ5DsDTUrmeZeUz o9f3j6Rg79Em8pQp/0UduiCanN5iytYreFqA/OJhj5cWXh7q3Pry2Hla3 T0eqUB7hct+L0zTjfI8gR9zn8rzjZ5Ykz784XqmWsl68wPOTmMsyZ2Fgj B0jmgSCug3oKwGVwRwSeahILogCtfWL/i6JquhyKl4LKX3iEdcVkh76jM IA5unu2lavzCPU0hlXBe3xfJaQSL1K28Iw8TXgUXnBOsaudBKCEH8xJWF Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10387"; a="279713719" X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="279713719" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2022 00:48:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="615893122" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga008.jf.intel.com with ESMTP; 24 Jun 2022 00:48:26 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 24 Jun 2022 00:48:26 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 24 Jun 2022 00:48:26 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Fri, 24 Jun 2022 00:48:25 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.42) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Fri, 24 Jun 2022 00:48:25 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q9NoAiBCYpZZ37Tbs1R9xiHxNs/7bUhWQMIdvLYVb1vWpW61yW8VLQsLfzbQHx1TcEAZSnOkRoGKynFVjNUnGfNASsHHZFXqz1qUIFFTJR5XuFAi05pyFQD8jlWiZFGwN6505RGn1UpoVnPeb//SURhQO42aTNrsZLDER+hGD01EULNrRMFWXrisoZPm/PT3ad4mPM/8hG/x3/07gd/0JItVtF860p+1llt3J+GOUXhIV4tkXCy6gBbDbHK5PEfzB5aC9zNYLw7CnJvezB4tQkKaRxpFV0nB35gPLRH2CLkiWi5A83vIreqH1b5eh7okcPfufC7oTiLs75MWOkyAFg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tmHw3f5hGvzhwiN/jJ4oji5n/2PL50tldUE8sKY9Fnc=; b=NKhbqD3q/WqLiSvDMcNObhendT9UVzK9Vm4jsCwDlTvZt1HoPtTmXNZFBqT5U9kI43IYfe16nNGzM61dlEoAyw++KR99H0udCUn55Xd44poBfLsTlRDQNum5yaAOYEOAxY5J9Due4waPaitkUvq98WY6HCC06F168Q+KITUiQ/7J1alBFqc/BPEyf/DZh06vyYGdemoAxffiCjB9tx2pV7bd5ClW3S0gZ1Xb9lrifD5ulyityGRVO4k3X5oEqw8HN5yjt8LS2Ugr7kRN9OXbHXD7eS6LJg0f0lVL7HuasxYlJ1s3aH2GmQuQCDOG1XCHlDT8ZPNQaFa2bhTZFM/3Ig== 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 Received: from PH7PR11MB6006.namprd11.prod.outlook.com (2603:10b6:510:1e1::13) by BL0PR11MB3298.namprd11.prod.outlook.com (2603:10b6:208:66::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.16; Fri, 24 Jun 2022 07:48:24 +0000 Received: from PH7PR11MB6006.namprd11.prod.outlook.com ([fe80::807:fe31:4ea3:50ac]) by PH7PR11MB6006.namprd11.prod.outlook.com ([fe80::807:fe31:4ea3:50ac%4]) with mapi id 15.20.5353.022; Fri, 24 Jun 2022 07:48:24 +0000 From: "Ling, WeiX" To: "Ding, Xuan" , "maxime.coquelin@redhat.com" , "Xia, Chenbo" CC: "dev@dpdk.org" , "Hu, Jiayu" Subject: RE: [PATCH] vhost: fix sync dequeue offload Thread-Topic: [PATCH] vhost: fix sync dequeue offload Thread-Index: AQHYh4012ghyKiqRtEyphqdpZnKgY61eLllg Date: Fri, 24 Jun 2022 07:48:23 +0000 Message-ID: References: <20220624053824.31432-1-xuan.ding@intel.com> In-Reply-To: <20220624053824.31432-1-xuan.ding@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d39f22ec-5b98-4578-23be-08da55b5eaa1 x-ms-traffictypediagnostic: BL0PR11MB3298:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KYuotXewcQRoHeNdHeUeY7ePd9un5oi797HmxV/fNeDl00f49wFH7mN+O2vr3fXaICnp45eFmGzp0X4+vh92u1stZ99enC5hLBgU+5H/gRVVROneLzIxRyNOwoBdzWo2bPEvvtp66Z95uBVnaot0EwQ3+LqzkA0sn2YQ1PQpCWwcyA+3quzDttF8HVtz63y3amzxiLAsirWlhiLgtHomD1Qmt+EMnI1FZcb6GyFVN5QTyLclxizzmGZGw/yRY/yydaEL4zpWgKxGohiiINsu+IgcjEGs6AHJjXjMOtE9hz51QnER4oJ/wePHAVLnFyMn/PmeDWbMtaLw9FTOxFD1NP3J3d4RyoYJOCcC8ZTGOHHjY/+ZRopT6noGn+sM475gX7YfV3O8DoJNcAhBoVFdoJmG94cx5/Ub63iu+1nhqJ+70Hi9IkT/DoOLMTDbmMDnq91PPA5FUWiinrDY5/bl8EFR9HaY3q7uVGMJs0O5HLh+Ermfs3zu9cILCJ0xZVmzns3gJUD1ncnVaSj18VCmqmsq7zaPbnU//XXSuQSTFs+gCFo5CvfRbBtXFSnnvQ7YmwUD8atSr4uLCIa0COyWp43s2CGmqgvUPyAY5cgHiFxlF1/3wPDfQkTfiHWgpijOodeNr6mIM4KC7M+RrJ/hvc2xWAaNjm4Uer/fnKPIKrbGgmqNcef4WWoUBFJXINTAqsr4judoi9kMftBJUfqQbPalQ3YO5RCXjR2VwsmAhm/WXjuEWjDrPWVbmvr/MT0tg/6xlIJi1TDoOQWFATjTXbjj646NPahNe67cdjAo2lM= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB6006.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(366004)(39860400002)(346002)(136003)(396003)(376002)(38070700005)(52536014)(6506007)(8676002)(33656002)(9686003)(7696005)(5660300002)(26005)(8936002)(55016003)(38100700002)(186003)(71200400001)(41300700001)(53546011)(122000001)(4744005)(66476007)(107886003)(76116006)(4326008)(66946007)(64756008)(110136005)(66556008)(66446008)(54906003)(2906002)(83380400001)(82960400001)(316002)(6636002)(478600001)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xwy/jk8fcNT5k3JVZZROXYo/c0kwqF+Pe9gWJO/M8rDEUi5Se80CPgS/tg1q?= =?us-ascii?Q?9XaSP49GszWmlpCqsSV4OcKnnDdUGzm8uD9JUvTOeYsdxii51YOSg5sgbv4H?= =?us-ascii?Q?zraJDnw4ZmnVipxaN7JhhiU7V96m/WfWLlbH0onDW+MEIcSVhD0cQw7L0O7s?= =?us-ascii?Q?vlPvMH/aPfWuMkeZrupi9lxoIS0dmseSfqdggJyh686on4/8xoKzP4mjl4DG?= =?us-ascii?Q?6WuRdHoY8jU/R7gaaX+PvitnZ9pvm49P/bd3FuK5lDbXxBTijEoiDdTQpW6a?= =?us-ascii?Q?z9MW5mY601ykAU/cs9H4y1bNdcqifh/vU4rIK+U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EVXjXWFim8tvF35h5EwzFXdJHg2ZTHgJY/kxGy5zRoo4wRzuf81M?= =?us-ascii?Q?P2HfOV/ho2ZOk5j/pHdxXxjdOMJlzUK4x9Ht8sn1p8beNIVLsmrLHDTiKhuV?= =?us-ascii?Q?oGcqpUFgUnZWFzYt4AjD7YiKLyXql/lzFtkr1wBOUNeyLr6FQm0V6cc0aKKv?= =?us-ascii?Q?3Z2NcT8Z94zg2phUmakSGByUajaAX4hH7/hKsA3PhgbpmVi4wGIpcMVFLqXa?= =?us-ascii?Q?bvyM3O1RFOiBEVtEb4GLeFshKlTNMVWTx9dPJrsQVaAZ9P8XnMAZq3W77IE/?= =?us-ascii?Q?qBS2wafaFTRlcrWrr5TAu5cj3RinTc8WDG2wXcGbBmyiTI6g8+qVQ+O1mdTG?= =?us-ascii?Q?0A9g8oF0Y2PLji62xZBR+hJh/CvVPc4Vq4A9wO38?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB6006.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d39f22ec-5b98-4578-23be-08da55b5eaa1 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2022 07:48:24.0060 (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: 7YhvSBx8/7LmRZsmUKsU6Y4QOJRu4TTB7TeMKbWAfMnqfJXTApA4sOKBJl9ZFbB0t9EcEksLFlHadPSL7neqHw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3298 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Ding, Xuan > Sent: Friday, June 24, 2022 1:38 PM > To: maxime.coquelin@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; Ling, WeiX > ; Ding, Xuan > Subject: [PATCH] vhost: fix sync dequeue offload >=20 > From: Xuan Ding >=20 > This patch fixes the missing virtio net header copy in sync dequeue path > caused by refactoring, which affects dequeue offloading. >=20 > Fixes: 6d823bb302c7("vhost: prepare sync for descriptor to mbuf refactori= ng") >=20 > Signed-off-by: Xuan Ding > --- > lib/vhost/virtio_net.c | 14 +++++++++++--- > 1 file changed, 11 insertions(+), 3 deletions(-) >=20 Tested-by: Wei Ling