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 96A3EA04FF; Tue, 24 May 2022 04:52:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 357F74068E; Tue, 24 May 2022 04:52:36 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 65C694067C for ; Tue, 24 May 2022 04:52:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653360753; x=1684896753; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=AtRa6COZPGtgJAnNQUFd7j5T31mxlcW3uDM/mCR1AdI=; b=aiFVQqHNYtLQUFvBFnHtMVZFGUfHeIaTtZNMbClIIDJuBsOz5GAQkSMH ALyuaZdMoTvot/4NZKPxFU/45av1bOrgQDmhztzkiWeimNiYLSg+bfzAB aZrB/mbaAQ+rlvsAYao65nnV7rW9xOl4e1hCPxQKgbrQ/YJeXjG1Ion6w 825unkfAHUG86j0L2r7ye7hPrArYylVxgeKNKZySxClHJ5o2KaqB9t7N3 /kiLdt8KLqs1jt/qSPqeROX44OQLe7bTsbnTiGD0GAh63qynEElWfKPgG DPFD6o3VjfQeN4wAIyEAjpzl8/+aKDMBsZH/4nwfb0mkrL/UWiva7IRuB w==; X-IronPort-AV: E=McAfee;i="6400,9594,10356"; a="270988221" X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="270988221" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 19:52:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,247,1647327600"; d="scan'208";a="703286935" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga004.jf.intel.com with ESMTP; 23 May 2022 19:52:23 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) 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.2308.27; Mon, 23 May 2022 19:52:23 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Mon, 23 May 2022 19:52:23 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.104) 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.2308.27; Mon, 23 May 2022 19:52:22 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GHQ1SASD+MEB3QkMtMhq0rr+q82LfUjWx38dm1BaQDKgo3g1yPnvu6HjXc9Vvh8UCkmKp7cAUZOPfdNf45atXHtVhMMCnl+wGECmtJ6NoHhf6sS3prfYTn3gp0HoIAgP95F4tuuUHaRcsnSRnn4XOKIDhhs2hFj4iciIipPvdrECInsuiAEpqb9OKzFvFahHyEw/uqbLMEpT3YJZbaSo2OMQ6lY66uP1sp3fRnSPdjwjTlTTwMhuLdyuuhn9YQzl4xW8QWh/rZXpsKLtgOJm5gcQ3uEGNX54Pz3y5nCcjIR9byhfjo2InESqJK/AbG83yt7GfRu9YtjqghkingHROg== 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=FOPu2/Y7Ez9G5a0z2fAwto9oZl3YC9HVv6O7lNCgNR4=; b=aMZ12RIfgowJF8KtaroSnJh3YLDKwmejPvlB9b3ECAw5yXUPIH6PH4d6WBOBTDNZhkKrFYFvcSg+0VC5SENsjRBfsnsWThSmKCF07pBUmNHnjopyMXK71NI0gC9WRse+jFwEvzM3kQ52GnDzWOdzY/XKw74jh03y+K3wI1dgIrIPOENzAJPvrzTvDt783G/Ff3GhGyl65Xh2r9g9gqf9UBhsAyUUpLj1KfNgdV9Wwq3er1ReTlsNF0SLoCaS9xKn6UXpQhCmSsTbC4eWdxTI0wc8fAmkW+yU2vvWcdJzE1Ywnb5OgSCeUcsOJgwTA5PqBNRfv5IHcZZAG4RQSyQMoA== 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 DM6PR11MB4754.namprd11.prod.outlook.com (2603:10b6:5:2ad::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.17; Tue, 24 May 2022 02:52:21 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::54e1:e802:17c8:93f]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::54e1:e802:17c8:93f%7]) with mapi id 15.20.5273.023; Tue, 24 May 2022 02:52:21 +0000 From: "Xia, Chenbo" To: "Pei, Andy" , "dev@dpdk.org" CC: "maxime.coquelin@redhat.com" , "Cao, Gang" , "Liu, Changpeng" , "Xu, Rosen" , "Xiao, QimaiX" Subject: RE: [PATCH v9 03/13] vhost: add vhost msg support for get/set config Thread-Topic: [PATCH v9 03/13] vhost: add vhost msg support for get/set config Thread-Index: AQHYbo8JJZ9+ks3euUOEYycRsYkw4K0tU0aA Date: Tue, 24 May 2022 02:52:21 +0000 Message-ID: References: <1643093258-47258-2-git-send-email-andy.pei@intel.com> <1653298524-232138-1-git-send-email-andy.pei@intel.com> <1653298524-232138-4-git-send-email-andy.pei@intel.com> In-Reply-To: <1653298524-232138-4-git-send-email-andy.pei@intel.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-office365-filtering-correlation-id: c182d9ad-30f5-41ee-fdfa-08da3d306c8a x-ms-traffictypediagnostic: DM6PR11MB4754:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: enb0Qk0J37Lo5lKIvF0dGHFPi490MjXVvuJKHZV6FLwBPJnLBtdyGmLEMjGWFPG0sc01qPwI1tO7ddIxvuW4df0mP7sR2TwN84AsdKIgSyNdDp+fHNdPALm+iRk/MROs1/jM+hXfL5khXacBimAoiOStYNEJcQte8MOyUtFw2jv+Sefg2TSi3bByN8CjXFrfWP8DExPpyUnrYqh5XK6CToV1OQ95lA9SWjdSMF3qRDUKGuOz7AMwr0ZunQaIRPvWRv8v2R59zTxJREqpDMymTC/p/wV0/A57r8o0jnjf5MP+LvCwTeF0fzfnujLys0yTacY30yMVD0gMaZzBoSUVQNudQE0GuhdFvSxwhL2UXlUOee2S+lAoLuzeAax5jKfO1d06cFHc9VOtlvZkWRvt/HfDz7vRBQm2Ny2XgPXQAtWPnNMpxjmD1s1wY1JoY1djRIruXX6ajvSBfuFkuGNsZipLqkyy/6XuvGoPtsFirq6k01Zz1Quknsf9wyOv9jGF1eqD8/PSCNsAJreg+1f8DUTWy3SHYUUyhg8gt2jgNoLKWYQbOl0rXTu16Epurce3w11AO/OC9I5DtgIy/8D13sstz05T34C1+42+A+Eo85Fo4z7HN41JLKbMEKmt+BzgPBN6W7d2OcY4mepTNkp+z/vUrMyorWRdLiRDpcJZi8LfYUpl1RCoyuPHH+f7KYlT 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:(13230001)(366004)(107886003)(7696005)(6506007)(53546011)(8936002)(55016003)(5660300002)(33656002)(2906002)(52536014)(66946007)(76116006)(66476007)(8676002)(4326008)(64756008)(66446008)(86362001)(54906003)(38070700005)(122000001)(82960400001)(83380400001)(71200400001)(38100700002)(26005)(9686003)(186003)(316002)(110136005)(508600001)(66556008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?SQjDHEF0VUWhpl4vWB/1xuzgqRSN4WOZCeXvwkasFLUdd8WXkFvQynlnxf+A?= =?us-ascii?Q?jdKWlAaJirmJsCeea1WLC6Kj0LDvPbxGO0jhDdgvgxs5iJ6WEVAgW6JaLtc+?= =?us-ascii?Q?exMO02YZ6E9Rm7Bxj7nhrsAc4ibtnPw+BZBHR3+VMJQW+o6YJWX5LBSK/OtK?= =?us-ascii?Q?opBek0xuR/licGAVVfRMSmx+VuaWZFlTxddVI3SqxXEJj8wZtmH1eddhXxQb?= =?us-ascii?Q?Wshq12FlW8VuJYpWckUK/ldo67V8HxMfOcA1hxopAc5VLJV7ptK2+pavHLgv?= =?us-ascii?Q?y2+KWuo26mfXQZNlsvyPHcpzlqjqyPFoFz8D5y13f7L3BKyvw+hKOCsBzpOB?= =?us-ascii?Q?r3UwkIzhXojLHiU3bLjxnRON7itiFIh5FdtwljlVYOunr8X/G1TCLzTQSjDT?= =?us-ascii?Q?D9UICS4rgrGtF7tLiXgkRnmrTOTt1aB9y3UCX0kjBTPHJS07vNAsb58XhWWg?= =?us-ascii?Q?7ryjZ1hctv/ZangkQczH3Dq+X2uVDnYctbjeLvZMcb9Jjp6Y8xoiUPJSPfp8?= =?us-ascii?Q?0Q6cdOxRh3rWsGSFf7B1bbt3fmd9RR6xV9MqzghzaS/6ZNz7fmnMxzjx40oc?= =?us-ascii?Q?MkffFOv9r+PmBycXOKW5d+jDhetOIZ3zqoDEoX4vt/CHF0OjTICZcFwUzv3j?= =?us-ascii?Q?8z9+j1EbNUjG7WBdqkWuT0nAARgiY9Z31+5BAn2487xPMgWRVsfjXNgaSzju?= =?us-ascii?Q?BRjQ9czrVIAUNjoEgV2wMOfHTTZDNzd59DUL/sy9CpB09cwolWVAGAW6KZB2?= =?us-ascii?Q?qoEFkPkm6jIQHzYRkCbg3mrOmyrdDfv9A1lIRdH2e5yfQ4hNCRn4hqYKlwhC?= =?us-ascii?Q?l+eIFv+RilFBLdh0zr/DGdZ5LJejlLJZpmBuTiI2XToluwcK5Stxyydsd1ph?= =?us-ascii?Q?r2HmDNgMI/4h4OFUK5Ctd7QxtKq7XBLkX1ow0xc8XRrexvkS8ixhvsD211+f?= =?us-ascii?Q?chhYjy1mJ9FYdgw2XtBba8LnxvkfMZfKqqsA2+1TIYx844kPMlyQelVFdobt?= =?us-ascii?Q?Hsu2N8RShquvyV9WFnUoxghr3tWfLXAYPkp8CcBS3L2ZU43ppkJlnpcQA5S3?= =?us-ascii?Q?lFgBdsY50oEpDK2CjgrCg5yL4/IAbNbuxXVdS23cV7F27trxprc6PFwLaZvm?= =?us-ascii?Q?dcrBfI9ToCdphSEeb5D9hAg29FGKur7ZpD/yHrQvAENyrlpen62Nsyhd5Ywa?= =?us-ascii?Q?Vv+WEgZopBFEiHPaDpNEJWJIPxKV6tEuSt1ntMRXBp/HtWtBH82Osq/n4ppy?= =?us-ascii?Q?o+VaLj1YjzbgY0AkJ1/djRdchOnMvQAnd7ReX0xX4xHNmL9V6vWfL2ifcFVv?= =?us-ascii?Q?oG+5zwx/TsKUWZdbMvHnz95o7wiyiXp5BuCkl290zvKGoHzm/C1U9Qm1BMKs?= =?us-ascii?Q?0q0GEPPh1UaMFMGYvNXZFdCn+FaoL8MTgz2wXYjIU50X24F+tMDUY1bv7nkn?= =?us-ascii?Q?ShHJeYNeWN4zDGlCIehYl/xZUTXOiPiZi5Rh21xBOgVjwVnj/MxmWgItrBPc?= =?us-ascii?Q?tQ7j2xbll503nYhQUKJwd4RCoMlFxWkOfaZlzrzO2kD1s82YDqG6AgkSwxoE?= =?us-ascii?Q?zVgoHPuwJge96Bh1LB4xHztyRe7WfSPOybiX6SS8jOG4+EjysU8nZlR61vkH?= =?us-ascii?Q?qeHHPC46wcirYxdLezWSiHjFv7JkG1e9LM/xsX39td4uMGHGAr/QFKvvjEup?= =?us-ascii?Q?rLyYQE8/W3QOKGI0oKC5T8zr808YJmPnPToa5E0FL5TPm7uQjJ7BVlZVsUT9?= =?us-ascii?Q?XoHq757R+g=3D=3D?= 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: c182d9ad-30f5-41ee-fdfa-08da3d306c8a X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2022 02:52:21.4494 (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: o8/dCZvJ5kOq2FjccZraSh88TmxxdG2IIS+sQusII/451jgNK0F/J7r8Ije+SVR8Ktvw97rvvq8mjsxu3flotA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4754 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: Pei, Andy > Sent: Monday, May 23, 2022 5:35 PM > To: dev@dpdk.org > Cc: Xia, Chenbo ; maxime.coquelin@redhat.com; Cao, > Gang ; Liu, Changpeng ; Xu, > Rosen ; Xiao, QimaiX > Subject: [PATCH v9 03/13] vhost: add vhost msg support for get/set config >=20 > Add support for VHOST_USER_GET_CONFIG and VHOST_USER_SET_CONFIG. > VHOST_USER_GET_CONFIG and VHOST_USER_SET_CONFIG message is only > supported by virtio blk VDPA device. >=20 > Signed-off-by: Andy Pei > --- > lib/vhost/vhost_user.c | 88 > ++++++++++++++++++++++++++++++++++++++++++++++++++ > lib/vhost/vhost_user.h | 13 ++++++++ > 2 files changed, 101 insertions(+) >=20 > diff --git a/lib/vhost/vhost_user.c b/lib/vhost/vhost_user.c > index 850848c..b37d814 100644 > --- a/lib/vhost/vhost_user.c > +++ b/lib/vhost/vhost_user.c > @@ -2468,6 +2468,92 @@ static int is_vring_iotlb(struct virtio_net *dev, > } >=20 > static int > +vhost_user_get_config(struct virtio_net **pdev, > + struct vhu_msg_context *ctx, > + int main_fd __rte_unused) > +{ > + struct virtio_net *dev =3D *pdev; > + struct rte_vdpa_device *vdpa_dev =3D dev->vdpa_dev; > + int ret =3D 0; > + > + if (validate_msg_fds(dev, ctx, 0) !=3D 0) > + return RTE_VHOST_MSG_RESULT_ERR; > + > + if (!vdpa_dev) { > + VHOST_LOG_CONFIG(ERR, > + "(%s) is not vDPA device!\n", > + dev->ifname); > + goto out; > + } In my understanding, this message is only targeted for vDPA device. Traditional SW back-end will not use it. So if vdpa_dev is not attached, you can just return RTE_VHOST_MSG_RESULT_ERR here. Another way is setting msg size to 0 and reply, but I think in this case. We should just break the msg handling. Besides, two lines are enough for the log above: + VHOST_LOG_CONFIG(ERR, "(%s) is not vDPA device!\n", + dev->ifname); Thanks, Chenbo > + > + if (vdpa_dev->ops->get_config) { > + ret =3D vdpa_dev->ops->get_config(dev->vid, > + ctx->msg.payload.cfg.region, > + ctx->msg.payload.cfg.size); > + if (ret !=3D 0) { > + ctx->msg.size =3D 0; > + VHOST_LOG_CONFIG(ERR, > + "(%s) get_config() return error!\n", > + dev->ifname); > + } > + } else { > + VHOST_LOG_CONFIG(ERR, "(%s) get_config() not supported!\n", > + dev->ifname); > + } > + > +out: > + return RTE_VHOST_MSG_RESULT_REPLY; > +} > + > +static int > +vhost_user_set_config(struct virtio_net **pdev, > + struct vhu_msg_context *ctx, > + int main_fd __rte_unused) > +{ > + struct virtio_net *dev =3D *pdev; > + struct rte_vdpa_device *vdpa_dev =3D dev->vdpa_dev; > + int ret =3D 0; > + > + if (validate_msg_fds(dev, ctx, 0) !=3D 0) > + return RTE_VHOST_MSG_RESULT_ERR; > + > + if (ctx->msg.payload.cfg.size > VHOST_USER_MAX_CONFIG_SIZE) { > + VHOST_LOG_CONFIG(ERR, > + "(%s) vhost_user_config size: %"PRIu32", should not be > larger than %d\n", > + dev->ifname, ctx->msg.payload.cfg.size, > + VHOST_USER_MAX_CONFIG_SIZE); > + goto out; > + } > + > + if (!vdpa_dev) { > + VHOST_LOG_CONFIG(ERR, > + "(%s) is not vDPA device!\n", > + dev->ifname); > + goto out; > + } > + > + if (vdpa_dev->ops->set_config) { > + ret =3D vdpa_dev->ops->set_config(dev->vid, > + ctx->msg.payload.cfg.region, > + ctx->msg.payload.cfg.offset, > + ctx->msg.payload.cfg.size, > + ctx->msg.payload.cfg.flags); > + if (ret) > + VHOST_LOG_CONFIG(ERR, > + "(%s) set_config() return error!\n", > + dev->ifname); > + } else { > + VHOST_LOG_CONFIG(ERR, "(%s) set_config() not supported!\n", > + dev->ifname); > + } > + > + return RTE_VHOST_MSG_RESULT_OK; > + > +out: > + return RTE_VHOST_MSG_RESULT_ERR; > +} > + > +static int > vhost_user_iotlb_msg(struct virtio_net **pdev, > struct vhu_msg_context *ctx, > int main_fd __rte_unused) > @@ -2686,6 +2772,8 @@ static int is_vring_iotlb(struct virtio_net *dev, > VHOST_MESSAGE_HANDLER(VHOST_USER_NET_SET_MTU, vhost_user_net_set_mtu, > false) \ > VHOST_MESSAGE_HANDLER(VHOST_USER_SET_SLAVE_REQ_FD, vhost_user_set_req_fd= , > true) \ > VHOST_MESSAGE_HANDLER(VHOST_USER_IOTLB_MSG, vhost_user_iotlb_msg, false) > \ > +VHOST_MESSAGE_HANDLER(VHOST_USER_GET_CONFIG, vhost_user_get_config, fals= e) > \ > +VHOST_MESSAGE_HANDLER(VHOST_USER_SET_CONFIG, vhost_user_set_config, fals= e) > \ > VHOST_MESSAGE_HANDLER(VHOST_USER_POSTCOPY_ADVISE, > vhost_user_set_postcopy_advise, false) \ > VHOST_MESSAGE_HANDLER(VHOST_USER_POSTCOPY_LISTEN, > vhost_user_set_postcopy_listen, false) \ > VHOST_MESSAGE_HANDLER(VHOST_USER_POSTCOPY_END, vhost_user_postcopy_end, > false) \ > diff --git a/lib/vhost/vhost_user.h b/lib/vhost/vhost_user.h > index ba1c5c7..c4d091e 100644 > --- a/lib/vhost/vhost_user.h > +++ b/lib/vhost/vhost_user.h > @@ -50,6 +50,8 @@ > VHOST_USER_NET_SET_MTU =3D 20, > VHOST_USER_SET_SLAVE_REQ_FD =3D 21, > VHOST_USER_IOTLB_MSG =3D 22, > + VHOST_USER_GET_CONFIG =3D 24, > + VHOST_USER_SET_CONFIG =3D 25, > VHOST_USER_CRYPTO_CREATE_SESS =3D 26, > VHOST_USER_CRYPTO_CLOSE_SESS =3D 27, > VHOST_USER_POSTCOPY_ADVISE =3D 28, > @@ -123,6 +125,16 @@ > uint16_t queue_size; > } VhostUserInflight; >=20 > +#define VHOST_USER_MAX_CONFIG_SIZE 256 > + > +/** Get/set config msg payload */ > +struct vhost_user_config { > + uint32_t offset; > + uint32_t size; > + uint32_t flags; > + uint8_t region[VHOST_USER_MAX_CONFIG_SIZE]; > +}; > + > typedef struct VhostUserMsg { > union { > uint32_t master; /* a VhostUserRequest value */ > @@ -146,6 +158,7 @@ > VhostUserCryptoSessionParam crypto_session; > VhostUserVringArea area; > VhostUserInflight inflight; > + struct vhost_user_config cfg; > } payload; > /* Nothing should be added after the payload */ > } __rte_packed VhostUserMsg; > -- > 1.8.3.1