From: Louis Peens
Sent: 19 April 2023 09:15
From: Xiaoyu Li xiaoyu.li@corigine.com
Before the referenced commit, if fewer interrupts are supported by hardware than requested, then pci_msix_vec_count() returned the former. However, after the referenced commit, an error is returned for this condition. This causes a regression in the NFP driver preventing probe from completing.
I believe the relevant change to the msix vector allocation function has been reverted. (Or at least, the over-zealous check of nvec removed.)
So this change to bound the number of interrupts isn't needed.
David
- Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)