diff options
author | Sudarsana Reddy Kalluru <skalluru@marvell.com> | 2019-02-07 17:20:11 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-09 09:39:01 +0300 |
commit | df9c716deb76642d0077770bca7107a31568c113 (patch) | |
tree | 7fb0d1786691e394f7e9e3f31fd55149bbf5860b /drivers/net/ethernet/qlogic/qed/qed_mcp.h | |
parent | bc794e6e6146789ada9fb79765bf0f7fbf3a887a (diff) | |
download | linux-df9c716deb76642d0077770bca7107a31568c113.tar.xz |
qed: Add API for SmartAN query.
The patch adds driver interface to read the SmartAN capability from
management firmware.
Signed-off-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Michal Kalderon <mkalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_mcp.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_mcp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_mcp.h b/drivers/net/ethernet/qlogic/qed/qed_mcp.h index 6e1d72a669ae..2799e6741765 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_mcp.h +++ b/drivers/net/ethernet/qlogic/qed/qed_mcp.h @@ -1148,6 +1148,16 @@ void qed_mcp_resc_lock_default_init(struct qed_resc_lock_params *p_lock, struct qed_resc_unlock_params *p_unlock, enum qed_resc_lock resource, bool b_is_permanent); + +/** + * @brief - Return whether management firmware support smart AN + * + * @param p_hwfn + * + * @return bool - true if feature is supported. + */ +bool qed_mcp_is_smart_an_supported(struct qed_hwfn *p_hwfn); + /** * @brief Learn of supported MFW features; To be done during early init * |