]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Allow more than 16 VFs
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Sun, 15 May 2016 11:48:08 +0000 (14:48 +0300)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 8 Jul 2016 19:29:48 +0000 (12:29 -0700)
commit196289c110d7d9a464dcd60e2a608c8a19992fdc
treeedf27f50b3f72f8114faa5c72b4c52956ff4243b
parent69fbf3589d53bff77a3ef5db54144fdad6b6fde3
qed: Allow more than 16 VFs

In multi-function modes, PFs are currently limited to using 16 VFs -
But that limitation would also currently apply in case there's a single
PCI function exposed, where no such restriction should have existed.

This lifts the restriction for the default mode; User should be able
to start the maximum number of VFs as appear in the PCI config space.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Orabug: 23732603
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_sriov.c