Skip to content

Commit c8e1aab

Browse files
authored
Merge pull request #680 from Lorisy/dev
对于LACP模式下的bond功能,LACP的协商报文驱动默认加入ring队列,但是不会消费,可以使用单独的队列来做lacp的协商
2 parents c1d64d8 + f614f30 commit c8e1aab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/ff_dpdk_if.c

+3
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,9 @@ init_port_start(void)
577577
struct ff_port_cfg *pconf = &ff_global_cfg.dpdk.port_cfgs[u_port_id];
578578
uint16_t nb_queues = pconf->nb_lcores;
579579

580+
if (pconf->nb_slaves > 0) {
581+
rte_eth_bond_8023ad_dedicated_queues_enable(u_port_id);
582+
}
580583
for (j=0; j<=pconf->nb_slaves; j++) {
581584
if (j < pconf->nb_slaves) {
582585
port_id = pconf->slave_portid_list[j];

0 commit comments

Comments
 (0)