aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorVasundhara Volam <vasundhara.volam@emulex.com>2015-03-04 00:44:34 -0500
committerDavid S. Miller <davem@davemloft.net>2015-03-04 15:58:37 -0500
commitace40aff3cee8a82c39375761ea65cc748aa1623 (patch)
tree797e46c5813a3febb4fef0323faf9a43472485be /net/switchdev/switchdev.c
parentf285873841299e027a6159dc3d3af0d0caf578d9 (diff)
downloadlinux-ace40aff3cee8a82c39375761ea65cc748aa1623.tar.gz
linux-ace40aff3cee8a82c39375761ea65cc748aa1623.tar.bz2
linux-ace40aff3cee8a82c39375761ea65cc748aa1623.zip
be2net: implement .sriov_configure() PCI callback
This patch implements the .sriov_configure() PCI method to allow for runtime enabling/disabling of VFs. The module param "num_vfs" is now deprecated. At the time of driver load the PF-pool resources are allocated to the PF. When the user enables VFs, the resources are then re-distributed across PFs and VFs based on the number of VFs enabled. Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com> Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions