summaryrefslogtreecommitdiff
path: root/include/linux/qed/qed_if.h
diff options
context:
space:
mode:
authorsudarsana.kalluru@cavium.com <sudarsana.kalluru@cavium.com>2017-04-21 08:31:20 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-24 19:19:56 +0300
commit49632b5822ea2af0e9531f8d20dcd5fb786093a9 (patch)
tree899010ff8cdf4aa65c0a1d3166878fa09fab6beb /include/linux/qed/qed_if.h
parent05a79f925d7494a7a9a72d25943a3541b1c54066 (diff)
downloadlinux-49632b5822ea2af0e9531f8d20dcd5fb786093a9.tar.xz
qed: Add support for static dcbx.
The patch adds driver support for static/local dcbx mode. In this mode adapter brings up the dcbx link with locally configured parameters instead of performing the dcbx negotiation with the peer. The feature is useful when peer device/switch doesn't support dcbx. 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 'include/linux/qed/qed_if.h')
-rw-r--r--include/linux/qed/qed_if.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/qed/qed_if.h b/include/linux/qed/qed_if.h
index d44933a058ee..9f966be89510 100644
--- a/include/linux/qed/qed_if.h
+++ b/include/linux/qed/qed_if.h
@@ -144,6 +144,7 @@ struct qed_dcbx_operational_params {
bool enabled;
bool ieee;
bool cee;
+ bool local;
u32 err;
};