Skip to content

Commit 1056bf2

Browse files
Lorisyjfb8856606
authored andcommitted
对于LACP模式下的bond功能,LACP的协商报文驱动默认加入ring队列,但是不会消费,可以使用单独的队列来做lacp的协商
1 parent a093c79 commit 1056bf2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/ff_dpdk_if.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,9 @@ init_port_start(void)
576576
struct ff_port_cfg *pconf = &ff_global_cfg.dpdk.port_cfgs[u_port_id];
577577
uint16_t nb_queues = pconf->nb_lcores;
578578

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

0 commit comments

Comments
 (0)