]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
cxgb4: Enable SR-IOV configuration via PCI sysfs interface
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 14 Jun 2016 09:09:31 +0000 (14:39 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jun 2016 21:46:04 +0000 (14:46 -0700)
commitb6244201f4197860fa589d775285fe2b5e632545
treedf7d569be5f9fb15777956edc4c6971ae0de86eb
parentc5a8c0f3aa726db65b27481d284ca6c427c7a78f
cxgb4: Enable SR-IOV configuration via PCI sysfs interface

Implement callback in the driver for the new PCI bus driver
interface that allows the user to enable/disable SR-IOV
virtual functions in a device via the sysfs interface.

Deprecate module parameter used to configure SRIOV

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c