]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
be2net: call ENABLE_VF cmd for Skyhawk-R too
authorVasundhara Volam <vasundhara.volam@emulex.com>
Tue, 1 Oct 2013 10:29:59 +0000 (15:59 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2013 16:45:52 +0000 (12:45 -0400)
commit0599863d35410ea65ceadcca87497985b371039a
tree19fc13d2c16cd67f9897b2deba77cc61fdfbebd4
parent30f3fe45493801c2db351153a4a1a15d05c0e9e2
be2net: call ENABLE_VF cmd for Skyhawk-R too

This cmd needs to be sent to FW when enabling VFs (currently used only
for Lancer.) Also, avoid calling the cmd when driver loads and finds that
VFs are already enabled from a previous load.

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