aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/if_bonding.h
diff options
context:
space:
mode:
authorAndy Roulin <aroulin@cumulusnetworks.com>2019-12-26 05:41:57 -0800
committerDavid S. Miller <davem@davemloft.net>2019-12-26 13:09:37 -0800
commitc1e469902640ed0a82d0b8df5951199c17a49e3c (patch)
treeb5a33e7d240622682f2c754b31dbe2267453003f /include/uapi/linux/if_bonding.h
parentsctp: move trace_sctp_probe_path into sctp_outq_sack (diff)
downloadlinux-dev-c1e469902640ed0a82d0b8df5951199c17a49e3c.tar.xz
linux-dev-c1e469902640ed0a82d0b8df5951199c17a49e3c.zip
bonding: rename AD_STATE_* to LACP_STATE_*
As the LACP actor/partner state is now part of the uapi, rename the 3ad state defines with LACP prefix. The LACP prefix is preferred over BOND_3AD as the LACP standard moved to 802.1AX. Fixes: 826f66b30c2e3 ("bonding: move 802.3ad port state flags to uapi") Signed-off-by: Andy Roulin <aroulin@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--include/uapi/linux/if_bonding.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/uapi/linux/if_bonding.h b/include/uapi/linux/if_bonding.h
index 6829213a54c5..45f3750aa861 100644
--- a/include/uapi/linux/if_bonding.h
+++ b/include/uapi/linux/if_bonding.h
@@ -96,14 +96,14 @@
#define BOND_XMIT_POLICY_ENCAP34 4 /* encapsulated layer 3+4 */
/* 802.3ad port state definitions (43.4.2.2 in the 802.3ad standard) */
-#define AD_STATE_LACP_ACTIVITY 0x1
-#define AD_STATE_LACP_TIMEOUT 0x2
-#define AD_STATE_AGGREGATION 0x4
-#define AD_STATE_SYNCHRONIZATION 0x8
-#define AD_STATE_COLLECTING 0x10
-#define AD_STATE_DISTRIBUTING 0x20
-#define AD_STATE_DEFAULTED 0x40
-#define AD_STATE_EXPIRED 0x80
+#define LACP_STATE_LACP_ACTIVITY 0x1
+#define LACP_STATE_LACP_TIMEOUT 0x2
+#define LACP_STATE_AGGREGATION 0x4
+#define LACP_STATE_SYNCHRONIZATION 0x8
+#define LACP_STATE_COLLECTING 0x10
+#define LACP_STATE_DISTRIBUTING 0x20
+#define LACP_STATE_DEFAULTED 0x40
+#define LACP_STATE_EXPIRED 0x80
typedef struct ifbond {
__s32 bond_mode;