DPDK  16.11.11
Data Fields
port Struct Reference

#include <rte_eth_bond_8023ad_private.h>

Data Fields

uint8_t actor_state
 
struct port_params actor
 
uint8_t partner_state
 
struct port_params partner
 
uint16_t sm_flags
 
uint16_t aggregator_port_id
 
struct rte_mempoolmbuf_pool
 
struct rte_ringrx_ring
 
struct rte_ringtx_ring
 
volatile uint64_t rx_marker_timer
 

Detailed Description

Variables associated with each port (5.4.7 in 802.1AX documentation).

Examples:
distributor/main.c, dpdk_qat/main.c, ethtool/ethtool-app/ethapp.c, exception_path/main.c, ip_fragmentation/main.c, ip_pipeline/pipeline/pipeline_routing.c, ip_reassembly/main.c, ipv4_multicast/main.c, kni/main.c, l2fwd-crypto/main.c, l3fwd-acl/main.c, l3fwd-power/main.c, l3fwd-vf/main.c, l3fwd/main.c, load_balancer/config.c, load_balancer/init.c, load_balancer/runtime.c, multi_process/client_server_mp/mp_client/client.c, multi_process/client_server_mp/mp_server/main.c, multi_process/l2fwd_fork/main.c, multi_process/symmetric_mp/main.c, netmap_compat/bridge/bridge.c, netmap_compat/lib/compat_netmap.c, packet_ordering/main.c, performance-thread/l3fwd-thread/main.c, ptpclient/ptpclient.c, qos_sched/init.c, qos_sched/stats.c, rxtx_callbacks/main.c, skeleton/basicfwd.c, tep_termination/vxlan_setup.c, vhost/main.c, vhost_xen/main.c, vmdq/main.c, and vmdq_dcb/main.c.

Definition at line 114 of file rte_eth_bond_8023ad_private.h.

Field Documentation

uint8_t actor_state

The operational values of the Actor's state parameters. Bitmask of port states.

Definition at line 119 of file rte_eth_bond_8023ad_private.h.

struct port_params actor

The operational Actor's port parameters

Definition at line 122 of file rte_eth_bond_8023ad_private.h.

uint8_t partner_state

The operational value of the Actor's view of the current values of the Partner's state parameters. The Actor sets this variable either to the value received from the Partner in an LACPDU, or to the value of Partner_Admin_Port_State. Bitmask of port states.

Definition at line 130 of file rte_eth_bond_8023ad_private.h.

struct port_params partner

The operational Partner's port parameters

Definition at line 133 of file rte_eth_bond_8023ad_private.h.

uint16_t sm_flags

State machine flags

Definition at line 137 of file rte_eth_bond_8023ad_private.h.

uint16_t aggregator_port_id

Used aggregator port ID

Definition at line 147 of file rte_eth_bond_8023ad_private.h.

struct rte_mempool* mbuf_pool

Memory pool used to allocate rings

Definition at line 150 of file rte_eth_bond_8023ad_private.h.

struct rte_ring* rx_ring

Ring of LACP packets from RX burst function

Definition at line 153 of file rte_eth_bond_8023ad_private.h.

struct rte_ring* tx_ring

Ring of slow protocol packets (LACP and MARKERS) to TX burst function

Definition at line 156 of file rte_eth_bond_8023ad_private.h.

volatile uint64_t rx_marker_timer

Timer which is also used as mutex. If is 0 (not running) RX marker packet might be responded. Otherwise shall be dropped. It is zeroed in mode 4 callback function after expire.

Definition at line 161 of file rte_eth_bond_8023ad_private.h.


The documentation for this struct was generated from the following file: