[dpdk-dev] About bond api lacp problem.

2016-04-18 Thread Andriy Berestovskyy
Hi, Basically, you have to make sure you call rte_eth_tx_burst() every 100 ms in your forwarding loop. Here is such an example: const uint64_t bond_tx_cycles = (rte_get_timer_hz() + MS_PER_S - 1) * 100 / MS_PER_S; uint64_t cur_bond_cycles, diff_cycles; uint64_t last_bond_tx_cycles = 0; /* Insid

[dpdk-dev] About bond api lacp problem.

2016-04-16 Thread yangbo
Hi, How to understand bond api comments: for LACP mode to work the rx/tx burst functions must be invoked at least once every 100ms, otherwise the out-of-band LACP messages will not be handled with the expected latency and this may cause the link status to be incorrectly marked as down or failu