DPDK  17.02.1
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:
examples/distributor/main.c, examples/ethtool/ethtool-app/ethapp.c, examples/exception_path/main.c, examples/ip_fragmentation/main.c, examples/ip_reassembly/main.c, examples/ipsec-secgw/ipsec-secgw.c, examples/ipv4_multicast/main.c, examples/kni/main.c, examples/l2fwd-cat/l2fwd-cat.c, examples/l2fwd-crypto/main.c, examples/l3fwd-acl/main.c, examples/l3fwd-power/main.c, examples/l3fwd-vf/main.c, examples/l3fwd/l3fwd_em.c, examples/l3fwd/l3fwd_lpm.c, examples/l3fwd/main.c, examples/load_balancer/config.c, examples/load_balancer/init.c, examples/load_balancer/runtime.c, examples/multi_process/client_server_mp/mp_client/client.c, examples/multi_process/client_server_mp/mp_server/main.c, examples/multi_process/symmetric_mp/main.c, examples/netmap_compat/bridge/bridge.c, examples/netmap_compat/lib/compat_netmap.c, examples/packet_ordering/main.c, examples/performance-thread/l3fwd-thread/main.c, examples/ptpclient/ptpclient.c, examples/qos_sched/init.c, examples/qos_sched/stats.c, examples/rxtx_callbacks/main.c, examples/server_node_efd/node/node.c, examples/server_node_efd/server/main.c, examples/skeleton/basicfwd.c, examples/tep_termination/vxlan_setup.c, examples/vhost/main.c, examples/vmdq/main.c, and examples/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: