RE: [PATCH v2 2/7] vdpa: conditionally read STATUS in config space

2023-02-01 Thread Parav Pandit via Virtualization
> From: Si-Wei Liu > Sent: Tuesday, January 31, 2023 6:22 PM > > The spec says: > status only exists if VIRTIO_NET_F_STATUS is set > > Similar to MAC and MTU, vdpa_dev_net_config_fill() should read STATUS > conditionally depending on the feature bits. > > Signed-off-by: Si-Wei Liu >

[PATCH v2 2/7] vdpa: conditionally read STATUS in config space

2023-01-31 Thread Si-Wei Liu
The spec says: status only exists if VIRTIO_NET_F_STATUS is set Similar to MAC and MTU, vdpa_dev_net_config_fill() should read STATUS conditionally depending on the feature bits. Signed-off-by: Si-Wei Liu --- drivers/vdpa/vdpa.c | 20 +++- 1 file changed, 15 insertions(+),