linux/drivers/vdpa/vdpa_sim
Eli Cohen a64917bc2e vdpa: Provide interface to read driver features
Provide an interface to read the negotiated features. This is needed
when building the netlink message in vdpa_dev_net_config_fill().

Also fix the implementation of vdpa_dev_net_config_fill() to use the
negotiated features instead of the device features.

To make APIs clearer, make the following name changes to struct
vdpa_config_ops so they better describe their operations:

get_features -> get_device_features
set_features -> set_driver_features

Finally, add get_driver_features to return the negotiated features and
add implementation to all the upstream drivers.

Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Eli Cohen <elic@nvidia.com>
Link: https://lore.kernel.org/r/20220105114646.577224-2-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-01-14 18:50:53 -05:00
..
Makefile vdpa: add vdpa simulator for block device 2021-05-03 04:55:53 -04:00
vdpa_sim.c vdpa: Provide interface to read driver features 2022-01-14 18:50:53 -05:00
vdpa_sim.h vdpa_sim: use iova module to allocate IOVA addresses 2021-05-03 04:55:52 -04:00
vdpa_sim_blk.c vdpa: Enable user to set mac and mtu of vdpa device 2021-11-01 05:26:49 -04:00
vdpa_sim_net.c vdpa_sim_net: Enable user to set mac address and mtu 2021-11-01 05:26:49 -04:00