]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: Call be_vf_setup() even when VFs are enbaled from previous load
authorVasundhara Volam <vasundhara.volam@emulex.com>
Tue, 1 Oct 2013 10:29:56 +0000 (15:59 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2013 16:45:51 +0000 (12:45 -0400)
commitaf713d96d166fe926ec06aec40e9e9b68b729056
tree471ab33c3dc2cfdf26d5a054713b506097205d7d
parentcb584131dd1900226b9478c1afe24f7beb3f7fcd
be2net: Call be_vf_setup() even when VFs are enbaled from previous load

Re-define the sriov_want() macro to check for number of VFs that need
to be enabled in the current load of the driver or the number of VFs that
still remain enabled from the previous load (attached VFs cannot be disabled.)

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>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_main.c