Re: [dpdk-dev] [PATCH 4/7] vfio: Introduce VFIO_DEVICE_FEATURE ioctl and first user

2020-02-13 Thread Cornelia Huck
On Thu, 13 Feb 2020 10:39:57 -0700 Alex Williamson wrote: > On Thu, 13 Feb 2020 13:41:21 +0100 > Cornelia Huck wrote: > > > On Tue, 11 Feb 2020 16:05:51 -0700 > > Alex Williamson wrote: > > > +struct vfio_device_feature { > > > + __u32 argsz; > > > + __u32 flags; > > > +#define VFIO_DEVIC

Re: [dpdk-dev] [PATCH 4/7] vfio: Introduce VFIO_DEVICE_FEATURE ioctl and first user

2020-02-13 Thread Alex Williamson
On Thu, 13 Feb 2020 13:41:21 +0100 Cornelia Huck wrote: > On Tue, 11 Feb 2020 16:05:51 -0700 > Alex Williamson wrote: > > > The VFIO_DEVICE_FEATURE ioctl is meant to be a general purpose, device > > agnostic ioctl for setting, retrieving, and probing device features. > > This implementation pro

Re: [dpdk-dev] [PATCH 4/7] vfio: Introduce VFIO_DEVICE_FEATURE ioctl and first user

2020-02-13 Thread Cornelia Huck
On Tue, 11 Feb 2020 16:05:51 -0700 Alex Williamson wrote: > The VFIO_DEVICE_FEATURE ioctl is meant to be a general purpose, device > agnostic ioctl for setting, retrieving, and probing device features. > This implementation provides a 16-bit field for specifying a feature > index, where the data

[dpdk-dev] [PATCH 4/7] vfio: Introduce VFIO_DEVICE_FEATURE ioctl and first user

2020-02-11 Thread Alex Williamson
The VFIO_DEVICE_FEATURE ioctl is meant to be a general purpose, device agnostic ioctl for setting, retrieving, and probing device features. This implementation provides a 16-bit field for specifying a feature index, where the data porition of the ioctl is determined by the semantics for the given f