diff options
author | ae <ae@FreeBSD.org> | 2013-11-11 09:47:51 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2013-11-11 09:47:51 +0000 |
commit | 95353ffa2c79a2baf43fdb4fdfcf17c984d8214e (patch) | |
tree | 164eb32d3841fb979d04af0c6bb5c8a3f0d58508 /sys/net/if_media.h | |
parent | 4f116e38229e29d70ca206ba622f8394dcf6278c (diff) | |
download | FreeBSD-src-95353ffa2c79a2baf43fdb4fdfcf17c984d8214e.zip FreeBSD-src-95353ffa2c79a2baf43fdb4fdfcf17c984d8214e.tar.gz |
MFC r256689:
Use the same actor key for media types of the same speed.
PR: 176097
MFC r256832:
Add a note that lacp_compose_key() should be updated, when new media
types will be added.
Submitted by: melifaro
Approved by: re (hrs)
Diffstat (limited to 'sys/net/if_media.h')
-rw-r--r-- | sys/net/if_media.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h index 7d26f7a..1bb5cc7 100644 --- a/sys/net/if_media.h +++ b/sys/net/if_media.h @@ -153,7 +153,10 @@ uint64_t ifmedia_baudrate(int); #define IFM_40G_CR4 27 /* 40GBase-CR4 */ #define IFM_40G_SR4 28 /* 40GBase-SR4 */ #define IFM_40G_LR4 29 /* 40GBase-LR4 */ - +/* + * Please update ieee8023ad_lacp.c:lacp_compose_key() + * after adding new Ethernet media types. + */ /* note 31 is the max! */ #define IFM_ETH_MASTER 0x00000100 /* master mode (1000baseT) */ |