diff options
author | Roopa Prabhu <roprabhu@cisco.com> | 2011-09-22 07:44:38 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-27 09:10:24 +0400 |
commit | 889d13f53cf9d741398637b6e8e578c65bb792e8 (patch) | |
tree | 9e87db0a201131d272cd18f5bfd24743eddb90de /drivers/net/ethernet/cisco/enic/enic.h | |
parent | 8749b427f213e14303dfef4c1b9770f05f67916d (diff) | |
download | linux-889d13f53cf9d741398637b6e8e578c65bb792e8.tar.xz |
enic: Helper code for SRIOV proxy commands
This patch adds helper functions to use PF as proxy for SRIOV VF firmware
commands.
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: Sujith Sankar <ssujith@cisco.com>
Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: David Wang <dwang2@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cisco/enic/enic.h')
-rw-r--r-- | drivers/net/ethernet/cisco/enic/enic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cisco/enic/enic.h b/drivers/net/ethernet/cisco/enic/enic.h index 13ff78e5a582..8c5cfb53b178 100644 --- a/drivers/net/ethernet/cisco/enic/enic.h +++ b/drivers/net/ethernet/cisco/enic/enic.h @@ -129,5 +129,6 @@ static inline struct device *enic_get_dev(struct enic *enic) void enic_reset_addr_lists(struct enic *enic); int enic_sriov_enabled(struct enic *enic); +int enic_is_valid_vf(struct enic *enic, int vf); #endif /* _ENIC_H_ */ |