]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2016 17:59:19 +0000 (13:59 -0400)
commit7bda49374460a849ec038f4ffd23a211c027d1e3
tree6f85663d26b3f977fd8eb6d1c3c5b72f78adbe64
parent3b58c52251302a7e4ae2d35e4ca5220ec2f07bec
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>
drivers/net/ethernet/qlogic/qed/qed_sriov.c