]> git.baikalelectronics.ru Git - 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)
commit294b9005ad9ee12530f345c4c5e2a75172584cf6
treedf7d569be5f9fb15777956edc4c6971ae0de86eb
parent8408bed3c9e227e958e675d0e932f2794acd7958
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