Re: [PATCH v3 02/11] driver/pci: Get next capability without passing caps

2025-04-22 Thread Chen, Jiqian
On 2025/4/22 23:59, Jan Beulich wrote: > On 21.04.2025 08:18, Jiqian Chen wrote: >> Modify function pci_find_next_cap_ttl to support returning position >> of next capability when size "n" is zero. >> >> That can help caller to get next capability offset if caller just >> has a information of curren

Re: [PATCH v3 02/11] driver/pci: Get next capability without passing caps

2025-04-22 Thread Jan Beulich
On 21.04.2025 08:18, Jiqian Chen wrote: > Modify function pci_find_next_cap_ttl to support returning position > of next capability when size "n" is zero. > > That can help caller to get next capability offset if caller just > has a information of current capability offset. > > That will be used i

[PATCH v3 02/11] driver/pci: Get next capability without passing caps

2025-04-20 Thread Jiqian Chen
Modify function pci_find_next_cap_ttl to support returning position of next capability when size "n" is zero. That can help caller to get next capability offset if caller just has a information of current capability offset. That will be used in a follow-on change. Signed-off-by: Jiqian Chen ---