be2net: avoid SRIOV config for BE2 chip
authorVasundhara Volam <vasundhara.volam@emulex.com>
Thu, 17 Jul 2014 10:50:30 +0000 (16:20 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2014 23:38:15 +0000 (16:38 -0700)
commit962bcb750b47ef0c8d28cc217ec22b4e44413565
treebb9ea13b07602fe60d36a80c70bda8029e1eb748
parentd3518e215af9545eeac1046eec84cde525bae2a5
be2net: avoid SRIOV config for BE2 chip

As SRIOV is not supported on BE2 chip, avoid calling be_get/set_sriov_config()
for BE2 chip.

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