be2net: ignore get/set profile FW cmd failures
authorSathya Perla <sathya.perla@emulex.com>
Fri, 1 Aug 2014 12:17:30 +0000 (17:47 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Aug 2014 22:59:17 +0000 (15:59 -0700)
commitd3d183126de8e100b003d09b64c6ec4b1c93abfc
tree7cb5eb55aeb76074a49c1fe22d8c1fd992593ec2
parent7e32aa4d8cc075e5109170ae8c43be550cebb14a
be2net: ignore get/set profile FW cmd failures

Old versions of BE3 FW may not support cmds to re-provision (and hence
optimize) resources/queues in SR-IOV config. Do not treat this FW cmd
failure as fatal and fail the function initialization. Instead, just
enable SR-IOV with the resources provided by the FW.

Prior to the "create optimal number of queues on SR-IOV config" patch
such failures were ignored.
Fixes: bec84e6b2 ("create optimal number of queues on SR-IOV config")
Reported-by: Eduardo Habkost <ehabkost@redhat.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_main.c