bnx2x: Control number of vfs dynamically
authorAriel Elior <ariele@broadcom.com>
Mon, 11 Mar 2013 05:17:46 +0000 (05:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Mar 2013 11:54:23 +0000 (07:54 -0400)
commit3c76feff68559bf9ec08d4d86abe57bc56a9847a
treeaf826ebde6b7f036fc916739cf87a47b5518446d
parent3ec9f9ca79757c54b12f87e51a6664ba1e597b17
bnx2x: Control number of vfs dynamically

1. Support sysfs interface for getting the maximal number of virtual functions
   of a given physical function.
2. Support sysfs interface for getting and setting the current number of
   virtual functions.

Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h