1 #ifndef _IPXE_ETH_SLOW_H 2 #define _IPXE_ETH_SLOW_H 22 #define ETH_SLOW_SUBTYPE_LACP 1 25 #define ETH_SLOW_LACP_VERSION 1 28 #define ETH_SLOW_SUBTYPE_MARKER 2 31 #define ETH_SLOW_MARKER_VERSION 1 49 #define ETH_SLOW_TLV_TERMINATOR 0 52 #define ETH_SLOW_TLV_TERMINATOR_LEN 0 55 #define ETH_SLOW_TLV_LACP_ACTOR 1 58 #define ETH_SLOW_TLV_LACP_ACTOR_LEN \ 59 ( sizeof ( struct eth_slow_lacp_entity_tlv ) ) 62 #define ETH_SLOW_TLV_LACP_PARTNER 2 65 #define ETH_SLOW_TLV_LACP_PARTNER_LEN \ 66 ( sizeof ( struct eth_slow_lacp_entity_tlv ) ) 69 #define ETH_SLOW_TLV_LACP_COLLECTOR 3 72 #define ETH_SLOW_TLV_LACP_COLLECTOR_LEN \ 73 ( sizeof ( struct eth_slow_lacp_collector_tlv ) ) 76 #define ETH_SLOW_TLV_MARKER_REQUEST 1 79 #define ETH_SLOW_TLV_MARKER_REQUEST_LEN \ 80 ( sizeof ( struct eth_slow_marker_tlv ) ) 83 #define ETH_SLOW_TLV_MARKER_RESPONSE 2 86 #define ETH_SLOW_TLV_MARKER_RESPONSE_LEN \ 87 ( sizeof ( struct eth_slow_marker_tlv ) ) 139 #define LACP_SYSTEM_PRIORITY_MAX 0xffff 142 #define LACP_PORT_PRIORITY_MAX 0xff 148 #define LACP_STATE_ACTIVE 0x01 156 #define LACP_STATE_FAST 0x02 162 #define LACP_STATE_AGGREGATABLE 0x04 168 #define LACP_STATE_IN_SYNC 0x08 174 #define LACP_STATE_COLLECTING 0x10 180 #define LACP_STATE_DISTRIBUTING 0x20 186 #define LACP_STATE_DEFAULTED 0x40 192 #define LACP_STATE_EXPIRED 0x80 195 #define LACP_INTERVAL_FAST 1 198 #define LACP_INTERVAL_SLOW 30
struct eth_slow_marker_tlv marker
Marker information.
struct eth_slow_lacp lacp
LACP packet.
uint8_t reserved[3]
Reserved.
uint8_t system[ETH_ALEN]
Requester system.
LACP entity (actor or partner) TLV.
struct eth_slow_terminator_tlv terminator
Terminator.
struct eth_slow_lacp_collector_tlv collector
Collector information.
uint8_t reserved[90]
Reserved.
struct eth_slow_header header
Slow protocols header.
uint16_t max_delay
Maximum delay (in 10us increments)
uint8_t system[ETH_ALEN]
System identifier.
uint16_t port
Requester port.
struct eth_slow_header header
Slow protocols header.
struct eth_slow_header header
Slow protocols header.
struct eth_slow_terminator_tlv terminator
Terminator.
struct eth_slow_lacp_entity_tlv partner
Partner information.
uint8_t reserved[50]
Reserved.
uint16_t system_priority
System priority.
struct eth_slow_header __attribute__((packed))
uint32_t xact
Requester transaction ID.
uint8_t reserved[12]
Reserved.
struct eth_slow_marker marker
Marker packet.
uint16_t port_priority
Port priority.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
struct eth_slow_lacp_entity_tlv actor
Actor information.
uint16_t port
Port identifier.