1 #ifndef _IPXE_ETH_SLOW_H 2 #define _IPXE_ETH_SLOW_H 21 #define ETH_SLOW_SUBTYPE_LACP 1 24 #define ETH_SLOW_LACP_VERSION 1 27 #define ETH_SLOW_SUBTYPE_MARKER 2 30 #define ETH_SLOW_MARKER_VERSION 1 48 #define ETH_SLOW_TLV_TERMINATOR 0 51 #define ETH_SLOW_TLV_TERMINATOR_LEN 0 54 #define ETH_SLOW_TLV_LACP_ACTOR 1 57 #define ETH_SLOW_TLV_LACP_ACTOR_LEN \ 58 ( sizeof ( struct eth_slow_lacp_entity_tlv ) ) 61 #define ETH_SLOW_TLV_LACP_PARTNER 2 64 #define ETH_SLOW_TLV_LACP_PARTNER_LEN \ 65 ( sizeof ( struct eth_slow_lacp_entity_tlv ) ) 68 #define ETH_SLOW_TLV_LACP_COLLECTOR 3 71 #define ETH_SLOW_TLV_LACP_COLLECTOR_LEN \ 72 ( sizeof ( struct eth_slow_lacp_collector_tlv ) ) 75 #define ETH_SLOW_TLV_MARKER_REQUEST 1 78 #define ETH_SLOW_TLV_MARKER_REQUEST_LEN \ 79 ( sizeof ( struct eth_slow_marker_tlv ) ) 82 #define ETH_SLOW_TLV_MARKER_RESPONSE 2 85 #define ETH_SLOW_TLV_MARKER_RESPONSE_LEN \ 86 ( sizeof ( struct eth_slow_marker_tlv ) ) 138 #define LACP_SYSTEM_PRIORITY_MAX 0xffff 141 #define LACP_PORT_PRIORITY_MAX 0xff 147 #define LACP_STATE_ACTIVE 0x01 155 #define LACP_STATE_FAST 0x02 161 #define LACP_STATE_AGGREGATABLE 0x04 167 #define LACP_STATE_IN_SYNC 0x08 173 #define LACP_STATE_COLLECTING 0x10 179 #define LACP_STATE_DISTRIBUTING 0x20 185 #define LACP_STATE_DEFAULTED 0x40 191 #define LACP_STATE_EXPIRED 0x80 194 #define LACP_INTERVAL_FAST 1 197 #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.