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 8586D46CFD for ; Mon, 11 Aug 2025 15:10:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 236ED40DDC; Mon, 11 Aug 2025 15:10:33 +0200 (CEST) Received: from mx0a-00154904.pphosted.com (mx0a-00154904.pphosted.com [148.163.133.20]) by mails.dpdk.org (Postfix) with ESMTP id 38BE040668 for ; Wed, 30 Jul 2025 07:22:19 +0200 (CEST) Received: from pps.filterd (m0170393.ppops.net [127.0.0.1]) by mx0a-00154904.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 56TLb4QW018080 for ; Wed, 30 Jul 2025 01:22:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dell.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=smtpout1; bh=B PPEyRdq4dDZARGw8gvlFWmUp9bekRiFFEpVTbFNSgg=; b=F988Hh4JEBoq4Ffnm 3iHw6QBnlfv4CSPb97ugPT4yafhanBFE2obg6mI0LLKCzwEde/wBd6/iPgb/VX3G Pdd9DTAm1N2hAPKiGF2uEi3W3KMBUJPVVPWEMzVweQdS0TdzthMDVJoMkImP4SCU ufIV03t0qw9GguS69tQxPM/Oi3A0CMh7qPCpKbjmPsx5f8yBvm2xmtMI07Si7G1y grNxbxGyXqo4E0JbFxoOWV0eJeydkUcggEPcrPmWWhZC+O5Xe5i+aVT2nalbBk3R bglzRbuzLyXpqbgJtpQ9WllwUbHrHcaVoKMpWzVb0REXFSJoBOGBpFX//g+CLLFD TgTlg== Received: from mx0a-00154901.pphosted.com (mx0a-00154901.pphosted.com [67.231.149.39]) by mx0a-00154904.pphosted.com (PPS) with ESMTPS id 4876cf1gt3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 30 Jul 2025 01:22:18 -0400 (EDT) Received: from pps.filterd (m0371675.ppops.net [127.0.0.1]) by mx0a-00154901.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 56U3GoBd010106 for ; Wed, 30 Jul 2025 01:22:17 -0400 Received: from esapsmtplv03.us.dell.com (esapsmtplv03.us.dell.com [143.166.203.148]) by mx0a-00154901.pphosted.com (PPS) with ESMTPS id 4876c4c143-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 30 Jul 2025 01:22:17 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dell.com; i=@dell.com; q=dns/txt; s=smtpdev1; t=1753852937; x=1785388937; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BPPEyRdq4dDZARGw8gvlFWmUp9bekRiFFEpVTbFNSgg=; b=rLSRmIBcrXPikFnpcE6MnJfh5Dkg21x/QpLcwSXyYnUXt1A9u5udDjBo BJg7MZgq4wfyflulvIML2TShNj7Cq/0lPBe1XX0v1q/UGdUWxmyk53khJ Ny60N4MpPB2+iN9lCz3hcxKlpy7Y7do87rqqKhbuZKnx4xi12H4Z/bCaY XW7LV4LPJbQR3+5to47/wJq6cXuUuNgr69jD/vQ9nBRu0acFAnV5xP+J5 YzBAm1Lbyqe8lcfPBCDPqZgBmBGN5BOKEcXWq/unTgYxYHQFk11UTNgma FZBj6te4iMqy8/ZB6Who1iTcAkQhNUsEkZlA/WyY8NtXnNJcVP44KeRre g==; X-CSE-ConnectionGUID: TwSzXXK2SVq8Ph6XDdf/aw== X-CSE-MsgGUID: L4a6DXcTRJakSuJUZnHf9w== X-LoopCount0: from 10.215.64.31 X-MS-Exchange-CrossPremises-AuthAs: Internal Received: from mx2-adc.dell.com (HELO ieorr5-pvwed002.delllabs.net) ([10.215.64.31]) by esapsmtplv03.us.dell.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jul 2025 05:22:17 +0000 Received: from ieorr5-ppwem002.delllabs.net (100.64.0.133) by ieorr5-pvwed002.delllabs.net (10.215.64.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.27; Wed, 30 Jul 2025 00:23:07 -0500 Received: from ieorr5-pvwer002.delllabs.net (100.64.0.135) by ieorr5-ppwem002.delllabs.net (100.64.0.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.27; Wed, 30 Jul 2025 00:22:16 -0500 Received: from localhost (10.240.17.25) by smtprelay.delllabs.net (100.64.0.135) with Microsoft SMTP Server id 15.2.1544.14 via Frontend Transport; Wed, 30 Jul 2025 00:22:15 -0500 From: Pravin M Bathija To: CC: , Subject: [PATCH 2/3] PATCH 25.03.0: vhost_user: configure memory slots Date: Wed, 30 Jul 2025 05:22:08 +0000 Message-ID: <20250730052209.415483-3-pravin.bathija@dell.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250730052209.415483-1-pravin.bathija@dell.com> References: <20250730052209.415483-1-pravin.bathija@dell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-07-30_02,2025-07-28_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 mlxlogscore=688 priorityscore=1501 spamscore=0 adultscore=0 impostorscore=0 mlxscore=0 clxscore=1015 suspectscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2507300035 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNzMwMDAzNSBTYWx0ZWRfX96e7vniYgqz4 CQzAUsftfr+NlXdluLflIy7KP+aU9IGEeGcPlOw6W4NUoVcl6Jz60ZsIKoXlZw3G6wAbLeNSX+d ftgszpiDmyVzsOj1HORFlelsMT3lGxDo1UlhZakkLnHFGRD6ZQeXF6O1GeC73ADDihGFBj/Aech dF5vjf4gshJrLU4GlBoJs4EgVZlUpBN5Jp/8RoymBxHqNt/bcysuBIBwy9l/tiQp5yzCR8T6xCv 4fueujG4bMXaUY2UoTg7eM+NaJZ12iAMYwR+pgkR4InuN3Op7hIC4UhYUxPfzOkH0FiOm4AOISe ngIn7PkRQM89dZTk6xHKu+St796HxwTC1UaocHhhcRbXt44AOsPUF+kPAUyGFxCCtOLW/kHGY3b 7iBUDlHiwMdCB/TR7J4+oVcqIfsukwbhhFA/52NEY1dxJBJ2sgQWCtzD2XR5E9u44cjTjXog X-Proofpoint-GUID: Uzfj6Umfp7SRCF7w4JCnOb0T8cWxbxuL X-Proofpoint-ORIG-GUID: Uzfj6Umfp7SRCF7w4JCnOb0T8cWxbxuL X-Authority-Analysis: v=2.4 cv=SseQ6OO0 c=1 sm=1 tr=0 ts=6889ac0a cx=c_pps a=j0++y401J6f/BxNAf5EDow==:117 a=iGMIhCliR854E25UHWhNxg==:17 a=Wb1JkmetP80A:10 a=ke5jqHz-1hQA:10 a=iLNU1ar6AAAA:8 a=vhdcl8Btm4WQQZqW7OEA:9 a=gbU3OgOOxF9bX48Letew:22 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 impostorscore=0 mlxscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 adultscore=0 malwarescore=0 suspectscore=0 mlxlogscore=730 bulkscore=0 phishscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2507300035 X-Mailman-Approved-At: Mon, 11 Aug 2025 15:10:31 +0200 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org header definition to configure memory slots/regions Signed-off-by: Pravin M Bathija --- lib/vhost/rte_vhost.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h index 2f7c4c0080..a7f9700538 100644 --- a/lib/vhost/rte_vhost.h +++ b/lib/vhost/rte_vhost.h @@ -109,6 +109,10 @@ extern "C" { #define VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD 12 #endif +#ifndef VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS +#define VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS 15 +#endif + #ifndef VHOST_USER_PROTOCOL_F_STATUS #define VHOST_USER_PROTOCOL_F_STATUS 16 #endif -- 2.43.0