On Mon, Dec 13, 2021 at 10:43 PM Eli Cohen <[email protected]> wrote:
>
> 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.
>
> Signed-off-by: Eli Cohen <[email protected]>
> -----
> v1 -> v2:
> 1. Fix to call vp_modern_get_driver_features() in
>    vp_vdpa_get_driver_features()
> 2. Improve calback function description
> ---

Acked-by: Jason Wang <[email protected]>

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Reply via email to