[PATCH v6 2/5] rust: pci: provide access to PCI Vendor values
John Hubbard
jhubbard at nvidia.com
Tue Aug 26 21:12:32 UTC 2025
On 8/26/25 2:00 PM, Danilo Krummrich wrote:
> On 8/26/25 10:58 PM, John Hubbard wrote:
>> I have no idea "where appropriate" is, here. These are not hot paths, and
>> the existing pci.rs methods such as Device::vendor_id() are not inlined,
>> and so my initial approach is to just not inline any of this...
>
> I think we can inline those functions that only consist out of a single
> constructor (i.e. Self {...}) or a single function call either way.
Got it, thanks for clarifying!
thanks,
--
John Hubbard
More information about the Nouveau
mailing list