aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/qed/qed_if.h
diff options
context:
space:
mode:
authorsudarsana.kalluru@cavium.com <sudarsana.kalluru@cavium.com>2017-04-20 22:31:20 -0700
committerDavid S. Miller <davem@davemloft.net>2017-04-24 12:19:56 -0400
commit49632b5822ea2af0e9531f8d20dcd5fb786093a9 (patch)
tree899010ff8cdf4aa65c0a1d3166878fa09fab6beb /include/linux/qed/qed_if.h
parentqed: Support dcbnl IEEE selector field. (diff)
downloadlinux-dev-49632b5822ea2af0e9531f8d20dcd5fb786093a9.tar.xz
linux-dev-49632b5822ea2af0e9531f8d20dcd5fb786093a9.zip
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 '')
-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;
};