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 27D5642BA9; Fri, 26 May 2023 10:58:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EC56840EE7; Fri, 26 May 2023 10:58:48 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 4392440A89 for ; Fri, 26 May 2023 10:58:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1685091526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9Vjn+zH/zGVKhAqPOirkOUh9mb3l3D7WSku+jQyvqNQ=; b=iKyaWkyPiP93S3tn00UHwysAsmACQlYv0MkAcIs3UTexA5gy51dGz1mjVnRmzyNddtuOJq qfxIfcjXK2VISwcwA9bg/c6SvsTrAdga41H7RQ0J89o4YwnKc9zTJutx4pNWQswBD4zgdg xfm1JxOQ+kUmovGsbA3tPleTd8rD9Cg= Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-325-ftFvalRfNYqZqd1rjkb2zg-1; Fri, 26 May 2023 04:58:45 -0400 X-MC-Unique: ftFvalRfNYqZqd1rjkb2zg-1 Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-2534c59505aso789327a91.3 for ; Fri, 26 May 2023 01:58:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685091524; x=1687683524; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9Vjn+zH/zGVKhAqPOirkOUh9mb3l3D7WSku+jQyvqNQ=; b=EJZ/MXCDAVwodGgEIKdR7yCjhcf/TuneXiY0j5XxXxnCHEWd70wd6760Zoq+IXwMi0 62m06HgSoXvlBRqZ0+pkUIAxaASmSTdNRPLJuPbDgbYrd6orWeR5+Mhhjsd3cPgBLKx1 krfAFQ/qNZL6fPvjhSF7exPDixZYGrOzSouhDtBZTZfbqorkU1ax3pfYWEyJoI+5H6s5 IlbsjrKQQCn3WFRjzb94fWG7HqGPP5foumr+X2UIhgJtwLAw3fxQhbtT/4yp+kp/xmtp EpoQsbgRYu5uEZ/ou4BN4HSpcantOkKtThmrSxqQqRFggpNoBUcBO0cQ1E1sE3b+Z9c4 ICCQ== X-Gm-Message-State: AC+VfDyyA8yC3ilPqmI2nKPv3ybWa4FBcsa0JljsvW6L5rZ69OszkI2g 3R41BoNiumVKQICz7nGD8tyTpDtoS2Ff5k1gZ30PLN134zFspMYO+UgBkZ+nd8oUJmcsXitFOXa p/Z97ue1PN1PWoF/HeKQ= X-Received: by 2002:a17:90a:6396:b0:255:614a:7fae with SMTP id f22-20020a17090a639600b00255614a7faemr1637632pjj.20.1685091524578; Fri, 26 May 2023 01:58:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4EuC41JHoL41lLasEKJyp7COo39ThiTkYsZoSubwJMLuuktr2sR2z+fg1OpBuAnKMcqHIP/HFKIt+A3fNXw80= X-Received: by 2002:a17:90a:6396:b0:255:614a:7fae with SMTP id f22-20020a17090a639600b00255614a7faemr1637611pjj.20.1685091524288; Fri, 26 May 2023 01:58:44 -0700 (PDT) MIME-Version: 1.0 References: <20230525162551.70359-1-maxime.coquelin@redhat.com> <20230525162551.70359-16-maxime.coquelin@redhat.com> In-Reply-To: <20230525162551.70359-16-maxime.coquelin@redhat.com> From: David Marchand Date: Fri, 26 May 2023 10:58:33 +0200 Message-ID: Subject: Re: [PATCH v3 15/28] vhost: add API to set max queue pairs To: Maxime Coquelin Cc: dev@dpdk.org, chenbo.xia@intel.com, mkp@redhat.com, fbl@redhat.com, jasowang@redhat.com, cunming.liang@intel.com, xieyongji@bytedance.com, echaudro@redhat.com, eperezma@redhat.com, amorenoz@redhat.com, lulu@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Thu, May 25, 2023 at 6:27=E2=80=AFPM Maxime Coquelin wrote: > diff --git a/doc/guides/prog_guide/vhost_lib.rst b/doc/guides/prog_guide/= vhost_lib.rst > index e8bb8c9b7b..cd4b109139 100644 > --- a/doc/guides/prog_guide/vhost_lib.rst > +++ b/doc/guides/prog_guide/vhost_lib.rst > @@ -334,6 +334,10 @@ The following is an overview of some key Vhost API f= unctions: > Clean DMA vChannel finished to use. After this function is called, > the specified DMA vChannel should no longer be used by the Vhost libra= ry. > > +* ``rte_vhost_driver_set_max_queue_num(path, max_queue_pairs)`` > + > + Set the maximum number of queue pairs supported by the device. > + > Vhost-user Implementations > -------------------------- > > diff --git a/doc/guides/rel_notes/release_23_07.rst b/doc/guides/rel_note= s/release_23_07.rst > index a9b1293689..fa889a5ee7 100644 > --- a/doc/guides/rel_notes/release_23_07.rst > +++ b/doc/guides/rel_notes/release_23_07.rst > @@ -55,6 +55,11 @@ New Features > Also, make sure to start the actual text at the margin. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > > +* **Added Vhost API to set maximum queue pairs supported **Added Vhost API to set maximum queue pairs supported.** > + > + Introduced ``rte_vhost_driver_set_max_queue_num()`` to be able to limi= t the > + maximum number of supported queue pairs, required for VDUSE support. > + > > Removed Items > ------------- --=20 David Marchand