diff options
author | Sudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com> | 2016-05-17 06:44:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-17 12:29:34 -0400 |
commit | 39651abd28146fff2bfac63d68a7a56250a4aead (patch) | |
tree | 15716824ac5f57cb1d047efe4df82a9e474e7150 /drivers/net/ethernet/qlogic/qed/qed_sp.h | |
parent | ccf928249c92b04ec9527e97a7c6b2cd8cd9dc10 (diff) | |
download | linux-stable-39651abd28146fff2bfac63d68a7a56250a4aead.tar.gz linux-stable-39651abd28146fff2bfac63d68a7a56250a4aead.tar.bz2 linux-stable-39651abd28146fff2bfac63d68a7a56250a4aead.zip |
qed: add support for dcbx.
This patch adds the necessary driver support for Management Firmware to
configure the device/firmware with the dcbx results. Management Firmware
is responsible for communicating the DCBX and driving the negotiation,
but the driver has responsibility of receiving async notification and
configuring the results in hw/fw. This patch also adds the dcbx support for
future protocols (e.g., FCoE) as preparation to their imminent submission.
Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_sp.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_sp.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_sp.h b/drivers/net/ethernet/qlogic/qed/qed_sp.h index ab5549f4e5ea..ea4e9ce53e0a 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_sp.h +++ b/drivers/net/ethernet/qlogic/qed/qed_sp.h @@ -354,6 +354,19 @@ int qed_sp_pf_start(struct qed_hwfn *p_hwfn, enum qed_mf_mode mode, bool allow_npar_tx_switch); /** + * @brief qed_sp_pf_update - PF Function Update Ramrod + * + * This ramrod updates function-related parameters. Every parameter can be + * updated independently, according to configuration flags. + * + * @param p_hwfn + * + * @return int + */ + +int qed_sp_pf_update(struct qed_hwfn *p_hwfn); + +/** * @brief qed_sp_pf_stop - PF Function Stop Ramrod * * This ramrod is sent to close a Physical Function (PF). It is the last ramrod |