]> 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)
commit083e4c1b8d05c899fa89de24ddb50cccfaf276ba
treedf7d569be5f9fb15777956edc4c6971ae0de86eb
parent9a1b350f10d1b4dec7dea3081745de70ba445fcb
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