aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/generated/devlink-user.c
diff options
context:
space:
mode:
authorXuan Zhuo <[email protected]>2023-10-10 03:11:18 +0000
committerMichael S. Tsirkin <[email protected]>2023-10-18 15:30:12 +0000
commit061b39fdfe7fd98946e67637213bcbb10a318cca (patch)
tree6303d8d302612eb12b7c6125661ba4312f50e5fc /tools/net/ynl/generated/devlink-user.c
parentvirtio-crypto: handle config changed by work queue (diff)
downloadkernel-061b39fdfe7fd98946e67637213bcbb10a318cca.tar.gz
kernel-061b39fdfe7fd98946e67637213bcbb10a318cca.zip
virtio_pci: fix the common cfg map size
The function vp_modern_map_capability() takes the size parameter, which corresponds to the size of virtio_pci_common_cfg. As a result, this indicates the size of memory area to map. Now the size is the size of virtio_pci_common_cfg, but some feature(such as the _F_RING_RESET) needs the virtio_pci_modern_common_cfg, so this commit changes the size to the size of virtio_pci_modern_common_cfg. Cc: [email protected] Fixes: 0b50cece0b78 ("virtio_pci: introduce helper to get/set queue reset") Signed-off-by: Xuan Zhuo <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Jason Wang <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions