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 B37AF424BD; Mon, 30 Jan 2023 08:50:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F6F840EDE; Mon, 30 Jan 2023 08:50:28 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 94A0F40C35 for ; Mon, 30 Jan 2023 08:50:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675065026; x=1706601026; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=tUgaX9VNACTqpCL1ABjLEv273cmFx+s5Ur2pSZYFKzw=; b=CNefepxhZbIGga6WFEetU87aIgTB+xYEib+n5cz8Jzes12KEjhlipO/3 /XHp/Ad6b3z64V6DOEjXsE0rFKse8Kw6JhmyeD6Cjz+BHxMjLK9SyvDeK ueVL3kemH3F5Es2IfqCDs+MunDnnxtMoAXlhZJ3cyaUZRnODyyj+rPMCO HYefodNR64Rb9PLzRN3MYe1yHwWeV48c8LKBFZh9LRKvr5Zt6WfcAHH/B 510Na9lmp76ITftwrDKPeA/++GHMZMqgymrQK0OfhTvj00fQkVzdJ1np0 CU8V/AB7kH7iI1r6aAyYkGegZ8gQey4C+nOeXlK/85QXZ+mbVcy8Tmnn8 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10605"; a="413717592" X-IronPort-AV: E=Sophos;i="5.97,257,1669104000"; d="scan'208";a="413717592" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jan 2023 23:50:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10605"; a="909405122" X-IronPort-AV: E=Sophos;i="5.97,257,1669104000"; d="scan'208";a="909405122" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga006.fm.intel.com with ESMTP; 29 Jan 2023 23:50:19 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) 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.2507.16; Sun, 29 Jan 2023 23:50:19 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Sun, 29 Jan 2023 23:50:18 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Sun, 29 Jan 2023 23:50:18 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.49) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Sun, 29 Jan 2023 23:50:18 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CuQ7ghEKllEzMW8+HimgKjhHn30+unOUWitBp8eGGI3DwYGxiUVxiB/MvUTXWs1Bg8AW+PBFoGqI03YDjudnXSkbkgvgX50YolPfnLyNxyM038DXfAh7BE9+HXvM1nECg7W/uI6g6GUCO38iCh3FUcXDgRUjmT14EbYeRKXhjL2RcI79wPjZCDVGvwiyoYT8hHxYvyluwAwxzEWNR6LAZYBiGcIsf6ur10RTWj+PDe3peCI0VKeLJj0G3mATctMLlXgLR3vvPjYcx/oPMhZ/bb9Mz1fntHbwdshNSr/l2Y+GUKIf6ro3EtM7sh08WkkiO7yAjoH8nPg9scnrrT8IqA== 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=9114/UXrKin2w6oHtJLHm/YmKAT03F6A8UA7+r/G1mw=; b=jAB080GZvX1U/WC7a6iQu7QJKnCo9ZEJxYvvyzZ5NumG1Ex/DWdLAJSJTvRj0N3nFiCsBfGZZS89Bpr/CA82XjzjJG8lei+LEle912XxWun4k+R7zKcumufWXru3Wjpx5/h6a8gkLYu82H7z8JPXIme98dtTS7ObCFczSFIUF51ZJC43LcwDMEALe9Z6biOZWWUeknPuVaIol7m/plwiDviUf0VRULziWxGAzPkfJwo5hj7mYb5Jx5eh5JVASgCeqGq9+Xr1PZB1iUUgEL5dKfMaB+M1uFR9JYZcPq6uwTaScu0p5qHIxOdkeryjERX9hgYwNRq+HTil7om3qyt4Ag== 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 SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by SJ0PR11MB4990.namprd11.prod.outlook.com (2603:10b6:a03:2d8::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.36; Mon, 30 Jan 2023 07:50:16 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::c8f8:a3e1:5b23:a9c3]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::c8f8:a3e1:5b23:a9c3%5]) with mapi id 15.20.6043.033; Mon, 30 Jan 2023 07:50:16 +0000 From: "Xia, Chenbo" To: "Coquelin, Maxime" , "dev@dpdk.org" , "david.marchand@redhat.com" , "eperezma@redhat.com" Subject: RE: [PATCH v1 01/21] net/virtio: move CVQ code into a dedicated file Thread-Topic: [PATCH v1 01/21] net/virtio: move CVQ code into a dedicated file Thread-Index: AQHZBNRhEjd4OxnU9kKw/jdhFPlyA6629Tew Date: Mon, 30 Jan 2023 07:50:16 +0000 Message-ID: References: <20221130155639.150553-1-maxime.coquelin@redhat.com> <20221130155639.150553-2-maxime.coquelin@redhat.com> In-Reply-To: <20221130155639.150553-2-maxime.coquelin@redhat.com> Accept-Language: en-US, zh-CN 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-traffictypediagnostic: SN6PR11MB3504:EE_|SJ0PR11MB4990:EE_ x-ms-office365-filtering-correlation-id: e654f749-ea0a-440f-c0f3-08db0296a074 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: +lIDxpmmkVKYKeJ3ZHq9vzRWfhSF7gASOgw8LZ2ghIlGjBH7D520A3eAZAf1UtMLaZJbFhC7OZ46kL0TyKFc3aWP7YxJqDEikSBr9j23291CxzgqLOPKzFJXI3BmaxW1h5d/VGUvLefcznL/IxQqRiAgy6iEN8zIIt59yMpQjh+NUxtsmNc+91W4wd5WPl7d2dOcU7kUCH9SALrw5HxegUK5bvM+uS4M/KyLNgQEg6OLrfnrGgHIJ2f/r2IrO/X1zklp3r3GgNgdWxwhkp2QbshyMPx7Hq4cLP5VlktcBur/p5XJYOxO/V0CnhLEs5aADdCtcVUbDym0dRKs2VbecWxuCtvrFqrz3x2bgmjf2QjyjNfefXP4Qt3yvAomng85WWEae4BL8G7F+fA1aMhBB4nrIWIlR/4bq561kw5URmUMvyliRmwwp1RuPAaVbsoE0akZU6KS8MRyUXPSLHwMPhy5JuqQecx7Uz1ubBrIka+TBqoiuHkozNxKJLhTScXFrfkC+XxsE80gD+tpfnNRrCHATy/vu87Ds3R7z94EvCSbEMUtVeM/Zeo+82d24TJi5veX7TWNOJiLU/7/r45tDmYKZNWpwl3heH5IbTL9uWZOU/JXPJGyig+ZlnV3DaxHKVZ5NG/CjsDxki/sTo2kj9i/cArHA16F3soRJSjwdV9SVLzgoEnWnZFUOw//SPqfDCIM2GP1UFWJlEIsSdo/AA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(136003)(39860400002)(376002)(366004)(396003)(346002)(451199018)(110136005)(316002)(66946007)(66476007)(8676002)(66556008)(66446008)(76116006)(64756008)(8936002)(52536014)(5660300002)(122000001)(38100700002)(86362001)(38070700005)(33656002)(82960400001)(41300700001)(53546011)(71200400001)(9686003)(26005)(6506007)(186003)(4744005)(55016003)(2906002)(478600001)(7696005)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+C5yBLS59L2HrbE8m8bjDRAr6L1vfSZMirbC8jphSUZI4tFc9Fdn8rHro265?= =?us-ascii?Q?H4ymuaSBTSC+29hIPHDPsL1045Lh3N8WtbV62yMHu+052KsK0OwEe1gu1w7d?= =?us-ascii?Q?U/Jf0Ngm0UcL4MMcEKr0EMWhTGLKe79/KUYfU/r5u68EUQAC+1anTzb0OEiX?= =?us-ascii?Q?ndAGK0OPayKJnyixGXEYLEePOlxgvRh0GSHUsmSatrMAyijzibr57P2Wfvru?= =?us-ascii?Q?p2EtKDal1pmHDRHNu6lD9WPdkFjocfF+NIUpAAQmDQNqzOp2WzGpqpnGmc/w?= =?us-ascii?Q?DBjveOuB/u9LjeUpNOGcLOAKGSd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q?FX/N4RAyxtNq29X/zBMKQdnF+FU/BykCUllVcxmKRjfYGz3IA5a3zlxkORDc?= =?us-ascii?Q?+XCobpP+qqagA+n+d4m3OmJd0Hx/RK2h4UmI3xudsZxb8fdFgU0fw5MlVOOD?= =?us-ascii?Q?7Ue10VFTSeLDc9/iw4UCMbCc9pElde9/iRNgcdOXTxsUu7nwtBQMGbqBBX9e?= =?us-ascii?Q?YOyRaWOBZG1X0/LeHYBJEe0lj4f9urWnImvpH9jGAZnEOsg9CcDMZfI6UUiA?= =?us-ascii?Q?YFpKikqI4r14QmdZGvLD6/OaPffDpQG6rPRfI9cWPBTstXxh03yx6LV2pu5e?= =?us-ascii?Q?RQWJEuXaCEf9JiugJp538NvQ3tlwX85b0QZGyuBaDMA/V2QmnDHUrm46SFG8?= =?us-ascii?Q?mxXmsn43vQL8Q50eZvF6pTSANFqwwZDkFONQth2G?= 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: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e654f749-ea0a-440f-c0f3-08db0296a074 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jan 2023 07:50:16.2944 (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: FL9zyns1Fu1bQbuUFy4FYYKKviUpUoIQ+UfQavm0u41cPsQ/ZSfi5sCCgNcKlQLUl8tdCOhxuoRc7Mcjy6s+4A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB4990 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: Maxime Coquelin > Sent: Wednesday, November 30, 2022 11:56 PM > To: dev@dpdk.org; Xia, Chenbo ; > david.marchand@redhat.com; eperezma@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH v1 01/21] net/virtio: move CVQ code into a dedicated file >=20 > This patch moves Virtio control queue code into a dedicated > file, as preliminary rework to support shadow control queue > in Virtio-user. >=20 > Signed-off-by: Maxime Coquelin > --- > drivers/net/virtio/meson.build | 1 + > drivers/net/virtio/virtio_cvq.c | 230 +++++++++++++++++++++++++++++ > drivers/net/virtio/virtio_cvq.h | 126 ++++++++++++++++ > drivers/net/virtio/virtio_ethdev.c | 218 +-------------------------- > drivers/net/virtio/virtio_rxtx.h | 9 -- > drivers/net/virtio/virtqueue.h | 105 +------------ > 6 files changed, 359 insertions(+), 330 deletions(-) > create mode 100644 drivers/net/virtio/virtio_cvq.c > create mode 100644 drivers/net/virtio/virtio_cvq.h >=20 > -- > 2.38.1 Reviewed-by: Chenbo Xia