projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79de65e
)
vdpa/vdpa_sim: Configure max supported virtqueues
author
Eli Cohen
<elic@nvidia.com>
Wed, 5 Jan 2022 11:46:44 +0000
(13:46 +0200)
committer
Michael S. Tsirkin
<mst@redhat.com>
Fri, 14 Jan 2022 23:50:54 +0000
(18:50 -0500)
Configure max supported virtqueues on the management device.
Signed-off-by: Eli Cohen <elic@nvidia.com>
Link:
https://lore.kernel.org/r/20220105114646.577224-13-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/vdpa/vdpa_sim/vdpa_sim_net.c
patch
|
blob
|
history
diff --git
a/drivers/vdpa/vdpa_sim/vdpa_sim_net.c
b/drivers/vdpa/vdpa_sim/vdpa_sim_net.c
index
76dd24a
..
46aabc7
100644
(file)
--- 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)