commit | ff9ed19d263d9678394b6ac079abd68efb3c55c0 | [log] [tgz] |
---|---|---|
author | Kalesh Purayil <kalesh.purayil@avagotech.com> | Fri Jul 10 05:32:44 2015 -0400 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 10 23:24:29 2015 -0700 |
tree | 87ce90a203f8570318618cf4701119b5ba05d669 | |
parent | 145155e786ccee898f6ed665f6dd3bce7c14830f [diff] |
be2net: query FW to check if EVB is enabled The current code assumes that bridge functionality (EVB) in the adapter is enabled only when SR-IOV is enabled. This is not always true. This patch uses the GET_HSW_CONFIG FW cmd to query this from the FW. Signed-off-by: Kalesh AP <kalesh.purayil@avagotech.com> Signed-off-by: Sathya Perla <sathya.perla@avagotech.com> Signed-off-by: David S. Miller <davem@davemloft.net>