对于LACP模式下的bond功能,LACP的协商报文驱动默认加入ring队列,但是不会消费,可以使用单独的队列来做lacp的协商

This commit is contained in:
Lorisy 2022-06-29 15:40:52 +08:00 committed by fengbojiang
parent a093c79733
commit 1056bf23c3
1 changed files with 3 additions and 0 deletions

View File

@ -576,6 +576,9 @@ init_port_start(void)
struct ff_port_cfg *pconf = &ff_global_cfg.dpdk.port_cfgs[u_port_id];
uint16_t nb_queues = pconf->nb_lcores;
if (pconf->nb_slaves > 0) {
rte_eth_bond_8023ad_dedicated_queues_enable(u_port_id);
}
for (j=0; j<=pconf->nb_slaves; j++) {
if (j < pconf->nb_slaves) {
port_id = pconf->slave_portid_list[j];