> -----Original Message----- > From: Pei, Andy <andy....@intel.com> > Sent: Thursday, October 13, 2022 4:45 PM > To: dev@dpdk.org > Cc: Xia, Chenbo <chenbo....@intel.com>; Xu, Rosen <rosen...@intel.com>; > Huang, Wei <wei.hu...@intel.com>; Cao, Gang <gang....@intel.com>; > maxime.coque...@redhat.com > Subject: [PATCH v4 6/8] vdpa/ifc: support dynamic enable/disable queue > > From: Huang Wei <wei.hu...@intel.com> > > Support dynamic enable or disable queue. > For front end, like QEMU, user can use ethtool to configure queue. > For example, "ethtool -L eth0 combined 3" to enable 3 queues pairs. > > Signed-off-by: Huang Wei <wei.hu...@intel.com> > Signed-off-by: Andy Pei <andy....@intel.com> > --- > drivers/vdpa/ifc/base/ifcvf.c | 100 > ++++++++++++++++++++++++++++++++++++++++++ > drivers/vdpa/ifc/base/ifcvf.h | 6 +++ > drivers/vdpa/ifc/ifcvf_vdpa.c | 93 ++++++++++++++++++++++++++++++++----- > -- > 3 files changed, 184 insertions(+), 15 deletions(-) >
Reviewed-by: Chenbo Xia <chenbo....@intel.com>