mirror of https://github.com/F-Stack/f-stack.git
对于LACP模式下的bond功能,LACP的协商报文驱动默认加入ring队列,但是不会消费,可以使用单独的队列来做lacp的协商
This commit is contained in:
parent
a093c79733
commit
1056bf23c3
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue