Jason Wang
2022-Jan-07 05:50 UTC
[PATCH v7 12/14] vdpa/vdpa_sim: Configure max supported virtqueues
? 2022/1/5 ??7:46, Eli Cohen ??:> Configure max supported virtqueues on the management device. > > Signed-off-by: Eli Cohen <elic at nvidia.com>Acked-by: Jason Wang <jasowang at redhat.com>> --- > drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/vdpa/vdpa_sim/vdpa_sim_net.c b/drivers/vdpa/vdpa_sim/vdpa_sim_net.c > index 76dd24abc791..46aabc73263a 100644 > --- a/drivers/vdpa/vdpa_sim/vdpa_sim_net.c > +++ b/drivers/vdpa/vdpa_sim/vdpa_sim_net.c > @@ -191,6 +191,7 @@ static struct vdpa_mgmt_dev mgmt_dev = { > .ops = &vdpasim_net_mgmtdev_ops, > .config_attr_mask = (1 << VDPA_ATTR_DEV_NET_CFG_MACADDR | > 1 << VDPA_ATTR_DEV_NET_CFG_MTU), > + .max_supported_vqs = VDPASIM_NET_VQ_NUM, > }; > > static int __init vdpasim_net_init(void)