Re: [PATCH v3 05/19] iommufd/selftest: Expand mock_domain with dev_flags

Jason Gunthorpe
2023-10-13T16:02:57Z

On Sat, Sep 23, 2023 at 02:24:57AM +0100, Joao Martins wrote:

> @@ -56,6 +61,13 @@ struct iommu_test_cmd {
> /* out_idev_id is the standard iommufd_bind object */
> __u32 out_idev_id;
> } mock_domain;
> + struct {
> + __u32 out_stdev_id;
> + __u32 out_hwpt_id;
> + __u32 out_idev_id;
> + /* Expand mock_domain to set mock device flags */
> + __u32 dev_flags;
> + } mock_domain_flags;

I wonder if this is really needed? Did this change make the struct
bigger?

Jason