summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qlogic/qed/qed_dcbx.h
diff options
context:
space:
mode:
authorSudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>2017-05-29 09:53:06 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-30 12:07:01 -0400
commitdfc268f6c1ac485b12923059f9fac55ec0522bb7 (patch)
tree07d1e90b838758ced5326c01f2c946d535ab3e07 /drivers/net/ethernet/qlogic/qed/qed_dcbx.h
parent05930d18c8240482d6332c57b4aba87e846444c9 (diff)
qed: Correct DCBx update scheme
Instead of using a boolean value that propagates to FW configuration, use the proper firmware HSI values. Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_dcbx.h')
-rw-r--r--drivers/net/ethernet/qlogic/qed/qed_dcbx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_dcbx.h b/drivers/net/ethernet/qlogic/qed/qed_dcbx.h
index 414e26268f3a..5feb90e049e0 100644
--- a/drivers/net/ethernet/qlogic/qed/qed_dcbx.h
+++ b/drivers/net/ethernet/qlogic/qed/qed_dcbx.h
@@ -52,7 +52,7 @@ enum qed_mib_read_type {
struct qed_dcbx_app_data {
bool enable; /* DCB enabled */
- bool update; /* Update indication */
+ u8 update; /* Update indication */
u8 priority; /* Priority */
u8 tc; /* Traffic Class */
};