Re: [PATCH 1/2] switchtec: Fix false maximum supported PCIe function number issue

2019-04-09 Thread Logan Gunthorpe
On 2019-04-09 4:36 p.m., Bjorn Helgaas wrote: > Hi Wesley, > > On Mon, Apr 08, 2019 at 10:34:47PM +0800, Wesley Sheng wrote: >> The hardware supports up to 255 PFFs and the driver only supports 48, so >> this patch updates the driver to support them all. >> To be backward compatible, a new

Re: [PATCH 1/2] switchtec: Fix false maximum supported PCIe function number issue

2019-04-09 Thread Bjorn Helgaas
Hi Wesley, On Mon, Apr 08, 2019 at 10:34:47PM +0800, Wesley Sheng wrote: > The hardware supports up to 255 PFFs and the driver only supports 48, so > this patch updates the driver to support them all. > To be backward compatible, a new ioctl and corresponding data > structure are created, while

[PATCH 1/2] switchtec: Fix false maximum supported PCIe function number issue

2019-04-08 Thread Wesley Sheng
The hardware supports up to 255 PFFs and the driver only supports 48, so this patch updates the driver to support them all. To be backward compatible, a new ioctl and corresponding data structure are created, while keep the deprecated one. Signed-off-by: Wesley Sheng ---